技术领域technical field
本发明涉及串联机器人关节力矩限制方法,特别涉及一种基于机器人动力学模型的关节力矩限制方法。The invention relates to a joint torque limiting method of a series robot, in particular to a joint torque limiting method based on a robot dynamic model.
背景技术Background technique
串联机器人在制造业、农业、娱乐业等行业得到越来越广泛的应用。当机器人处于某些极度恶劣的工作状况下,有可能出现关节伺服电机所需的输出力矩,超出伺服电机所能提供的最大转矩,导致伺服电机驱动器报警,停止工作,甚至造成伺服电机损坏。因此,需要进行关节力矩限制,以防止意外事故的发生。Tandem robots are increasingly used in manufacturing, agriculture, entertainment and other industries. When the robot is in some extremely bad working conditions, the output torque required by the joint servo motor may exceed the maximum torque that the servo motor can provide, causing the servo motor driver to alarm, stop working, and even cause damage to the servo motor. Therefore, it is necessary to limit the joint torque to prevent accidents.
判断整个机器人运动过程中是否存在关节力矩超限并不困难,只需要在轨迹规划之后,将规划的关节位置、角速度和角加速度代入式(5-1)所示的机器人逆动力学模型计算公式中,算得整个运动过程各个关节输出力矩,从中挑选出最大值与伺服电机手册最大力矩乘上减速比后的积进行比较,即可知道关节力矩是否存在超限的情况。困难的是判断关节力矩存在超限之后,如何在不改变运动路径的前提下,更改机器人运动速度以使关节力矩保持在限制范围之内。It is not difficult to judge whether there is joint torque exceeding the limit during the entire robot movement process. It is only necessary to substitute the planned joint position, angular velocity and angular acceleration into the calculation formula of the robot inverse dynamics model shown in formula (5-1) after trajectory planning , calculate the output torque of each joint in the whole motion process, select the maximum value from it and compare it with the product of the maximum torque in the servo motor manual multiplied by the reduction ratio, and then you can know whether the joint torque exceeds the limit. The difficulty is how to change the motion speed of the robot to keep the joint torque within the limit range without changing the motion path after judging that the joint torque exceeds the limit.
发明内容Contents of the invention
本发明的目的是提供一种基于机器人动力学模型的关节力矩限制方法,旨在解决判断关节力矩存在超限之后,如何在不改变运动路径的前提下,更改机器人运动速度以使关节力矩保持在限制范围之内的问题。The purpose of the present invention is to provide a joint torque limitation method based on the robot dynamics model, aiming to solve the problem of how to change the motion speed of the robot to keep the joint torque at problems within the limits.
本发明的目的通过下述技术方案来实现:The purpose of the present invention is achieved through the following technical solutions:
一种基于机器人动力学模型的关节力矩限制方法,包括如下步骤:A joint torque limitation method based on a robot dynamics model, comprising the steps of:
S1、设计一个关于时间的动态标度;S1. Design a dynamic scale about time;
S2、建立期望关节力矩和限制关节力矩之间的函数关系;S2. Establishing a functional relationship between the desired joint torque and the limited joint torque;
S3、在机器人运行过程中,实时计算限制力矩和期望力矩;S3. During the operation of the robot, calculate the limit torque and expected torque in real time;
S4、如果期望力矩小于或者等于限制力矩,则返回上一步S3;如果期望力矩大于限制力矩,则进行下一步S5;S4. If the expected torque is less than or equal to the limiting torque, return to the previous step S3; if the expected torque is greater than the limiting torque, proceed to the next step S5;
S5、计算期望关节力矩和限制关节力矩的函数,求得相应的时间动态标度,作为关节插补周期,以增加关节运动时间的方式,减小关节力矩。S5. Calculate the function of the expected joint torque and the limited joint torque, obtain the corresponding time dynamic scale, use it as the joint interpolation cycle, and reduce the joint torque by increasing the joint movement time.
进一步地,所述步骤S1包含如下步骤:Further, the step S1 includes the following steps:
S1.1、经过轨迹规划之后,机器人所有关节的运动轨迹为θ(t),t∈[0,tf],假定该关节运动轨迹某处存在关节力矩超限的情况,于是设计一条新的关节运动轨迹假定其能保证关节力矩保证安全限制范围之内,且满足式(1)S1.1. After trajectory planning, the trajectory of all joints of the robot is θ(t), t∈[0,tf ], assuming that there is a situation where the joint torque exceeds the limit somewhere in the trajectory of the joint, a new one is designed Joint motion trajectory It is assumed that it can ensure that the joint torque is within the safe limit range, and satisfy the formula (1)
其中r=r(t),是关于时间t的严格单调递增函数,且有r(0)=0,r(tf)=tf;Where r=r(t), is a strict monotonically increasing function about time t, and r(0)=0, r(tf )=tf ;
S1.2、对式(1)分别求一阶和二阶微分,可得S1.2. Calculate the first-order and second-order differentials of formula (1), respectively, and get
对于轨迹θ(t),机器人的逆动力学模型如式(4)所示For the trajectory θ(t), the inverse dynamics model of the robot is shown in formula (4)
将科氏力和向心力项重写为将重力项和摩擦力项独立出来,可得式(4)Rewrite the Coriolis and centripetal force terms as The gravity term and the friction term are separated, and the formula (4) can be obtained
其中,in,
同理,对于轨迹可得Similarly, for the trajectory Available
其中,in,
S1.3、将式(2)和式(3)代入整理得S1.3. Substitute formula (2) and formula (3) into Tidy up
令t=r(t),将代入式(7),得Let t=r(t), will Substituting into formula (7), we get
综上可得超限关节力矩τ(t)和不超限关节力矩与函数r(t)之间的关系,r(t)被称作动态标度函数,可以视作时间t的一种映射关系,相当于重新调整时间的流速,将恒定不变流逝的时间,映射为可以发生变动的函数关系;In summary, the overrun joint torque τ(t) and the non-overrun joint torque can be obtained The relationship with the function r(t), r(t) is called a dynamic scaling function, which can be regarded as a mapping relationship of time t, which is equivalent to readjusting the flow rate of time, and the elapsed time will be constant, Mapped as a functional relationship that can change;
S1.4、为了进一步简化式(8),动态标度函数r(t)可以选取如式(9)所示的最简单的线性标度函数S1.4. In order to further simplify formula (8), the dynamic scaling function r(t) can choose the simplest linear scaling function as shown in formula (9)
r(t)=ct(9)式中,c为常数,则有r(t)=ct(9) In the formula, c is a constant, then there is
于是,式(5-9)可以简化为Then, formula (5-9) can be simplified as
进一步地,所述步骤S3包含如下步骤:Further, the step S3 includes the following steps:
S3.1、t时刻,不超限关节力矩的惯性力、科氏力和向心力项可以求得S3.1, at time t, the inertial force, Coriolis force and centripetal force terms of the joint moment that does not exceed the limit can be obtained
式中,τmax是关节限制力矩,一般为固定常数;g(θ(t))为机器人逆动力学模型的重力项;为机器人逆动力学模型的摩擦力项;In the formula, τmax is the joint limit torque, which is generally a fixed constant; g(θ(t)) is the gravity term of the inverse dynamics model of the robot; is the friction term of the inverse dynamics model of the robot;
S3.2、t时刻,轨迹规划的关节力矩的惯性力、科氏力和向心力项可以由机器人逆动力学模型求得S3.2, at time t, the inertial force, Coriolis force and centripetal force terms of the joint moment of trajectory planning can be obtained by the robot inverse dynamics model
式中,为机器人逆动力学模型的惯性力项;为机器人逆动力学模型的哥氏力和向心力项。In the formula, is the inertial force term of the inverse dynamics model of the robot; are the Coriolis force and centripetal force terms of the inverse dynamics model of the robot.
本发明相对于现有技术具有如下的优点及效果:Compared with the prior art, the present invention has the following advantages and effects:
本发明使用机器人逆动力学模型,通过设计一个关于时间的动态标度,可以建立期望关节力矩和限制关节力矩之间的函数关系。当出现关节力矩超出限制的时候,通过计算期望关节力矩和限制关节力矩的函数,求得相应的时间动态标度,作为关节插补周期。可以保证在不改变运动路径的前提下,更改机器人运动速度以使关节力矩保持在限制范围之内的问题。The invention uses the inverse dynamics model of the robot, and can establish the functional relationship between the expected joint torque and the limited joint torque by designing a dynamic scale about time. When the joint torque exceeds the limit, the corresponding time dynamic scale is obtained by calculating the function of the expected joint torque and the limited joint torque, which is used as the joint interpolation period. It is guaranteed to change the robot's motion speed to keep the joint torque within the limit range without changing the motion path.
附图说明Description of drawings
图1是本发明实施例的基于机器人动力学模型的关节力矩限制方法流程示意图。FIG. 1 is a schematic flowchart of a method for limiting joint torque based on a robot dynamics model according to an embodiment of the present invention.
具体实施方式detailed description
下面结合实施例及附图对本发明作进一步的详细描述,但本发明的实施方式不限于此。The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.
如图1所示,现以某六自由度垂直关节串联机器人为关节力矩限制对象,按照以下步骤进行基于机器人动力学模型的关节力矩限制控制:As shown in Figure 1, a six-degree-of-freedom vertical joint serial robot is used as the joint torque limiting object, and the joint torque limiting control based on the robot dynamic model is performed according to the following steps:
一种基于机器人动力学模型的关节力矩限制方法,包括如下步骤:A joint torque limitation method based on a robot dynamics model, comprising the steps of:
S1、设计一个关于时间的动态标度;S1. Design a dynamic scale about time;
S2、建立期望关节力矩和限制关节力矩之间的函数关系;S2. Establishing a functional relationship between the desired joint torque and the limited joint torque;
S3、在机器人运行过程中,实时计算限制力矩和期望力矩;S3. During the operation of the robot, calculate the limit torque and expected torque in real time;
S4、如果期望力矩小于或者等于限制力矩,则返回上一步S3;如果期望力矩大于限制力矩,则进行下一步S5;S4. If the expected torque is less than or equal to the limiting torque, return to the previous step S3; if the expected torque is greater than the limiting torque, proceed to the next step S5;
S5、计算期望关节力矩和限制关节力矩的函数,求得相应的时间动态标度,作为关节插补周期,以增加关节运动时间的方式,减小关节力矩。S5. Calculate the function of the expected joint torque and the limited joint torque, obtain the corresponding time dynamic scale, use it as the joint interpolation cycle, and reduce the joint torque by increasing the joint movement time.
具体而言,所述步骤S1包含如下步骤:Specifically, the step S1 includes the following steps:
S1.1、经过轨迹规划之后,机器人所有关节的运动轨迹为θ(t),t∈[0,tf],假定该关节运动轨迹某处存在关节力矩超限的情况,于是设计一条新的关节运动轨迹假定其能保证关节力矩保证安全限制范围之内,且满足式(1)S1.1. After trajectory planning, the trajectory of all joints of the robot is θ(t), t∈[0,tf ], assuming that there is a situation where the joint torque exceeds the limit somewhere in the trajectory of the joint, a new one is designed Joint motion track It is assumed that it can ensure that the joint torque is within the safe limit range, and satisfy the formula (1)
其中r=r(t),是关于时间t的严格单调递增函数,且有r(0)=0,r(tf)=tf。Where r=r(t) is a strictly monotonically increasing function about time t, and r(0)=0, r(tf )=tf .
S1.2、对式(1)分别求一阶和二阶微分,可得S1.2. Calculate the first-order and second-order differentials of formula (1), respectively, and get
对于轨迹θ(t),机器人的逆动力学模型如式(4)所示For the trajectory θ(t), the inverse dynamics model of the robot is shown in formula (4)
将科氏力和向心力项重写为将重力项和摩擦力项独立出来,可得式(4)Rewrite the Coriolis and centripetal force terms as The gravity term and the friction term are separated, and the formula (4) can be obtained
其中,in,
同理,对于轨迹可得Similarly, for the trajectory Available
其中,in,
S1.3、将式(2)和式(3)代入整理得S1.3. Substitute formula (2) and formula (3) into Tidy up
令t=r(t),将代入式(7),得Let t=r(t), will Substituting into formula (7), we get
综上可得超限关节力矩τ(t)和不超限关节力矩与函数r(t)之间的关系,r(t)被称作动态标度函数,可以视作时间t的一种映射关系,相当于重新调整时间的流速,将恒定不变流逝的时间,映射为可以发生变动的函数关系。In summary, the overrun joint torque τ(t) and the non-overrun joint torque can be obtained The relationship with the function r(t), r(t) is called a dynamic scaling function, which can be regarded as a mapping relationship of time t, which is equivalent to readjusting the flow rate of time, and the elapsed time will be constant, Mapped as a functional relationship that can change.
S1.4、为了进一步简化式(8),动态标度函数r(t)可以选取如式(9)所示的最简单的线性标度函数S1.4. In order to further simplify formula (8), the dynamic scaling function r(t) can choose the simplest linear scaling function as shown in formula (9)
r(t)=ct(9)式中,c为常数,则有r(t)=ct(9) In the formula, c is a constant, then there is
于是,式(5-9)可以简化为Then, formula (5-9) can be simplified as
具体而言,所述步骤S3包含如下步骤:Specifically, the step S3 includes the following steps:
S3.1、t时刻,不超限关节力矩的惯性力、科氏力和向心力项可以求得S3.1, at time t, the inertial force, Coriolis force and centripetal force terms of the joint moment that does not exceed the limit can be obtained
式中,τmax是关节限制力矩,一般为固定常数;g(θ(t))为机器人逆动力学模型的重力项;为机器人逆动力学模型的摩擦力项。In the formula, τmax is the joint limit torque, which is generally a fixed constant; g(θ(t)) is the gravity term of the inverse dynamics model of the robot; is the friction term of the inverse dynamics model of the robot.
S3.2、t时刻,轨迹规划的关节力矩的惯性力、科氏力和向心力项可以由机器人逆动力学模型求得S3.2, at time t, the inertial force, Coriolis force and centripetal force terms of the joint moment of trajectory planning can be obtained by the robot inverse dynamics model
式中,为机器人逆动力学模型的惯性力项;为机器人逆动力学模型的哥氏力和向心力项。In the formula, is the inertial force term of the inverse dynamics model of the robot; are the Coriolis force and centripetal force terms of the inverse dynamics model of the robot.
上述实施例为本方面较佳的实施方式,但本方明的实施方式并不受上述实施例的限制,其他的任何背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred implementation mode of this aspect, but the implementation mode of this invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710209778.7ACN106903692A (en) | 2017-03-31 | 2017-03-31 | A kind of joint moment method for limiting based on Dynamic Models of Robot Manipulators |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710209778.7ACN106903692A (en) | 2017-03-31 | 2017-03-31 | A kind of joint moment method for limiting based on Dynamic Models of Robot Manipulators |
| Publication Number | Publication Date |
|---|---|
| CN106903692Atrue CN106903692A (en) | 2017-06-30 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710209778.7APendingCN106903692A (en) | 2017-03-31 | 2017-03-31 | A kind of joint moment method for limiting based on Dynamic Models of Robot Manipulators |
| Country | Link |
|---|---|
| CN (1) | CN106903692A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107496139A (en)* | 2017-09-21 | 2017-12-22 | 哈尔滨工业大学 | A kind of joint moment measuring system for wound finger gymnastic |
| CN108297093A (en)* | 2017-12-29 | 2018-07-20 | 中国海洋大学 | A kind of step identification method of Manipulator Dynamics parameter |
| CN108582071A (en)* | 2018-04-26 | 2018-09-28 | 华中科技大学 | A kind of method of industrial robot programming route diagnosis and speed-optimization |
| CN110524536A (en)* | 2018-05-23 | 2019-12-03 | 精工爱普生株式会社 | Robot controller and robot system |
| CN111504682A (en)* | 2020-05-15 | 2020-08-07 | 深圳国信泰富科技有限公司 | Robot joint torque feasibility detection method and system |
| US20220193893A1 (en)* | 2020-12-18 | 2022-06-23 | Boston Dynamics, Inc. | Limiting Arm Forces and Torques |
| CN116922401A (en)* | 2023-09-18 | 2023-10-24 | 苏州艾利特机器人有限公司 | Control method for improving joint peak speed, robot and electronic equipment |
| US20240269838A1 (en)* | 2020-12-18 | 2024-08-15 | Boston Dynamics, Inc. | Limiting arm forces and torques |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59100903A (en)* | 1982-12-01 | 1984-06-11 | Hitachi Ltd | Servo control device for industrial robots |
| CN102001094A (en)* | 2010-10-21 | 2011-04-06 | 北京航空航天大学 | Reliable joint control-driven component and control method thereof |
| CN103019096A (en)* | 2012-11-23 | 2013-04-03 | 北京理工大学 | Humanoid robot inverse dynamics controller based on acceleration optimization |
| CN105643621A (en)* | 2014-11-26 | 2016-06-08 | 库卡罗伯特有限公司 | Robotic devices and methods of operating robotic devices |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59100903A (en)* | 1982-12-01 | 1984-06-11 | Hitachi Ltd | Servo control device for industrial robots |
| CN102001094A (en)* | 2010-10-21 | 2011-04-06 | 北京航空航天大学 | Reliable joint control-driven component and control method thereof |
| CN103019096A (en)* | 2012-11-23 | 2013-04-03 | 北京理工大学 | Humanoid robot inverse dynamics controller based on acceleration optimization |
| CN105643621A (en)* | 2014-11-26 | 2016-06-08 | 库卡罗伯特有限公司 | Robotic devices and methods of operating robotic devices |
| Title |
|---|
| 司洋: "考虑动力学特性的空间机械臂轨迹优化研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107496139A (en)* | 2017-09-21 | 2017-12-22 | 哈尔滨工业大学 | A kind of joint moment measuring system for wound finger gymnastic |
| CN107496139B (en)* | 2017-09-21 | 2019-07-16 | 哈尔滨工业大学 | A joint torque measurement system for trauma finger rehabilitation |
| CN108297093A (en)* | 2017-12-29 | 2018-07-20 | 中国海洋大学 | A kind of step identification method of Manipulator Dynamics parameter |
| CN108297093B (en)* | 2017-12-29 | 2020-08-25 | 中国海洋大学 | A step-by-step identification method for dynamic parameters of manipulators |
| CN108582071A (en)* | 2018-04-26 | 2018-09-28 | 华中科技大学 | A kind of method of industrial robot programming route diagnosis and speed-optimization |
| CN110524536A (en)* | 2018-05-23 | 2019-12-03 | 精工爱普生株式会社 | Robot controller and robot system |
| CN111504682A (en)* | 2020-05-15 | 2020-08-07 | 深圳国信泰富科技有限公司 | Robot joint torque feasibility detection method and system |
| US20220193893A1 (en)* | 2020-12-18 | 2022-06-23 | Boston Dynamics, Inc. | Limiting Arm Forces and Torques |
| US11999059B2 (en)* | 2020-12-18 | 2024-06-04 | Boston Dynamics, Inc. | Limiting arm forces and torques |
| US20240269838A1 (en)* | 2020-12-18 | 2024-08-15 | Boston Dynamics, Inc. | Limiting arm forces and torques |
| CN116922401A (en)* | 2023-09-18 | 2023-10-24 | 苏州艾利特机器人有限公司 | Control method for improving joint peak speed, robot and electronic equipment |
| CN116922401B (en)* | 2023-09-18 | 2023-11-28 | 苏州艾利特机器人有限公司 | Control method for improving joint peak speed, robot and electronic equipment |
| Publication | Publication Date | Title |
|---|---|---|
| CN106903692A (en) | A kind of joint moment method for limiting based on Dynamic Models of Robot Manipulators | |
| CN112775976B (en) | Task execution control method and device, control equipment and readable storage medium | |
| CN106313044B (en) | A kind of industrial robot feedforward torque compensation method | |
| CN113070881B (en) | Robot motion control method and device and robot | |
| CN105479459B (en) | Robot zero-force control method and system | |
| CN104238361B (en) | Adaptive robust position control method and system for motor servo system | |
| CN114161402B (en) | Robot stability control method, model construction method, device and robot | |
| CN103970139B (en) | Robot continuous point position motion planning method | |
| CN104950678B (en) | A kind of Neural Network Inversion control method of flexible mechanical arm system | |
| Rijnen et al. | Control of humanoid robot motions with impacts: Numerical experiments with reference spreading control | |
| CN108628172A (en) | A kind of mechanical arm high-precision motion control method based on extended state observer | |
| CN109857115A (en) | A kind of finite time formation control method of the mobile robot of view-based access control model feedback | |
| CN105676896B (en) | A kind of feed forward control method applied to robot servo system | |
| CN102736626B (en) | Vision-based pose stabilization control method of moving trolley | |
| CN105849663A (en) | Machinery control device and gain determination method for friction compensation | |
| CN104267595A (en) | Adaptive robust position control method for motor servo system with time-varying output constraint function | |
| CN105573315A (en) | Geometric smoothing method for Cartesian space trajectory of industrial robot | |
| CN103433924A (en) | High-accuracy position control method for serial robot | |
| CN105717869B (en) | Industrial robot operating space path Mixed Circumscription method for solving | |
| CN111037568A (en) | Four-axis robot tail end load identification method and module | |
| CN104678763B (en) | Friction compensation and dynamic surface control method based on least squares support vector machine for electromechanical servo system | |
| CN104020717B (en) | Five axle based on parameter synchronization the most double NURBS cutter path interpolating method | |
| CN104050355B (en) | One kind is based on H∞The mechanical arm external force method of estimation of filtering | |
| Numerow et al. | Inherently robust suboptimal mpc for autonomous racing with anytime feasible sqp | |
| CN112147894A (en) | Active control method of wheeled mobile robot based on kinematics and dynamics model |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170630 |