A robot collision detection threshold updating method, device and storage medium

By establishing an envelope fitting model of joint torque error and motion state parameters, and automatically updating the threshold, it solves the problem of difficulty in setting the error boundary of robot collision detection, improves the accuracy and reliability of detection, and reduces the risk of false alarms.

CN114589694BActive Publication Date: 2024-09-03EFORT INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210210625.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2024-09-03
Estimated Expiration
2042-03-03

AI Technical Summary

Technical Problem

The existing technology makes it difficult to accurately set the collision detection error boundary when the robot's operating environment changes, resulting in false alarms and difficulty in ensuring detection reliability.

Method used

By obtaining joint torque errors and motion state parameters in continuous control cycles, an envelope fitting model of the upper and lower boundaries of the error is established, and the threshold is automatically updated to determine whether the robot has collided.

Benefits of technology

It achieves accurate collision detection under time-varying dynamics model parameters and changing motion conditions, avoids false alarms, improves detection sensitivity and reliability, and reduces the need for manual adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114589694B
    Figure CN114589694B
Patent Text Reader

Abstract

The present invention relates to the field of robot technology, specifically to a robot collision detection threshold update method, device and storage medium, the method comprising: sending a threshold update instruction through an instruction or a human-computer interaction interface; when the threshold is updated, obtaining each joint torque error and actual motion state parameter s within a series of continuous control cycles through a controller, and establishing an envelope fitting model E of the upper and lower boundaries of the error according to the joint torque error and the motion state parameter s; sending a threshold update stop instruction through an instruction or a human-computer interaction interface; sending a collision detection start instruction through an instruction or a human-computer interaction interface. The present invention overcomes the problems of decreased accuracy of torque prediction by the dynamic model and changes in prediction error boundaries caused by the time-varying nature of parameters in the dynamic model and changes in motion and load conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot technology, and in particular to a robot collision detection threshold updating method, device and storage medium. Background Art

[0002] Collision detection technology is one of the technical issues that has received widespread attention in the field of robotics. When a robot collides unexpectedly with the surrounding working environment, timely stopping or flexible adjustment can protect equipment and personnel, while also reducing the risk of robot damage. Industrial robots are different from collaborative robots and usually do not have joint torque sensors. Solutions based on vision, electronic skin, etc. also require the addition of additional sensing equipment. Therefore, the collision detection scheme based on motor current has high research value and broad application prospects. The collision detection scheme based on motor current usually needs to predict the joint torque of the robot in the actual motion state based on the robot dynamics model established in advance, and compare it with the actual torque estimated by the joint motor current. When the error between the two exceeds the set threshold, the robot is considered to have collided.

[0003] Due to changes in the robot's operating environment conditions, such as increased friction caused by temperature, different loads guided by the robot, or changing postures and different movement speeds and accelerations, the accuracy of joint torque estimation based on the robot's dynamics model will show different qualities.

[0004] Under this condition, it is very troublesome to set a suitable monitoring error boundary according to the joint torque prediction error, and it is very difficult to ensure the reliability of collision detection while avoiding false alarms as much as possible. Summary of the invention

[0005] In order to solve the problem that the error boundary of collision detection is difficult to set due to time-varying factors such as model inaccuracy and motion conditions during robot operation, and that a fixed threshold cannot guarantee the sensitivity and reliability of detection while avoiding false alarms as much as possible, the present invention proposes a robot collision detection threshold update method, device and storage medium.

[0006] The technical problem to be solved by the present invention is achieved by adopting the following technical solutions:

[0007] A robot collision detection threshold updating method comprises the following steps:

[0008] (1) Sending a threshold update instruction through an instruction or a human-computer interaction interface, if yes, proceeding to step (2), if no, proceeding to step (4);

[0009] (ii) When the threshold is updated, the controller obtains the torque errors of each joint and the actual motion state parameter s in a series of continuous control cycles, and establishes the envelope fitting model E of the upper and lower boundaries of the error according to the joint torque errors and the motion state parameter s;

[0010] (iii) sending a command to determine whether to stop updating the threshold value through an instruction or a human-computer interaction interface; if so, stopping the threshold update and storing the updated envelope fitting model E result; if not, returning to step (ii);

[0011] (iv) sending a command to determine whether to enable collision detection through a command or a human-computer interaction interface; if yes, substituting the current motion state parameter s of the joint into the envelope fitting model E in step (ii) to calculate the upper and lower boundary thresholds of the torque error at this time; if no, proceeding to step (vi);

[0012] (5) Compare the upper and lower boundary thresholds of the torque error obtained in step (4) with the joint torque prediction error values ​​of a single or multiple consecutive cycles to determine whether a collision occurs. If so, stop the robot or adjust the flexibility of the robot and proceed to step (6). If not, enter the next system cycle and return to step (4);

[0013] (vi) End.

[0014] Preferably, the motion state parameters in step (ii) include joint motion speed, acceleration, and position.

[0015] Preferably, the threshold of the upper boundary of the torque error in step (iii) is:

[0016] τ th+ =E + (S).

[0017] Preferably, the threshold of the lower boundary of the torque error in step (iii) is:

[0018] τ th -=E - (s).

[0019] Preferably, the steps for obtaining the joint torque prediction error value in step (five) are as follows:

[0020] (a) Estimation of joint torque target value by a method based on dynamic model;

[0021] (b) The joint torque prediction error value is obtained by subtracting the estimated joint torque target value from the actual joint torque value estimated based on the joint current.

[0022] Preferably, the joint torque target value in step (a) is:

[0023]

[0024] in, are the position, velocity and acceleration of the robot joints respectively.

[0025] Preferably, the joint torque prediction error value in step (b) is:

[0026] τ error =τ actual -τ nominal

[0027] Preferably, the determination formula for determining whether a collision occurs in step (V) is:

[0028]

[0029] Among them, τ static It is a static threshold with a certain margin.

[0030] A robot collision detection threshold updating device, comprising:

[0031] Memory for storing computer programs;

[0032] The processor is interconnected with the memory and is used to execute the computer program in the memory to implement the robot collision detection threshold updating method.

[0033] A robot collision detection threshold update storage medium is used to store a computer program, and the computer program is executed to implement a robot collision detection threshold update method.

[0034] The beneficial effects of the present invention are:

[0035] The present invention establishes an estimation model for the upper and lower boundaries of the error by utilizing the distribution correlation between the changes in the joint torque errors of the robot during actual production operations and the current motion state parameters of the robot, thereby overcoming the problems of decreased accuracy in predicting torque of the dynamic model and changes in the prediction error boundaries caused by the time-varying nature of the parameters in the dynamic model and changes in motion and load conditions. There is no need for manual experimental adjustment of the detection threshold, and an envelope model of the error boundary is automatically established based on the actual motion state parameters and joint torque error data on site, thereby ensuring the applicability of the collision detection function and the ease of use of the threshold adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The present invention is further described below in conjunction with the accompanying drawings and embodiments:

[0037] Figure 1 is a flow chart of the method of the present invention;

[0038] Figure 2 This is a schematic diagram of the automatic update result of the threshold value of the present invention;

[0039] Figure 3 It is a structural schematic diagram of the device in the present invention;

[0040] Figure 4 It is a schematic diagram of the structure of the storage medium in the present invention.

[0041] In the figure: 1. Memory; 2. Processor. DETAILED DESCRIPTION

[0042] In order to make the technical means, creative features, objectives and effects achieved by the present invention easier to understand, the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0043] like Figure 1 As shown, a robot collision detection threshold update method is divided into two stages: the threshold update stage and the collision detection stage. The threshold update stage includes:

[0044] First, a threshold update instruction is sent through an instruction or a human-computer interaction interface. If not, the collision detection stage is performed.

[0045] If so, when the threshold update is activated, the controller obtains the torque errors of each joint and the actual motion state parameter s in a series of continuous control cycles, and establishes the envelope fitting model E of the upper and lower boundaries of the error based on the joint torque error and the motion state parameter s. Figure 2 As shown, the envelope model of the upper and lower boundaries of the error is obtained by fitting the local upper and lower extreme values ​​of the joint torque prediction error under different joint motion speed segments.

[0046] Then, whether to stop the threshold update instruction is sent through the instruction or human-computer interaction interface. If so, the threshold update is stopped, and the updated envelope fitting model E result is stored in Figure 4 If not, return to the above acquisition process.

[0047] The motion state parameter s includes joint motion velocity, acceleration, and position. In addition, the envelope fitting model E in the present invention includes but is not limited to general fitting models (eg, piecewise straight line, Gaussian basis function, exponential function, Fourier series, etc.).

[0048] The upper boundary threshold of the torque error is obtained as:

[0049] τ th+ =E + (s);

[0050] The threshold of the lower boundary of the torque error is:

[0051] τ th-=E - (s).

[0052] The collision detection phase includes:

[0053] According to the instruction or the human-computer interaction interface, whether to start the collision detection instruction, if the instruction is to start the collision detection, then Figure 3 In the robot collision detection threshold updating device shown, the processor 2 will run the specified collision detection program and the implementation calculation of the envelope model of the upper and lower boundaries of the error after the threshold is updated. The dynamic model parameters on which the robot predicts the joint torque will be stored in the memory 1. During the collision detection process, the current motion state parameters of the joint, especially the joint motion speed, are brought into the mentioned error boundary envelope model to calculate the predicted values ​​of the upper and lower boundaries of the torque error at this time.

[0054] Specifically, in this stage, during the actual operation of the robot, the joint torque target value is estimated by a method based on a dynamic model (such as Newton-Euler, Lagrange method, generalized momentum, etc.):

[0055]

[0056] in, are the position, velocity and acceleration of the robot joints respectively.

[0057] The estimated joint torque target value τ nominal The actual value of the joint torque τ estimated based on the joint current actual The error value of the joint torque estimation can be obtained by making a difference:

[0058] τ error =τ actual -τ nominal .

[0059] By comparing the joint torque prediction error of a single or multiple consecutive cycles with the upper and lower threshold values ​​in this motion state, it can be determined whether a collision occurs:

[0060]

[0061] Among them, τ static A static threshold with a certain margin is set to avoid false alarm triggering caused by noise fluctuations in the signal.

[0062] When a collision is detected, in order to protect the robot and the operator or equipment, the robot will be urgently stopped or the flexibility of the robotic arm will be adjusted to reduce safety risks.

[0063] like Figure 3As shown, a robot collision detection threshold updating device comprises a memory 1 and a processor 2 which are connected to each other, wherein the memory 1 is used to store a computer program, and when the computer program is executed by the processor 2, it is used to implement the robot collision detection threshold updating method in the above-mentioned embodiment.

[0064] like Figure 4 As shown, a robot collision detection threshold update storage medium is used to store a computer program, and when the program is executed by the processor 2, it is used to implement the robot collision detection threshold update method in the above embodiment.

[0065] The present invention establishes an estimation model for the upper and lower boundaries of the error by utilizing the distribution correlation between the changes in the joint torque errors of the robot during actual production operations and the current motion state parameters of the robot, thereby overcoming the problems of decreased accuracy in predicting torque of the dynamic model and changes in the prediction error boundaries caused by the time-varying nature of the parameters in the dynamic model and changes in motion and load conditions. There is no need for manual experimental adjustment of the detection threshold, and an envelope model of the error boundary is automatically established based on the actual motion state parameters and joint torque error data on site, thereby ensuring the applicability of the collision detection function and the ease of use of the threshold adjustment.

[0066] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A robot collision detection threshold updating method, characterized in that: The following steps are involved: (1) Sending a threshold update instruction through a command or a human-computer interaction interface, if yes, proceeding to step (2), if no, proceeding to step (4); (ii) When the threshold is updated, the controller obtains the torque errors of each joint and the actual motion state parameter s in a series of continuous control cycles, and establishes the envelope fitting model E of the upper and lower boundaries of the error based on the joint torque errors and the motion state parameter s; (iii) sending a command to determine whether to stop updating the threshold value through a command or a human-computer interaction interface; if so, stopping the threshold value update and storing the updated envelope fitting model E result; if not, returning to step (ii); (iv) sending a command to determine whether to enable collision detection through a command or a human-computer interaction interface. If yes, substituting the current motion state parameter s of the joint into the envelope fitting model E in step (ii) to calculate the upper and lower boundary thresholds of the torque error at this time. If no, proceeding to step (vi); (V) Compare the upper and lower boundary thresholds of the torque error obtained in step (IV) with the joint torque prediction error value of a single or multiple consecutive cycles to determine whether a collision occurs. If so, stop the robot or adjust the flexibility of the robot and proceed to step (VI). If not, enter the next system cycle and return to step (IV). The steps for obtaining the joint torque prediction error value in step (V) are as follows: (a) Estimation of joint torque target values ​​using a dynamic model-based approach; (b) The estimated joint torque target value is compared with the actual joint torque value estimated based on the joint current. The joint torque prediction error value is obtained by subtraction; The target value of the joint torque in step (a) is: in, are the position, velocity and acceleration of the robot joints respectively; The joint torque prediction error in step (b) is: ; The formula for determining whether a collision occurs in step (V) is: in, is a static threshold with a certain margin, is the threshold of the upper boundary of the moment error, is the threshold of the lower boundary of the moment error; (vi) End.

2. A robot collision detection threshold updating method according to claim 1, characterized in that: The motion state parameters in step (ii) include joint motion speed, acceleration, and position.

3. A robot collision detection threshold updating method according to claim 1, characterized in that: The threshold of the upper boundary of the torque error in step (iii) is: 。 4. A robot collision detection threshold updating method according to claim 1, characterized in that: The threshold of the lower boundary of the torque error in step (iii) is: 。 5. A robot collision detection threshold updating device, characterized in that: include: A memory (1) for storing a computer program; A processor (2) is interconnected with the memory (1) and is used to execute a computer program in the memory (1) to implement the robot collision detection threshold updating method according to any one of claims 1 to 4.

6. A robot collision detection threshold update storage medium, characterized in that: Used to store a computer program, which is executed to implement the robot collision detection threshold updating method according to any one of claims 1 to 4.