Robot, robotic arm, robotic arm detection control device and method thereof
By integrating a torque detection unit into the motor unit and compensating for gravity, friction, and inertia torque, the high cost and low precision issues of torque detection in robotic arms are resolved, achieving high-precision torque control and improved safety, making it suitable for robotic arms in various application scenarios.
Patent Information
- Application Number
- CN202411931213.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-12-26
AI Technical Summary
In the existing technology, the torque detection method of the robotic arm has problems such as high cost, high system complexity, low accuracy and high latency, which makes it difficult to meet the control requirements of high precision and low latency.
The torque detection unit is integrated into the motor unit. The torque detection unit detects the torque signal output by the motor unit in real time. Combined with the compensation of gravity torque, friction torque and inertia torque, zero-force control is achieved. Ordinary strain gauges are used as torque detection units to reduce costs and simplify installation and maintenance.
It achieves high-precision torque control, improves the maneuverability and safety of the robotic arm, reduces the complexity of hardware and software interfaces, meets demanding operational requirements, optimizes power transmission and energy utilization, and enhances system safety.
Smart Images

Figure CN119635647B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robotic arms or robot technology, and more specifically, to a robot, a robotic arm, a robotic arm detection and control device, and a method thereof. Background Art
[0002] Robotic arms are the most widely used automated mechanical devices in robotics, finding widespread application in industrial manufacturing, medical treatment, entertainment services, military aerospace, semiconductor manufacturing, and other fields. In these various robotic arm applications, it's often necessary to obtain the arm's torque to achieve high-precision control and output torque.
[0003] In the prior art, common methods for obtaining manipulator torque include: first, integrating a torque sensor externally at the end of the manipulator to detect the manipulator torque; second, using an internal FOC (Field Oriented Control) current loop for indirect detection to indirectly calculate and obtain the manipulator torque. However, these methods often have the following problems: 1) The high cost of the torque sensor significantly increases the hardware cost of the manipulator; externally integrating the torque sensor makes installation and maintenance complex; and the low system integration of the entire manipulator increases the complexity and cost of the manipulator's mechanical structure and control system. 2) The indirect detection method using the internal FOC current loop, which indirectly calculates the output torque by multiplying the phase current by the torque constant, has low accuracy and high latency, resulting in an untimely system response and difficulty meeting application requirements for rapid adjustment of output torque and response to external changes. The low accuracy and high latency make it difficult to meet high-precision, low-latency control requirements. 3) The zero-force control method for the manipulator is only applicable to robots with small-mass manipulators. Therefore, to partially or fully address these technical issues, the present invention provides a manipulator detection and control device and method, a manipulator, and a robot. Summary of the Invention
[0004] Based on this, the present invention provides a robot, a robotic arm, a robotic arm detection and control device, and a method thereof, aiming to partially or completely solve the above-mentioned technical problems. The present invention is achieved through the following technical solutions:
[0005] In the first aspect, a robotic arm detection and control device includes: a motor unit, the motor unit is connected to a deceleration unit, and is used to drive the deceleration unit to decelerate; a braking unit, the braking unit is connected to the motor unit, and is used to brake the motor unit; a torque detection unit, the torque detection unit is connected to the motor unit, and is used to detect an actual torque signal of the motor unit; a deceleration unit, the deceleration unit is connected to a robotic arm joint, and is used to drive the robotic arm joint to move; a control unit, which obtains the actual torque signal of the motor unit detected by the torque detection unit, processes and calibrates the actual torque signal to obtain the actual torque output by the motor unit, and performs zero-force control on the robotic arm according to the actual torque output by the motor unit and the robotic arm compensation torque, wherein the robotic arm compensation torque includes the gravity torque of the robotic arm, the friction torque of the robotic arm joint, and the inertia torque of the robotic arm.
[0006] Optionally, the control unit includes: a gravity torque compensation module, a friction torque compensation module, an inertia torque compensation module, a compensation torque setting module and a compensation torque ratio calculation module, the gravity torque compensation module calculates the first compensation gravity torque Tg1 and the second compensation gravity torque Tg2 of the manipulator, the compensation torque setting module sets the additional compensation torque Ta, the friction torque compensation module calculates the compensation friction torque Tf of the manipulator, the inertia torque compensation module calculates the first compensation inertia torque Tm1 and the second compensation inertia torque Tm2 of the manipulator, and the compensation torque ratio calculation module includes a first compensation calculation unit and a second compensation calculation unit, the first compensation calculation unit calculates a first compensation torque ratio △T1, the first compensation torque ratio △T1 is a ratio of an actual torque Tp1 output by the motor unit to a sum Tq1 of the first compensation gravity torque Tg1, the additional compensation torque Ta, and the first compensation inertia torque Tm1, the second compensation calculation unit calculates a second compensation torque ratio △T2, the second compensation torque ratio △T2 is a ratio of an actual torque Tp2 output by the motor unit to a sum Tq2 of the second compensation gravity torque Tg2, the compensation friction torque Tf, and the second compensation inertia torque Tm2, and satisfies:
[0007] When the speed of the motor unit output shaft w≤wt, △T1=Tp1 / Tq1=Tp1 / (Tg1+Ta+Tm1)≦P1;
[0008] When the speed of the motor unit output shaft w>wt, △T2=Tp2 / Tq2=Tp2 / (Tg2+Tf+Tm2)≦P2;
[0009] Among them, wt is the set speed. When the speed of the output shaft of the motor unit w≤wt, Tp1 is the actual torque output by the motor unit; Tq1 is the sum of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1; Tg1 is the first compensating gravity torque of the robotic arm; Tm1 is the first compensating inertia torque of the robotic arm; P1 is the first preset value; when the speed of the output shaft of the motor unit w>wt, Tp2 is the actual torque output by the motor unit; Tq2 is the sum of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2; Tg2 is the second compensating gravity torque of the robotic arm, Tm2 is the second compensating inertia torque of the robotic arm, and Tf is the compensating friction torque of the robotic arm; P2 is the second preset value.
[0010] Optionally, the control unit also includes a compliance tracking coefficient calculation module and an additional compensation torque database, the additional compensation torque database includes the first additional compensation torque Ta1, the second additional compensation torque Ta2, ..., the third additional compensation torque Ta3, ..., the nth additional compensation torque Tan, i = 1, 2, 3, ..., n, where n is a positive integer; the compliance tracking coefficient calculation module calculates the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn according to the first additional compensation torque Ta1, the second additional compensation torque Ta2, ..., the third additional compensation torque Ta3, ..., the n-th additional compensation torque Tan, satisfying: Ki = |(Tg1+Ta i+Tm1)-Tjmax| / Tjmax+|Tai-Tf| / Tf, where Tjmax is the maximum static friction torque, which is preset after being obtained through experiments or theoretical derivation.
[0011] Optionally, the control unit includes an additional compensation torque scheduling module, which sets the compensation torque module to obtain the minimum compliance tracking coefficient Kmin=min[K1, K2, ..., Kn] according to the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, and sets the additional compensation torque Ta according to the minimum compliance tracking coefficient Kmin; when the speed w of the output shaft of the motor unit>wt, the additional compensation torque scheduling module will schedule the additional compensation torque Ta set by the compensation torque module to 0.
[0012] Optionally, the robotic arm detection control device M also includes: a temperature sensor, which collects temperature data of the motor unit when it is working; the torque detection unit includes a strain gauge module and a detection circuit module, the strain gauge module is installed on the output shaft of the motor unit, the strain gauge module collects strain data of the output shaft of the motor unit, and the strain gauge is connected to the detection circuit module; the control unit includes a strain-torque index module and a calibration module, the strain-torque index module establishes a strain-torque mapping table of the strain value measured by the strain gauge and the calculated torque value; the calibration module compensates and calibrates the strain value measured by the strain gauge to obtain a compensated strain value, and uses the strain-torque mapping table to obtain the actual torque output of the motor unit according to the compensated strain value.
[0013] In a second aspect, a robot arm detection control method includes the robot arm detection control device described in any one of the first aspects above, comprising the following steps:
[0014] Step S100: detecting the actual torque signal of the motor unit;
[0015] Step S200: Acquire the detected actual torque signal of the motor unit, process and calibrate the actual torque signal to obtain the actual torque output by the motor unit;
[0016] Step S300: performing zero-force control on the robotic arm according to the actual torque output by the motor unit and the robotic arm compensation torque, where the robotic arm compensation torque includes the robotic arm's gravity torque, the robotic arm joint friction torque, and the robotic arm's inertia torque.
[0017] Optionally, in step S300, performing zero-force control on the robotic arm according to the actual torque output by the motor unit and the robotic arm compensation torque includes:
[0018] When the speed w of the output shaft of the motor unit is less than or equal to wt, the additional compensation torque Ta is set, and the first compensation torque ratio ΔT1 is calculated, ΔT1=Tp1 / Tq1=Tp1 / (Tg1+Ta+Tm1), and the first compensation torque ratio ΔT1 is less than or equal to the first preset value P1; or, when the speed w of the output shaft of the motor unit is greater than or equal to wt, the second compensation torque ratio ΔT2 is calculated, ΔT2=Tp2 / Tq2=Tp2 / (Tg2+Tf+Tm2), and the second compensation torque ratio ΔT2 is less than or equal to the second preset value P2;
[0019] Among them, wt is the set speed. When the speed of the output shaft of the motor unit w≤wt, Tp1 is the actual torque output by the motor unit; Tq1 is the sum of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1; Tg1 is the first compensating gravity torque of the robotic arm; Tm1 is the first compensating inertia torque of the robotic arm; when the speed of the output shaft of the motor unit w>wt, Tp2 is the actual torque output by the motor unit; Tq2 is the sum of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2; Tg2 is the second compensating gravity torque of the robotic arm, Tm2 is the second compensating inertia torque of the robotic arm, and Tf is the compensating friction torque of the robotic arm.
[0020] Optionally, in step S300, setting the additional compensation torque Ta includes:
[0021] Calculate the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn to satisfy:
[0022] Ki=|(Tg1+Ta i+Tm1)-Tjmax| / Tjmax+|Ta i-Tf| / Tf;
[0023] Wherein, Tjmax is the maximum static friction torque, which is preset after being obtained through experiments or theoretical derivation, Ta1 is the first additional compensation torque stored in advance, Ta2 is the second additional compensation torque stored in advance, ..., Ta i is the third additional compensation torque stored in advance, ..., Tan is the nth additional compensation torque stored in advance, i = 1, 2, 3, ..., n, where n is a positive integer;
[0024] According to the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, the minimum compliance tracking coefficient Kmin = min[K1, K2, ..., Kn] is obtained, and the additional compensation torque Ta is obtained according to the minimum compliance tracking coefficient Kmin.
[0025] In a third aspect, a robotic arm comprises the robotic arm detection and control device described in any one of the first aspects or uses the robotic arm detection and control method described in any one of the second aspects.
[0026] In a fourth aspect, a robot comprises the robotic arm described in the third aspect.
[0027] Beneficial technical effects of the present invention:
[0028] (1) In the present invention, the torque detection unit is directly integrated into the motor unit, which simplifies the installation and maintenance of the torque detection unit. Ordinary strain gauges are used as components of the torque detection unit, which reduces the overall structural cost of the torque detection control device and the robotic arm. The hardware and software interfaces are also simplified. The invention is suitable for robotic arms in various application scenarios and is suitable for zero-force control requirements, thereby improving the controllability and safety of the robotic arm or robot.
[0029] (2) In the present invention application, first, the compensation torque of the manipulator includes the gravity torque of the manipulator, the friction torque of the manipulator joint, the inertia torque of the manipulator and the set additional compensation torque. The torque detection unit detects the torque signal output by the motor unit in real time, and the control unit can obtain and process the calibrated actual torque. The control unit can also control the motor unit according to the manipulator compensation torque and the actual torque, which can achieve zero-force control of the manipulator joint under external force, ensuring the controllability and stability of the manipulator movement; in addition, precise torque control reduces unnecessary energy consumption, improves energy utilization, and makes the movement of the manipulator more precise, meeting the actual high-demand operation requirements of the manipulator; the motor unit and the deceleration unit cooperate to drive the manipulator, optimize power transmission, and improve the movement efficiency of the manipulator. The braking unit can brake the motor unit to avoid dangers caused by abnormal conditions, enhance system safety, and protect equipment and personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of a robot arm detection control device applied by the present invention;
[0031] Figure 2 It is a schematic diagram of a detection and control method of a robotic arm applied for by the present invention;
[0032] Figure 3 This is a schematic diagram of the working principle of the control unit of the present invention;
[0033] Figure 4 This is a schematic diagram of the partial composition of the control unit of the present invention;
[0034] Description of the drawings: motor unit—10, brake unit—20, temperature sensor—30, first encoder—40, second encoder—50, torque detection unit—60, deceleration unit—70, control unit-80, robotic arm detection control device—M. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure more clearly understood, the embodiments of the present disclosure are further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present disclosure and are not intended to limit the embodiments of the present disclosure.
[0036] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are intended only to facilitate understanding and reading by persons skilled in the art. They are not intended to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modifications, changes in proportions, or adjustments in sizes, without affecting the efficacy and objectives of the present invention, should still fall within the scope of the technical contents disclosed in the present invention. Furthermore, terms such as "and" and "or" used in this specification are intended only for clarity of description and are not intended to limit the scope of implementation. Changes or adjustments in their relative relationships, without substantially changing the technical contents, should also be considered within the scope of implementation of the present invention. Furthermore, the various embodiments of the present invention are not independent of each other, but can be combined.
[0037] The terms "first", "second" and "third" are used for descriptive purposes only and should not be understood as indicating or suggesting relative importance or implicitly indicating the number of the indicated technical features; thus, the features defined as "first", "second" and "third" may explicitly or implicitly include one or more of such features. In the description of the present invention application, unless otherwise specified, "plurality" means two or more.
[0038] In the first aspect, a robotic arm detection and control device M includes: a motor unit 10, the motor unit 10 is connected to a deceleration unit 70, and is used to drive the deceleration unit 70 to decelerate; a braking unit 20, the braking unit 20 is connected to the motor unit 10, and is used to brake the motor unit 10; a torque detection unit 60, the torque detection unit 60 is connected to the motor unit 10, and is used to detect the actual torque signal of the motor unit 10; the deceleration unit 70, the deceleration unit 70 is connected to the robotic arm joint, and is used to drive the robotic arm joint to move; a control unit 80, which obtains the actual torque signal of the motor unit 10 detected by the torque detection unit 60, processes and calibrates the actual torque signal to obtain the actual torque output by the motor unit 10, and performs zero-force control on the robotic arm according to the actual torque of the motor unit 10 and the robotic arm compensation torque, and the robotic arm compensation torque includes the gravity torque of the robotic arm, the friction torque of the robotic arm joint, and the inertia torque of the robotic arm.
[0039] In existing robot teaching scenarios, zero-force control of the robotic arm can be understood as zero-force control of the robotic arm or the joints of the robotic arm. The target torque of the robotic arm can usually include the gravity torque of the robotic arm and the friction torque of the robotic arm joint. The actual torque output by the motor unit can usually be equal to the sum of the friction torque and the gravity torque. In this way, when an external force acts on the end of the robotic arm, the external force only needs to be used to overcome the inertia force and nonlinear coupling force of the robotic arm, and the robot will move in accordance with the external force. The friction and inertia forces in the robotic arm joints can be reduced or eliminated as much as possible to achieve zero-force control of the robotic arm joints in an environment not affected by friction and gravity, thereby improving the response speed, control accuracy and stability of the robotic arm.
[0040] However, the control method based on compensating gravity torque and friction torque is usually only applicable to robots with small-mass manipulators. Serial articulated robots with large manipulator masses usually have large inertia torques, and it is also necessary to compensate for the inertia torque and other torques of large-mass manipulators. Moreover, when the manipulator is stationary and dragged by an external force, the manipulator is affected by the static friction torque, and the external drag will be hindered by the static friction torque, which affects the zero-force control mode. There will also be an impact between the gravity torque and the static friction torque. Therefore, the applicant discovered the above-mentioned multiple technical problems and proposed a technical solution for zero-force control of the manipulator that simultaneously considers the gravity torque, friction torque and inertia torque of the manipulator and sets an additional compensation torque.
[0041] In the application of the present invention, first, the compensation torque of the manipulator includes the gravity torque of the manipulator, the friction torque of the manipulator joint, and the inertia torque of the manipulator, and an additional compensation torque is configured and set at the same time. The torque detection unit 60 detects the torque signal output by the motor unit in real time, and the control unit can accurately obtain and process the actual torque, and control the motor unit 10 according to the manipulator compensation torque and the actual torque, so as to achieve zero-force control of the manipulator joint under external force, thereby ensuring the controllability and stability of the manipulator movement; in addition, precise torque control reduces unnecessary energy consumption, improves energy utilization, and makes the movement of the manipulator more precise, meeting the actual high-demand operation requirements of the manipulator. The motor unit 10 cooperates with the deceleration unit to drive the manipulator, optimizes power transmission, and improves the movement efficiency of the manipulator. The braking unit 20 can brake the motor unit 10 to avoid dangers caused by abnormal conditions, enhance the safety of the manipulator, the manipulator and the operator.
[0042] Optionally, the control unit includes a gravity torque compensation module 801, a friction torque compensation module 802, an inertia torque compensation module 803, a compensation torque setting module 804 and a compensation torque ratio calculation module 805, wherein the gravity torque compensation module 801 calculates the first compensation gravity torque Tg1 and the second compensation gravity torque Tg2 of the manipulator, the compensation torque setting module sets the additional compensation torque Ta, the friction torque compensation module calculates the compensation friction torque Tf of the manipulator, the inertia torque compensation module calculates the first compensation inertia torque Tm1 and the second compensation inertia torque Tm2 of the manipulator, and the compensation torque ratio calculation module includes The first compensation calculation unit includes a first compensation calculation unit and a second compensation calculation unit. The first compensation calculation unit calculates a first compensation torque ratio △T1, which is a ratio of an actual torque Tp1 output by the motor unit to a sum Tq1 of the first compensation gravity torque Tg1, the additional compensation torque Ta, and the first compensation inertia torque Tm1. The second compensation calculation unit calculates a second compensation torque ratio △T2, which is a ratio of an actual torque Tp2 output by the motor unit to a sum Tq2 of the second compensation gravity torque Tg2, the compensation friction torque Tf, and the second compensation inertia torque Tm2, and satisfies:
[0043] When the speed of the motor unit output shaft w≤wt, △T1=Tp1 / Tq1=Tp1 / (Tg1+Ta+Tm1)≦P1;
[0044] When the speed of the motor unit output shaft w>wt, △T2=Tp2 / Tq2=Tp2 / (Tg2+Tf+Tm2)≦P2;
[0045] Among them, wt is the set speed. When the speed of the output shaft of the motor unit w≤wt, Tp1 is the actual torque output by the motor unit; Tq1 is the sum of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1; Tg1 is the first compensating gravity torque of the robotic arm; Tm1 is the first compensating inertia torque of the robotic arm; P1 is the first preset value; when the speed of the output shaft of the motor unit w>wt, Tp2 is the actual torque output by the motor unit; Tq2 is the sum of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2; Tg2 is the second compensating gravity torque of the robotic arm, Tm2 is the second compensating inertia torque of the robotic arm, and Tf is the compensating friction torque of the robotic arm; P2 is the second preset value.
[0046] In some embodiments, wt is a set rotational speed. For example, wt can be equal to 0 or not equal to 0. The range of wt is 0-2rad / s, that is, 0rad / s, 1rad / s, 2rad / s or any numerical range between two. The range of the first preset value P1 can satisfy: 0.8≤P1≤1.3, the first preset value P1 can be equal to 1.0, 1.1, 1.2, etc. The range of the second preset value P2 can satisfy: 0.8≤P1≤1.3, the second preset value P2 can be equal to 1.0, 1.1, 1.2, etc. Of course, those skilled in the art can reasonably set the size of the first preset value P1 and the second preset value P2 according to actual conditions. The first preset value P1 and the second preset value P2 can also be other values or other numerical ranges. In the zero-force control mode of the manipulator, the specific mathematical calculations of the gravity torque of the manipulator, the friction torque of the manipulator joint, and the inertia torque of the manipulator belong to the technical knowledge that can be obtained by ordinary technology, and the present invention application will not be repeated here.
[0047] In some embodiments, when the speed w of the output shaft of the motor unit is greater than wt, the friction torque is a dynamic friction torque, and the sum Tq2 of the second compensating gravity torque Tg2, the compensating friction torque Tf (corresponding to the dynamic friction torque of the robotic arm joint or robotic arm) and the second compensating inertia torque Tm2 can be easily calculated, and the size of the second compensating torque ratio △T2 can be set under the limit of the second preset value P2, so as to determine the size of the actual torque Tp2 output by the motor unit to control the motor unit 10. For example, the sum Tq2 of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second inertia torque Tm2 can be proportional to or close to or equal to the actual torque Tp2 output by the motor unit, so as to realize the zero-force control mode of the robotic arm under the action of external force. The zero-force control mode allows the external force to only overcome the nonlinear coupling force, so that the robotic arm can better adapt to external forces and motion changes, improve the dynamic response capability and tracking performance of the motor unit, and expand the performance and application range of the robotic arm, making the robotic arm move faster.
[0048] In some embodiments, of course, when the output shaft of the motor unit runs at a speed w, the ratio between the actual torque Tp2 output by the current motor unit and the sum Tq2 of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second inertia torque Tm2 can also be calculated to obtain the second compensating torque ratio △T2, and the motor unit 10 can be controlled according to the second compensating torque ratio △T2, the second preset value P2 and the current speed w of the motor unit. For example, the speed w of the current motor unit can be changed, and the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2 can be calculated, so that the sum Tq2 of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second inertia torque Tm2 is proportional to or close to or equal to the actual torque Tp2 output by the motor unit, thereby also realizing the zero-force control mode of the robotic arm under the action of external force.
[0049] In some embodiments, when the speed w of the output shaft of the motor unit is less than or equal to wt (which can be considered as a low-speed stage), the friction torque can be considered as a static friction torque, and the drag torque will be hindered by the static friction torque, so that the zero-force control mode of the robot arm is affected. Accordingly, an additional compensation torque Ta can be set to consider the influence of the static friction torque on the external force drag. The sum Tq1 of the first compensation gravity torque Tg1, the additional compensation torque Ta and the first compensation inertia torque Tm1 can be calculated, and the size of the first compensation torque ratio △T1 can be set under the limit of the first preset value P1, and then the motor output torque can be determined. The size of the actual torque Tp1 output by the machine unit is used to control the motor unit 10. For example, the sum Tq1 of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1 can be proportional to or close to or equal to the actual torque Tp1 output by the motor unit, thereby realizing the start-up of the motor and the zero-force control mode of the robot arm under the action of external force. Similarly, the zero-force control mode of the robot arm can enable the external force to overcome the nonlinear coupling force, etc., and enable the robot arm to adapt to external forces and motion changes, thereby improving the dynamic response capability and tracking performance of the motor unit, and making the robot arm move faster.
[0050] However, in actual robot arm teaching scenarios, after considering the inertia torque, when the speed of the motor unit output shaft w≤wt (which can be considered as a low-speed stage) and the friction torque is in the static friction torque stage, generally speaking, when the additional compensation torque Ta is smaller and much smaller than the static friction torque Tj, the actual torque Tp1 (i.e. Tg1+Ta+Tm1) output by the motor unit will also be smaller, which will cause the actual torque Tp1 output by the motor unit to be less than the static friction torque Tj, and the drag of the robot arm joint will be affected, resulting in the mechanical The arm joint is difficult to follow the changes in external force, and the zero-force control mode is affected and deteriorated; when the additional compensation torque Ta is larger and much larger than the static friction torque Tj, the actual torque Tp1 (i.e., Tg1+Ta+Tm1) output by the motor unit is also larger, which will cause the actual torque Tp1 output by the motor unit to be too large, which will bring a certain impact to the robotic arm, and the noise and vibration will also increase appropriately, resulting in energy waste, high starting energy consumption, reduced control accuracy, and affecting the accuracy of speed and position control. Although when the external force acts on the robotic arm joint, the zero-force control mode of the robotic arm can be achieved. Therefore, the size of the adjustment torque can be reasonably set so that the actual torque Tp output by the motor unit meets both the motor unit starting performance and the zero-force control requirements.
[0051] Optionally, the control unit further includes a compliance tracking coefficient calculation module 806 and an additional compensation torque database, where the additional compensation torque database includes a first additional compensation torque Ta1, a second additional compensation torque Ta2, ..., a third additional compensation torque Ta3, ..., and an nth additional compensation torque Tan, where i=1, 2, 3, ..., n, and n is a positive integer; the compliance tracking coefficient calculation module calculates a first compliance tracking coefficient K1, a second compliance tracking coefficient K2, ..., an i-th compliance tracking coefficient Ki, ..., and an n-th compliance tracking coefficient Kn based on the first additional compensation torque Ta1, the second additional compensation torque Ta2, ..., the third additional compensation torque Ta3, ..., and the n-th additional compensation torque Tan, satisfying:
[0052] Ki=|(Tg1+Ta i+Tm1)-Tjmax| / Tjmax+|Ta i-Tf| / Tf.
[0053] Among them, Tjmax is the maximum static friction torque, which is preset after being obtained through experiments or theoretical derivation.
[0054] In some embodiments, the additional compensation torque database may store in advance the first additional compensation torque Ta1, the second additional compensation torque Ta2, ..., the third additional compensation torque Ta3, ..., the nth additional compensation torque Tan, where i=1, 2, 3, ..., n, where n is a positive integer, so that the additional compensation torque database includes the first additional compensation torque Ta1, the second additional compensation torque Ta2, ..., the third additional compensation torque Ta3, ..., the nth additional compensation torque Tan;
[0055] In the present invention, when the friction force is in the static friction stage, when the external force applied to the joint of the manipulator is less than the maximum static friction force, the joint of the manipulator does not slide relative to each other, but a small displacement occurs between the protrusions on the contact surfaces. Accordingly, the actual torque output by the motor unit can be controlled to apply an external force to the contact surface. Generally speaking, the faster the external force is applied, the shorter the static friction force stays, and the smaller the maximum static friction force is. The slower the external force is applied, the longer the static friction force stays, and the greater the maximum static friction force is. Therefore, when the speed of the motor unit output shaft w≤wt, the present invention considers using different additional compensation torques to calculate the actual torque Tp1 required to be output by the motor unit, and according to the ratio of the actual torque Tp1 output by the motor unit and the static friction torque, the formula ((Tg1+Ta i+Tm1)-Tjmax) / Tjmax is set to improve the dragging performance of the motor unit at startup and reduce the dragging obstacle of the external force on the manipulator. At the moment of starting and reversing the robot arm joint, the relative speed between the contact surfaces will suddenly change, causing the friction torque to fluctuate when the static friction is converted to dynamic friction, affecting the effect of the zero-force control mode of the robot arm under the action of external forces. Therefore, the present invention considers the situation where the dynamic friction torque (which can be equivalent to the compensating friction torque Tf) and the static friction torque in the static friction stage may change when the speed of the motor unit output shaft w>wt and the friction force is in the dynamic friction stage, and then sets the formula (Ta i-Tf) / Tf to evaluate the degree of fluctuation of the friction torque during the static friction conversion, so as to improve the accuracy and stability of the zero-force control mode and reduce the fluctuation caused by the motor unit. On this basis, the present invention fully considers the zero-force control of the robotic arm in the static friction stage and the dynamic friction stage, and uses the additional compensation torque to calculate the first compliance tracking coefficient K1, the second compliance tracking coefficient K2,..., the i-th compliance tracking coefficient Ki,..., the n-th compliance tracking coefficient Kn. According to the first compliance tracking coefficient K1, the second compliance tracking coefficient K2,..., the i-th compliance tracking coefficient Ki,..., the n-th compliance tracking coefficient Kn, the zero-force control of the robotic arm can be optimized.
[0056] In some embodiments, the i-th compliance tracking coefficient Ki may be further optimized in detail. The optimized i-th compliance tracking coefficient Kei is:
[0057] Ke i=|(Tg1+Tai+Tm1)-Tjmax| / Tjmax+|Tai-Tf| / Tf-|Tjmax-Tf| /
[0058] (Tf+Tjmax)
[0059] In some embodiments, when considering evaluating the degree of fluctuation of the friction torque during static friction conversion, the relative relationship between Tjmax and Tf can be further considered, and the relationship between |Tai-Tf| / Tf-|Tjmax-Tf| / (Tf+Tjmax) can be comprehensively considered, so as to more carefully grasp the fluctuation details of the friction torque during the static friction conversion process, thereby effectively improving the control accuracy of the zero-force control mode in practical applications.
[0060] Optionally, the control unit includes an additional compensation torque scheduling module, which sets the compensation torque module to obtain the minimum compliance tracking coefficient Kmin=min[K1, K2, ..., Kn] according to the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, and sets the additional compensation torque Ta according to the minimum compliance tracking coefficient Kmin. When the speed w of the output shaft of the motor unit is greater than wt, the additional compensation torque scheduling module will schedule the additional compensation torque Ta set by the compensation torque module to 0.
[0061] In some embodiments, first, the compliance tracking coefficient calculation module calculates and obtains the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, and then the compensation torque setting module can obtain the minimum compliance tracking coefficient Kmin = min[K1, K2, ..., Kn]. The minimum compliance tracking coefficient Kmin usually means: a smaller degree of fluctuation of the friction torque in the static friction conversion process and / or a lower starting drag cost of the motor unit. The minimum compliance tracking coefficient Kmin corresponds to the additional compensation torque in the additional compensation torque database, that is, the additional compensation torque Ta that needs to be set by the compensation torque setting module; in addition, when the friction torque is converted from static friction to dynamic friction, that is, when the speed w of the output shaft of the motor unit>wt, the actual torque of the motor unit 10 can be controlled by the compensation friction torque Tf. At this time, the additional compensation torque scheduling module can schedule the additional compensation torque Ta set by the compensation torque setting module to 0.
[0062] Optionally, the robotic arm detection control device M also includes: the robotic arm detection control device M also includes: a temperature sensor 30, the temperature sensor collects temperature data when the motor unit is working; the torque detection unit 60 includes a strain gauge module and a detection circuit module, the strain gauge module is installed on the output shaft of the motor unit 10, the strain gauge module collects strain data of the output shaft of the motor unit 10, and the strain gauge is connected to the detection circuit module; the control unit includes a strain-torque index module 807 and a calibration module 808, the strain-torque index module establishes a strain-torque mapping table of the strain value measured by the strain gauge and the calculated torque value; the calibration module compensates and calibrates the strain value measured by the strain gauge to obtain the compensated strain value, and uses the strain-torque mapping table to obtain the actual torque output of the motor unit 10 according to the compensated strain value.
[0063] In this application, a strain gauge module is arranged on the rotor output shaft of the motor unit 10. The strain gauge is a highly sensitive metal foil strain gauge, which can be firmly adhered to the pre-treated metal surface of the rotor output shaft using high-strength epoxy resin glue. The strain gauge module includes four strain gauges arranged in a circular array. The detection circuit module includes a Wheatstone bridge circuit, an amplifier, and an ADC analog-to-digital converter. The strain gauges are connected into a full-bridge structure. A high-gain, low-noise instrumentation amplifier can be used to amplify the weak strain analog signal. A 24-bit or 16-bit high-precision ADC (such as the ADS1220 or AD7190) is used to convert the strain analog signal into a digital electrical signal. In this way, the actual torque signal of the motor unit 10 detected by the torque detection unit 60 is transmitted to the control unit as the above-mentioned digital electrical signal.
[0064] However, in actual processes, strain gauges are usually affected by factors such as temperature and creep. After the torque detection unit 60 detects the actual torque signal of the motor unit 10, the actual torque signal needs to be processed and calibrated to obtain the actual torque of the motor unit 10. The applicant discovered the technical problem of how to perform torque calibration and proposed a corresponding technical solution.
[0065] In some embodiments, the strain-torque indexing module 807 establishes a strain-torque mapping table of the strain values measured by the strain gauge and the torque values calculated. Specifically, it includes:
[0066] In some embodiments, establishing a strain-torque mapping table for the strain values measured by the strain gauge and the calculated torque values includes: dividing the strain value range into n intervals, denoted as strain interval 1, strain interval 2, ..., strain interval i, ..., strain interval n, i = 1, 2, 3, ..., n, where n is a positive integer; dividing the torque strain value range into n intervals, denoted as torque interval 1, torque interval 2, ..., torque interval j, ..., torque interval n, j = 1, 2, 3, ..., n, where n is a positive integer, and torque interval j can store information such as the torque average, torque value range, and torque linear fitting value; then, creating a two-dimensional strain-torque mapping index table L, where L[i][j] in the strain-torque mapping index table L represents the corresponding mapping relationship when the strain value measured by the strain gauge is in strain interval i and the actual torque value is in torque interval [j]. It should be noted that the strain data of the rotor output shaft of the motor unit 10 can be automatically collected multiple times under different temperatures and different loads to obtain sufficient samples, thereby establishing a strain-torque mapping table.
[0067] In some embodiments, the calibration module performs compensation calibration on the strain measured by the strain gauge to obtain a compensated strain value, and uses a strain-torque mapping table to obtain the actual torque output by the motor unit 10 based on the compensated strain value. Specifically, it includes:
[0068] In some embodiments, specifically, the strain value g measured by the strain gauge can be temperature and creep compensated using a strain compensation formula to obtain a compensated strain value f. The strain compensation formula includes:
[0069] f=g-E1△TC(1-e -t / P );
[0070] Where E1 is the coefficient of thermal expansion of the strain gauge, ΔT is the temperature change, C is the creep coefficient, P is the time constant, and t is the operating time of the strain gauge.
[0071] In some embodiments, the working time of the strain gauge can be the cumulative working time or the single working time, etc. When the strain gauge measures the actual strain value g of the output shaft of the motor unit 10, the temperature data measurement when the motor unit is working and the working time of the strain gauge is determined, the above-mentioned strain compensation formula can be used to calculate the compensated strain value f. When the two-dimensional strain-torque mapping index table L is used to index the corresponding torque value, it will fall within the torque interval s. The torque information in the torque interval s can be searched accordingly to obtain the torque value, that is, the processing and calibration of the actual torque signal is completed to obtain the actual torque output by the motor unit 10.
[0072] In some embodiments, the robot arm detection and control device M may further include a first encoder 40 and a second encoder 50. One of the first encoder 40 and the second encoder 50 collects the rotational speed of the motor unit, and the other collects the position of the motor unit (for example, the angle). In this way, simultaneously collecting the rotational speed information and position information of the motor unit can achieve more comprehensive state monitoring of the motor unit. The rotational speed information helps to understand the operating speed stability of the motor unit, and the position information can accurately control the motion trajectory of the motor unit. At the same time, the two can also cooperate with each other to more accurately feedback the working condition of the motor unit, thereby providing a basis for the precise control of the robot arm and reducing the control error of the robot arm.
[0073] Therefore, in the application of the present invention, the torque detection unit is directly integrated into the motor unit, which simplifies installation and maintenance. Ordinary strain gauges are used as components of the torque detection unit, which reduces the overall structural cost of the torque detection control device and the robotic arm, simplifies the hardware and software interfaces, and is suitable for robotic arms in various application scenarios and the requirements of zero-force control of the robotic arm, thereby improving the controllability and safety of the robotic arm or robot.
[0074] In a second aspect, a robot arm detection control method includes the robot arm detection control device described in any one of the first aspects above, comprising the following steps:
[0075] Step S100: detecting the actual torque signal of the motor unit 10;
[0076] Step S200: Acquire the detected actual torque signal of the motor unit 10, process and calibrate the actual torque signal to obtain the actual torque output by the motor unit 10;
[0077] Step S300: performing zero-force control on the robotic arm according to the actual torque output by the motor unit 10 and the robotic arm compensation torque, where the robotic arm compensation torque includes the robotic arm's gravity torque, the robotic arm joint friction torque, and the robotic arm's inertia torque.
[0078] It should be noted that the robot arm detection and control method applied for in the present invention includes any one of the robot arm detection and control devices in the first aspect, and accordingly also includes: all the technical problems, technical solutions and technical effects recorded in any one of the robot arm detection and control devices in the first aspect, which will not be repeated here in the present invention application.
[0079] In the present application, first, the compensation torque of the manipulator includes the gravity torque of the manipulator, the friction torque of the manipulator joint, and the inertia torque of the manipulator, and an additional compensation torque is configured and set at the same time. The torque signal output by the motor unit is detected in real time, and the actual torque of the motor unit 10 is obtained by processing and calibration. The motor unit 10 is controlled according to the manipulator compensation torque and the actual torque. Zero-force control of the manipulator joint under external force can be achieved, ensuring the controllability and stability of the manipulator movement. Precise torque control reduces unnecessary energy consumption, improves energy utilization, and makes the movement of the manipulator more precise, meeting the actual operation requirements of the manipulator.
[0080] Optionally, in step S300, performing zero-force control on the motor unit 10 according to the actual torque output by the motor unit 10 and the compensation torque of the robot arm includes:
[0081] When the speed w of the output shaft of the motor unit is less than or equal to wt, the additional compensation torque Ta is set, and the first compensation torque ratio ΔT1 is calculated, ΔT1=Tp1 / Tq1=Tp1 / (Tg1+Ta+Tm1), and the first compensation torque ratio ΔT1 is less than or equal to the first preset value P1; or, when the speed w of the output shaft of the motor unit is greater than or equal to wt, the second compensation torque ratio ΔT2 is calculated, ΔT2=Tp2 / Tq2=Tp2 / (Tg2+Tf+Tm2), and the second compensation torque ratio ΔT2 is less than or equal to the second preset value P2;
[0082] Among them, wt is the set speed. When the speed of the output shaft of the motor unit w≤wt, Tp1 is the actual torque output by the motor unit; Tq1 is the sum of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1; Tg1 is the first compensating gravity torque of the robotic arm; Tm1 is the first compensating inertia torque of the robotic arm; when the speed of the output shaft of the motor unit w>wt, Tp2 is the actual torque output by the motor unit; Tq2 is the sum of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2; Tg2 is the second compensating gravity torque of the robotic arm, Tm2 is the second compensating inertia torque of the robotic arm, and Tf is the compensating friction torque of the robotic arm.
[0083] In some embodiments, when the rotational speed w>wt of the output shaft of the motor unit, the friction torque is a dynamic friction torque, and the sum Tq2 of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2 can be easily calculated, and the size of the second compensating torque ratio △T2 can be set under the restriction of the second preset value P2, and then the size of the actual torque Tp2 output by the motor unit can be determined to control the motor unit 10. For example, the sum Tq2 of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second inertia torque Tm2 can be proportional to or close to or equal to the actual torque Tp2 output by the motor unit, and then the zero-force control mode of the robotic arm under the action of external force can be realized. The zero-force control mode allows the external force to only overcome the nonlinear coupling force, so that the robotic arm can better adapt to external forces and motion changes, improve the dynamic response capability and tracking performance of the motor unit, and expand the performance and application range of the robotic arm, making the robotic arm move faster.
[0084] Of course, when the output shaft of the motor unit runs at a speed of w, the ratio between the actual torque Tp2 output by the current motor unit and the sum Tq2 of the second compensating gravity torque Tg2, the compensating friction torque Tf (which can correspond to the dynamic friction torque of the robotic arm joint or robotic arm) and the second inertia torque Tm2 can also be calculated to obtain the second compensating torque ratio △T2, and the motor unit 10 can be controlled according to the second preset value P2, the second compensating torque ratio △T2 and the current motor unit speed w, so as to change the size of the current motor unit speed w, and the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2 can be calculated so that the sum Tq2 of the compensating friction torque Tf and the second inertia torque Tm2 is proportional to or close to or equal to the actual torque Tp2 output by the motor unit, thereby realizing the zero-force control mode of the robotic arm under the action of external force.
[0085] In some embodiments, when the speed w≤wt of the output shaft of the motor unit, the friction torque can be considered as the static friction torque, and the drag torque will be hindered by the static friction torque, so that the zero-force control mode of the robot arm is affected. Accordingly, an additional compensation torque Ta can be set to consider the influence of the static friction torque on the external force drag. The sum Tq1 of the first compensation gravity torque Tg1, the additional compensation torque Ta and the first compensation inertia torque Tm1 can be calculated, and the size of the first compensation torque ratio △T1 can be set under the restriction of the first preset value P1, thereby determining the output torque of the motor unit. The size of the actual torque Tp1 output is used to control the motor unit 10. For example, the sum Tq1 of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1 can be made proportional to or close to or equal to the actual torque Tp1 output by the motor unit, thereby realizing the start-up of the motor and the zero-force control mode of the robotic arm under the action of external force. The zero-force control mode of the robotic arm can enable the external force to overcome the nonlinear coupling force, etc., and can enable the robotic arm to adapt to external forces and motion changes, thereby improving the dynamic response capability and tracking performance of the motor unit and making the robotic arm move faster.
[0086] Optionally, setting the additional compensation torque Ta includes:
[0087] Calculate the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn to satisfy:
[0088] Ki=|(Tg1+Ta i+Tm1)-Tjmax| / Tjmax+|Tai-Tf| / Tf;
[0089] Wherein, Tjmax is the maximum static friction torque, which is preset after being obtained through experiments or theoretical derivation, Ta1 is the first additional compensation torque stored in advance, Ta2 is the second additional compensation torque stored in advance, ..., Ta i is the third additional compensation torque stored in advance, ..., Tan is the nth additional compensation torque stored in advance, i = 1, 2, 3, ..., n, where n is a positive integer;
[0090] According to the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, the minimum compliance tracking coefficient Kmin = min[K1, K2, ..., Kn] is obtained, and the additional compensation torque Ta is obtained according to the minimum compliance tracking coefficient Kmin.
[0091] In the present application, after the compliance tracking coefficient calculation module calculates the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, the compensation torque setting module can obtain the minimum compliance tracking coefficient Kmin = min[K1, K2, ..., Kn]. The minimum compliance tracking coefficient Kmin usually means: a smaller degree of fluctuation of the friction torque in the static friction conversion process and / or a lower starting drag cost of the motor unit. The minimum compliance tracking coefficient Kmin corresponds to the additional compensation torque in the additional compensation torque database, that is, the additional compensation torque Ta that the compensation torque setting module needs to set.
[0092] In some embodiments, the i-th compliance tracking coefficient Ki may be further optimized in detail. The optimized i-th compliance tracking coefficient Kei is:
[0093] Ke i=|(Tg1+Tai+Tm1)-Tjmax| / Tjmax+|Tai-Tf| / Tf-|Tjmax-Tf| /
[0094] (Tf+Tjmax)
[0095] In some embodiments, when considering evaluating the degree of fluctuation of the friction torque during static friction conversion, the relative relationship between Tjmax and Tf can be further considered, and the relationship between |Tai-Tf| / Tf-|Tjmax-Tf| / (Tf+Tjmax) can be comprehensively considered, so as to more carefully grasp the fluctuation details of the friction torque during the static friction conversion process, thereby effectively improving the control accuracy of the zero-force control mode in practical applications.
[0096] Optionally, in step S300, performing zero-force control on the motor unit 10 according to the actual torque of the motor unit 10 and the compensation torque of the robotic arm also includes: when the speed w of the output shaft of the motor unit>wt, scheduling the additional compensation torque Ta set by the compensation torque module to 0.
[0097] In some embodiments, after the friction torque is converted from static friction to dynamic friction, the actual torque of the motor unit 10 can be controlled accordingly with the compensation friction torque Tf. At this time, the additional compensation torque Ta can be scheduled to 0.
[0098] In a third aspect, a robotic arm comprises the robotic arm detection and control device described in any one of the first aspects or uses the robotic arm detection and control method described in any one of the second aspects.
[0099] Similarly, it should be noted that the robotic arm detection and control device including any one of the first aspects or the robotic arm detection and control method using any one of the second aspects correspondingly also includes: all the technical problems, technical solutions and technical effects recorded in any one of the robotic arm detection and control devices in the first aspect, or all the technical problems, technical solutions and technical effects recorded in any one of the robotic arm detection and control methods in the second aspect, and the present invention application will not be repeated here.
[0100] In a fourth aspect, a robot comprises the robotic arm described in the third aspect.
[0101] In the robot applied for in the present invention, the robot's manipulator arm compensation torque includes the manipulator arm's gravity torque, the manipulator arm joint friction torque, and the manipulator arm's inertia torque, and an additional compensation torque is configured and set at the same time. The torque detection unit detects the torque signal output by the motor unit in real time, and the control unit can accurately obtain and process the actual torque, and control the motor unit according to the manipulator arm compensation torque and the actual torque. It can achieve zero-force control of the robot's manipulator arm joint under external force, ensuring the stability and accuracy of the robot's movement; precise torque control reduces unnecessary energy consumption, improves energy utilization, and makes the robot's movement more precise, meeting the actual operation needs of the robot, avoiding dangers caused by abnormal situations, enhancing the safety of robot operation, and protecting the manipulator arm and operator.
[0102] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0103] Those skilled in the art will understand that the steps, measures, and schemes in the various operations, methods, and processes discussed in the present application may be interchanged, modified, combined, or deleted; further, other steps, measures, and schemes in the various operations, methods, and processes discussed in the present application may also be interchanged, modified, rearranged, decomposed, combined, or deleted; further, steps, measures, and schemes in the prior art that are similar to those disclosed in the present application may also be interchanged, modified, rearranged, decomposed, combined, or deleted;
[0104] The above-described embodiments only express several implementation methods of the embodiments of the present disclosure, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the embodiments of the present disclosure. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the embodiments of the present disclosure, and these all fall within the scope of protection of the embodiments of the present disclosure. Therefore, the scope of protection of the embodiments of the present disclosure should be based on the attached claims.
Claims
1. A robot arm detection and control device, characterized in that: include: The motor unit is connected to the reduction unit and is used to drive the reduction unit to reduce speed; Braking unit: The braking unit is connected to the motor unit and is used to brake the motor unit; A torque detection unit, the torque detection unit is connected to the motor unit and is used to detect an actual torque signal of the motor unit; The deceleration unit is connected to the joints of the robotic arm and is used to drive the joints of the robotic arm to move; a control unit, which obtains an actual torque signal of the motor unit detected by the torque detection unit, processes and calibrates the actual torque signal to obtain an actual torque output by the motor unit, and performs zero-force control on the robotic arm according to the actual torque output by the motor unit and a compensation torque of the robotic arm, wherein the compensation torque of the robotic arm includes a gravity torque of the robotic arm, a friction torque of the robotic arm joint, and an inertia torque of the robotic arm; The control unit includes: a gravity torque compensation module, a friction torque compensation module, an inertia torque compensation module, a setting compensation torque module and a compensation torque ratio calculation module. The gravity torque compensation module calculates the first compensation gravity torque Tg1 and the second compensation gravity torque Tg2 of the manipulator. The setting compensation torque module sets the additional compensation torque Ta. The friction torque compensation module calculates the compensation friction torque Tf of the manipulator. The inertia torque compensation module calculates the first compensation inertia torque Tm1 and the second compensation inertia torque Tm2 of the manipulator. The compensation torque ratio calculation module includes a first compensation calculation unit and a second compensation calculation unit. The second compensation calculation unit calculates a first compensation torque ratio △T1, which is a ratio of the actual torque Tp1 output by the motor unit to the sum Tq1 of the first compensation gravity torque Tg1, the additional compensation torque Ta, and the first compensation inertia torque Tm1. The second compensation calculation unit calculates a second compensation torque ratio △T2, which is a ratio of the actual torque Tp2 output by the motor unit to the sum Tq2 of the second compensation gravity torque Tg2, the compensation friction torque Tf, and the second compensation inertia torque Tm2, and satisfies the following conditions: When the speed of the motor unit output shaft w≤wt, △T1=Tp1 / Tq1=Tp1 / (Tg1+Ta+Tm1)≦P1; When the speed of the motor unit output shaft w>wt, △T2=Tp2 / Tq2=Tp2 / (Tg2+Tf+Tm2)≦P2; Among them, wt is the set speed. When the speed of the output shaft of the motor unit w≤wt, Tp1 is the actual torque output by the motor unit; Tq1 is the sum of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1; Tg1 is the first compensating gravity torque of the robotic arm; Tm1 is the first compensating inertia torque of the robotic arm; P1 is the first preset value; when the speed of the output shaft of the motor unit w>wt, Tp2 is the actual torque output by the motor unit; Tq2 is the sum of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2; Tg2 is the second compensating gravity torque of the robotic arm, Tm2 is the second compensating inertia torque of the robotic arm, and Tf is the compensating friction torque of the robotic arm; P2 is the second preset value.
2. A robotic arm detection and control device according to claim 1, characterized in that: The control unit also includes a compliance tracking coefficient calculation module and an additional compensation torque database, the additional compensation torque database includes the first additional compensation torque Ta1, the second additional compensation torque Ta2, ..., the third additional compensation torque Ta3, ..., the nth additional compensation torque Tan, i=1, 2, 3, ..., n, where n is a positive integer; the compliance tracking coefficient calculation module calculates the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn according to the first additional compensation torque Ta1, the second additional compensation torque Ta2, ..., the third additional compensation torque Ta3, ..., the n-th additional compensation torque Tan, satisfying: Ki=|(Tg1+Tai+Tm1)-Tjmax| / Tjmax+|Tai-Tf| / Tf, where Tjmax is the maximum static friction torque, which is preset after being obtained through experiments or theoretical derivation.
3. A robot arm detection and control device according to claim 2, characterized in that: The control unit includes an additional compensation torque scheduling module, which sets the compensation torque module to obtain the minimum compliance tracking coefficient Kmin=min[K1, K2, ..., Kn] according to the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, and sets the additional compensation torque Ta according to the minimum compliance tracking coefficient Kmin; when the speed w of the output shaft of the motor unit is greater than wt, the additional compensation torque scheduling module will schedule the additional compensation torque Ta set by the compensation torque module to 0.
4. A robot arm detection and control device according to claim 3, characterized in that: The robotic arm detection and control device also includes: a temperature sensor, which collects temperature data of the motor unit when it is working; a torque detection unit includes a strain gauge module and a detection circuit module, the strain gauge module is installed on the output shaft of the motor unit, the strain gauge module collects strain data of the output shaft of the motor unit, and the strain gauge is connected to the detection circuit module; the control unit includes a strain-torque index module and a calibration module, the strain-torque index module establishes a strain-torque mapping table of the strain value measured by the strain gauge and the calculated torque value; the calibration module compensates and calibrates the strain value measured by the strain gauge to obtain a compensated strain value, and uses the strain-torque mapping table to obtain the actual torque output of the motor unit based on the compensated strain value.
5. A method for detecting and controlling a robot arm, comprising a robot arm detecting and controlling device according to any one of claims 1 to 4, characterized in that: The following steps are involved: Step S100: detecting the actual torque signal of the motor unit; Step S200: Acquire the detected actual torque signal of the motor unit, process and calibrate the actual torque signal to obtain the actual torque output by the motor unit; Step S300: performing zero-force control on the robotic arm according to the actual torque output by the motor unit and the robotic arm compensation torque, where the robotic arm compensation torque includes the robotic arm's gravity torque, the robotic arm joint friction torque, and the robotic arm's inertia torque.
6. A robot arm detection and control method according to claim 5, characterized in that: In step S300, performing zero-force control on the robotic arm according to the actual torque output by the motor unit and the robotic arm compensation torque includes: When the speed w of the output shaft of the motor unit is less than or equal to wt, the additional compensation torque Ta is set, and the first compensation torque ratio △T1 is calculated, △T1=Tp1 / Tq1=Tp1 / (Tg1+Ta+Tm1), and the first compensation torque ratio △T1 is less than or equal to the first preset value P1; or, when the speed w of the output shaft of the motor unit is greater than or equal to wt, the second compensation torque ratio △T2 is calculated, △T2=Tp2 / Tq2=Tp2 / (Tg2+Tf+Tm2), and the second compensation torque ratio △T2 is less than or equal to the second preset value P2; Among them, wt is the set speed. When the speed of the output shaft of the motor unit w≤wt, Tp1 is the actual torque output by the motor unit; Tq1 is the sum of the first compensating gravity torque Tg1, the additional compensating torque Ta and the first compensating inertia torque Tm1; Tg1 is the first compensating gravity torque of the robotic arm; Tm1 is the first compensating inertia torque of the robotic arm; when the speed of the output shaft of the motor unit w>wt, Tp2 is the actual torque output by the motor unit; Tq2 is the sum of the second compensating gravity torque Tg2, the compensating friction torque Tf and the second compensating inertia torque Tm2; Tg2 is the second compensating gravity torque of the robotic arm, Tm2 is the second compensating inertia torque of the robotic arm, and Tf is the compensating friction torque of the robotic arm.
7. A robot arm detection and control method according to claim 6, characterized in that: In step S300, setting the additional compensation torque Ta includes: Calculate the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn to satisfy: Ki=|(Tg1+Tai+Tm1)-Tjmax| / Tjmax+|Tai-Tf| / Tf; Wherein, Tjmax is the maximum static friction torque, which is preset after being obtained through experiments or theoretical derivation, Ta1 is the first additional compensation torque stored in advance, Ta2 is the second additional compensation torque stored in advance, ..., Tai is the third additional compensation torque stored in advance, ..., Tan is the nth additional compensation torque stored in advance, i = 1, 2, 3, ..., n, where n is a positive integer; According to the first compliance tracking coefficient K1, the second compliance tracking coefficient K2, ..., the i-th compliance tracking coefficient Ki, ..., the n-th compliance tracking coefficient Kn, the minimum compliance tracking coefficient Kmin=min[K1, K2, ..., Kn] is obtained, and the additional compensation torque Ta is obtained according to the minimum compliance tracking coefficient Kmin.
8. A robotic arm, comprising the robotic arm detection and control device according to any one of claims 1 to 4 or using the robotic arm detection and control method according to any one of claims 5 to 7.
9. A robot for teaching, comprising the robotic arm according to claim 8.
Citation Information
Patent Citations
Industrial robot dragging teaching method without adopting torque sensor
CN107097233A
Zero-force control method of mechanical arm facing direct demonstration
CN108582078A