A joint planning method, system, device and medium for an agile robotic arm.

By identifying the properties of the robot arm joints and using the self-healing mechanism to generate continuous joint sequences, it solves the shortcomings of traditional methods in high-speed movement, improves the movement accuracy and efficiency of the robot arm, and is suitable for complex industrial environments.

CN118357929BActive Publication Date: 2024-09-06HEFEI INSTITUTE OF PHYSICAL SCIENCE CHINESE ACADEMY OF SCIENCES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410784508.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-06
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

The traditional robot arm joint planning method is difficult to adapt to the needs of agile operations with high-speed movements. It cannot effectively consider the joint motor angle, angular velocity, and angular acceleration limitations, resulting in an unexecutable joint action sequence. It also lacks a self-repair mechanism, affecting the normal movement of the robot arm.

Method used

A joint planning method for agile operating manipulators is adopted. By obtaining the joint properties (static or dynamic), using static and dynamic joint planners to combine angle, angular velocity, and angular acceleration limits, the key parameters are solved based on the self-healing mechanism, combined with the pseudo-Sigmoid function. Continuous joint sequences are obtained and sampled at a fixed frequency to generate executable joint sequences.

Benefits of technology

It achieves precise control and simulation of the joint motion of the robotic arm, improves motion accuracy and flexibility, optimizes performance and response speed, adapts to different task requirements, reduces energy consumption and wear, and improves the reliability and lifespan of the mechanical system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118357929B
    Figure CN118357929B
Patent Text Reader

Abstract

The present invention discloses a joint planning method, system, equipment and medium for an agile working robot arm, including obtaining a set joint of a robot arm and its properties, and judging whether its properties are static or dynamic. For a static joint, its initial and terminal conditions are used as input, and a static joint planner is used to solve key parameters based on a self-repair mechanism in combination with the angle, angular velocity and angular acceleration limits of the current joint. For a dynamic joint, the initial and terminal conditions are also set as input to solve key parameters. Then, a continuous joint sequence is obtained by combining a pseudo-Sigmoid function, and then sampled at a fixed frequency to obtain a joint sequence for each joint. Finally, the robot arm joint motion planning scheme is completed according to the obtained joint sequence. The present invention better plans the movement of the robot arm by determining the properties of the joints and adopting different processing methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot arm joint motion planning, and in particular to a joint planning method, system, equipment and medium for an agile working robot arm. Background Art

[0002] Robot arm joint planning is an important part of robotics technology. It determines whether the end effector of the robot arm can move flexibly and smoothly according to the predetermined motion trajectory, and whether it can complete the task as required. In today's increasingly complex industrial environment and the increasing requirements for the agile operation of the robot arm, the difficulty and importance of robot arm joint planning are becoming more and more prominent.

[0003] The shortcomings of traditional joint planning methods are mainly reflected in two aspects: 1. Traditional methods can only be applied to the joint planning tasks of robotic arms with slow and smooth movements. For agile working robotic arms that require high-speed movements, this method does not fully consider the impact of joint motor angles, angular velocity, and angular acceleration limits on joint trajectories, and it is easy to produce joint action sequences that the robotic arm cannot perform. 2. If the planner produces a joint action sequence that the robotic arm cannot perform, the traditional method lacks a self-repair mechanism to ensure the normal movement of the robotic arm. Therefore, studying a joint planning method for agile working robotic arms has important theoretical significance and practical application value. With the development of artificial intelligence and optimization algorithms, new ideas have been provided for solving the problem of joint planning of robotic arms. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art. To achieve the above purpose, a joint planning method, system, device and medium for an agile working robot arm are adopted to solve the problems raised in the above background technology.

[0005] A joint planning method for an agile working robot arm comprises the following steps:

[0006] Step S1, obtain the robot arm k joints, and judging the joint properties thereof according to the historical data, wherein the joint properties include static joints and dynamic joints;

[0007] Step S2, judging that the current joint property is a static joint according to step S1, taking the preset joint initial and terminal conditions as the input of the static joint planner, and using the static joint planner to combine the current joint angle, angular velocity, and angular acceleration restrictions to solve the key parameters of the static joint planner based on the self-repair mechanism;

[0008] Step S3, according to the key parameters of the static joint planner obtained by solving step S2, a continuous joint sequence is obtained by combining the pseudo-sigmoid function, and then sampling is performed at a fixed frequency to obtain a joint sequence of each joint;

[0009] Step S4, judging that the current joint property is a dynamic joint according to step S1, taking the preset joint initial and terminal conditions as the input of the dynamic joint planner, and using the dynamic joint planner to combine the current joint angle, angular velocity, and angular acceleration restrictions, and solving the key parameters of the dynamic joint planner based on the self-repair mechanism;

[0010] Step S5, according to the key parameters of the dynamic joint planner obtained by solving step S4, combining with the pseudo-sigmoid function to obtain a continuous joint sequence, and then sampling at a fixed frequency to obtain a joint sequence of each joint;

[0011] Step S6, completing the robot arm joint motion planning scheme according to the joint sequence of each joint obtained in steps S3 and S5.

[0012] As a further technical solution of the present invention: the specific steps in step S1 include:

[0013] Get the first k Joints , according to its duration of joint action Speed Whether it is 0 to judge the nature of the joint:

[0014] ;

[0015] In the formula, Indicates k Joints The nature of the joints, Indicates joints For static joints, Indicates joints For dynamic joints.

[0016] As a further technical solution of the present invention: the specific steps in step S2 include:

[0017] Step S21: According to step S1, the current joint property is determined to be a static joint, and the preset joint initial and terminal conditions are used as inputs of the static joint planner, and the angle limit of the current joint is set. , speed limit , acceleration limit , the joint value at the initial moment , joint value at the end time , and the duration of joint movements ;

[0018] Step S22: Setting intermediate variables ;

[0019] in, Represents the joints calculated by the static joint planner at the initial moment J k The joint value of Indicates the moment when the joint velocity is the largest and the joint value at that moment calculated by the static joint planner. Indicates the moment when the joint value calculated by the static joint planner is the largest and the joint value at that moment, Indicates the determination coefficient for determining whether the joint acceleration is continuous. Represents the maximum joint velocity calculated by the static joint planner. is the state variable of the static joint planner, and After initialization, set the static joint planner output variables ;

[0020] Step S23: According to the obtained parameters, determine Is it true? If it is true, it means that the joint value at the end of the joint exceeds the limit and the joint planning fails. If the value is -1, the planning process is terminated; otherwise, the next step S24 is executed;

[0021] Step S24: According to the obtained parameters, determine whether the following inequality holds:

[0022] ;

[0023] If established, then Assign a value of -2 and execute self-repair mechanism I. The specific expression is as follows:

[0024] ;

[0025] Step S25: Calculate the minimum value of the extreme value of the joint acceleration during the movement using the following formula: :

[0026] ;

[0027] in, represents the extreme value of acceleration, which is The specific expression is:

[0028] ;

[0029] In the above formula, is the independent variable, , The lower bound of , and e is the base of the natural logarithm, exp(•) is the base of the natural logarithm e The exponential function of To simplify The intermediate variables set are The specific expression of the function is:

[0030] ;

[0031] ;

[0032] ;

[0033] Then use the following formula to calculate the maximum joint velocity: , the formula is:

[0034] ;

[0035] And the maximum joint velocity Assign to ;

[0036] Step S26: Determination Is it true? If so, execute self-repair mechanism II. The specific expression is as follows:

[0037] ;

[0038] , ;

[0039] and will Assign If not, proceed to step S27;

[0040] Step S27: Assign .

[0041] As a further technical solution of the present invention: the specific steps in step S3 include:

[0042] Step S31: Key parameters of the static joint planner obtained by solving step S2 , solve the first k The pseudo-Sigmoid function expression is:

[0043] ;

[0044] Among them, when hour,

[0045] ;

[0046] when hour,

[0047] ;

[0048] In the formula, is a mapping, α,β , k is the independent variable of the mapping, a,b,κ is the dependent variable of the mapping, and the specific expression of the mapping is:

[0049] ;

[0050] ;

[0051] in, X is an intermediate variable, is a mapping, u is the independent variable of the mapping, v is the dependent variable of the mapping, , , As its parameter, the specific expression is:

[0052] ;

[0053] Step S32: According to the control cycle of the robot joint , sample the continuous angle sequence and get the k

[0054] ;

[0055] in, , are the sampling moments when the ball is struck and the joint action stops, respectively. The specific formula is:

[0056] .

[0057] As a further technical solution of the present invention: the specific steps in step S4 include:

[0058] Step S41: According to step S1, determine that the current joint property is a dynamic joint, as the first k joints, use the preset joint initial and end conditions as the input of the joint planner, and set the angle limit of the current joint , speed limit , acceleration limit , joint value at the end time , Joint velocity at the end time , and the duration of joint movements ;

[0059] Step S42: Setting intermediate variables ;

[0060] in, represents the joint value output by the dynamic joint planner at the initial moment, Indicates the moment when the joint velocity is the largest and the joint value at that moment calculated by the dynamic joint planner. Indicates the moment when the joint value calculated by the dynamic joint planner is the largest and the joint value at that moment. Indicates the determination coefficient for determining whether the joint acceleration is continuous. Indicates the maximum joint velocity calculated by the dynamic joint planner. is the state variable of the dynamic joint planner, and After initialization, set the dynamic joint planner output variables ;

[0061] Step S43: According to the obtained parameters, determine Is it true? If it is true, it means that the joint value at the end of the joint exceeds the limit and the joint planning fails. If -1 is assigned, the planning procedure is terminated; otherwise, the next step S44 is executed;

[0062] Step S44, judging whether the following inequality holds;

[0063] ;

[0064] If it is established, the dynamic joint self-repair mechanism III is executed. The specific expression is as follows:

[0065] ;

[0066] And execute step S45; otherwise, jump directly to step S45;

[0067] Step S45: Calculate the minimum value of the extreme acceleration of the joint during the movement using the following formula: , the formula is:

[0068] ;

[0069] like If it is established, the self-repair mechanism II is executed. The specific expression is as follows:

[0070] ;

[0071] and will Assign , and jump to step S5; if If not, execute step S46;

[0072] Step S46: Assign , and jump directly to step S5.

[0073] As a further technical solution of the present invention: the specific steps in step S5 include:

[0074] Step S51: Key parameters of the dynamic joint planner obtained by solving step S4 , solve the first k The pseudo-Sigmoid function expression is:

[0075] ;

[0076] Among them, when hour,

[0077] ;

[0078] when hour,

[0079] ;

[0080] In the formula, is a mapping, α,β , k is the independent variable of the mapping, a,b,κ is the dependent variable of the mapping, and the specific expression of the mapping is:

[0081] ;

[0082] ;

[0083] in, X is an intermediate variable, is a mapping, u is the independent variable of the mapping, v is the dependent variable of the mapping, , , As its parameter, the specific expression is:

[0084] ;

[0085] Step S52: According to the control cycle of the robot joint , sample the continuous angle sequence and get the k

[0086] ;

[0087] in, , are the sampling moments when the ball is struck and the joint action stops, respectively. The specific formula is:

[0088] .

[0089] As a further technical solution of the present invention: the specific steps in step S6 include:

[0090] The first k The joint sequence of each joint is used as the input of the servo system and transmitted to the robot servo system, so that the joints of the robotic arm move according to the joint sequence and finally complete the motion planning plan.

[0091] The technical solution of the second aspect: a system including a joint planning method for an agile working robot arm as described in any one of the above items, comprising:

[0092] The joint acquisition module is used to obtain the joints of the robot arm. k joints, and judging the joint properties thereof according to the historical data, wherein the joint properties include static joints and dynamic joints;

[0093] The static joint processing module is used to determine whether the current joint is a static joint. k joints, taking the preset joint initial and terminal conditions as the input of the joint planner, and using the joint planner to combine the current joint angle, angular velocity, and angular acceleration constraints to solve the key parameters of the joint planner based on the self-healing mechanism; and

[0094] According to the key parameters of the joint planner obtained by solving, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then the joint sequence of each joint is obtained by sampling at a fixed frequency;

[0095] The dynamic joint processing module is used to determine whether the current joint is a dynamic joint. k joints, taking the preset joint initial and terminal conditions as the input of the joint planner, and using the joint planner to combine the current joint angle, angular velocity, and angular acceleration constraints to solve the key parameters of the joint planner based on the self-healing mechanism; and

[0096] According to the key parameters of the joint planner obtained by solving, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then the joint sequence of each joint is obtained by sampling at a fixed frequency;

[0097] The execution module is used to complete the robot arm joint motion planning scheme according to the obtained joint sequence of each joint.

[0098] The technical solution of the third aspect: a device, further comprising:

[0099] at least one processor;

[0100] at least one memory for storing at least one program;

[0101] When the at least one program is executed by the at least one processor, the at least one processor implements a joint planning method for an agile working robot arm as described in any one of the above items.

[0102] The technical solution of the fourth aspect: a storage medium storing processor-executable instructions, wherein the processor-executable instructions are used to implement a joint planning method for an agile working robot arm as described in any of the above items when executed by the processor.

[0103] Compared with the prior art, the present invention has the following technical effects:

[0104] By adopting the above technical solution, by obtaining joint information, judging joint properties and solving key parameters using a joint planner, the joint motion of the robotic arm can be accurately controlled and simulated, thereby improving the motion accuracy and flexibility of the robot.

[0105] By optimizing the joint sequence and sampling frequency, the performance and response speed of the robot can be improved, so that it can better adapt to different task requirements. This process is not only applicable to robotics, but also can be applied to other fields that require precise control and simulation of joint motion, such as biomedicine, animation, virtual reality, etc. Through automated and optimized joint motion planning schemes, work efficiency can be improved and human intervention can be reduced, especially in scenarios that require a large number of repetitive or high-precision tasks. By precisely controlling the joint motion of the robot arm, energy consumption and unnecessary wear can be reduced, and the reliability and life of the mechanical system can be improved.

[0106] In summary, this process can improve the motion accuracy, performance and work efficiency of the robotic arm, expand its application range, and reduce energy consumption and wear. BRIEF DESCRIPTION OF THE DRAWINGS

[0107] The specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings:

[0108] Figure 1A schematic diagram of the steps of the joint motion planning method according to the embodiment disclosed in the present application;

[0109] Figure 2 A flowchart of determining joint properties according to an embodiment disclosed in the present application;

[0110] Figure 3 This is an overall schematic diagram of a table tennis robot in a specific implementation manner of the disclosed embodiment of this application;

[0111] Figure 4 This is a partial schematic diagram of a table tennis robot in a specific implementation manner of the disclosed embodiment of the present application;

[0112] Figure 5 This is a workflow diagram of a static joint planner according to an embodiment disclosed in the present application;

[0113] Figure 6 This is a workflow diagram of the dynamic joint planner according to the embodiment disclosed in the present application. DETAILED DESCRIPTION

[0114] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0115] Please refer to Figure 1 and Figure 2 In an embodiment of the present invention, a joint planning method for an agile working robot arm includes the following steps:

[0116] In this embodiment, a table tennis robot is used as one of the application scenarios;

[0117] Step S1, obtain the robot arm k A joint is detected and its joint properties are determined based on historical data. The joint properties include static joints and dynamic joints. The specific steps include:

[0118] Get the first k Joints , according to its duration of joint action Speed Whether it is 0 to judge the nature of the joint:

[0119] ;

[0120] In the formula, Indicates k Joints The nature of the joints, Indicates joints J k For static joints, Indicates joints For dynamic joints.

[0121] In a specific implementation manner, Figure 3 The table tennis robot system shown and Figure 4 The robot arm shown in the figure is J 1 Set as a dynamic joint, J 2 - J 5 Set as a static joint.

[0122] Step S2: According to step S1, the current joint property is determined to be a static joint, and then The preset joint initial and terminal conditions are used as the input of the static joint planner. The joint planner is combined with the current joint angle, angular velocity, and angular acceleration limits to solve the key parameters of the joint planner based on the self-healing mechanism. The specific steps include:

[0123] like Figure 5 As shown, the figure is a workflow diagram of a static joint planner;

[0124] Step S21: According to step S1, the current joint property is determined to be a static joint, as the first joints, use the preset joint initial and end conditions as the input of the static joint planner, and set the angle limit of the current joint , speed limit , acceleration limit , the joint value at the initial moment , joint value at the end time , and the duration of joint movements ;

[0125] In this embodiment, the joint angle, speed, and acceleration are limited as follows:

[0126] Step S22: Setting intermediate variables , as shown in the following table:

[0127]

[0128] in, Represents the joints calculated by the static joint planner at the initial moment J k The joint value of Indicates the moment when the joint velocity is the largest and the joint value at that moment calculated by the static joint planner. Indicates the moment when the joint value calculated by the static joint planner is the largest and the joint value at that moment, Indicates the determination coefficient for determining whether the joint acceleration is continuous. Represents the maximum joint velocity calculated by the static joint planner. is the state variable of the static joint planner, and After initialization, set the static joint planner output variables ;

[0129] In this embodiment, Initialize to , , , , , 2.12;

[0130] Step S23: According to the obtained parameters, determine Is it true? If it is true, it means that the joint value at the end of the joint exceeds the limit and the joint planning fails. If the value is -1, the planning process is terminated; otherwise, the next step S24 is executed;

[0131] Step S24: According to the obtained parameters, determine whether the following inequality holds:

[0132] ;

[0133] If established, then Assign a value of -2 and execute self-repair mechanism I. The specific expression is as follows:

[0134] ;

[0135] Step S25: Calculate the minimum value of the extreme value of the joint acceleration during the movement using the following formula: :

[0136] ;

[0137] in, represents the extreme value of acceleration, which is The specific expression is:

[0138] ;

[0139] In the above formula, is the independent variable, , The lower bound of , where e is the base of the natural logarithm and exp(•) is the base of the natural logarithm eThe exponential function of To simplify The intermediate variables set are The specific expression of the function is:

[0140] ;

[0141] ;

[0142] ;

[0143] Then use the following formula to calculate the maximum joint velocity: , the formula is:

[0144] ;

[0145] And the maximum joint velocity Assign to ;

[0146] Step S26: Determination Is it true? If so, execute self-repair mechanism II. The specific expression is as follows:

[0147] ;

[0148] , ;

[0149] and will Assign If not, proceed to step S27;

[0150] Step S27: Assign .

[0151] Step S3: According to the key parameters of the joint planner obtained in step S2, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then sampled at a fixed frequency to obtain the first The joint sequence of each joint includes the following steps:

[0152] Step S31: Key parameters of the static joint planner obtained by solving step S2 , solve the first The pseudo-Sigmoid function expression is:

[0153] ;

[0154] Among them, when hour,

[0155] ;

[0156] when hour,

[0157] ;

[0158] In the formula, is a mapping, α,β , k is the independent variable of the mapping, a,b,κ is the dependent variable of the mapping, and the specific expression of the mapping is:

[0159] ;

[0160] ;

[0161] in, X is an intermediate variable, is a mapping, u is the independent variable of the mapping, v is the dependent variable of the mapping, , , As its parameter, the specific expression is:

[0162] ;

[0163] Step S32: According to the control cycle of the robot joint , sample the continuous angle sequence and get the The discrete angle sequence of the joints is expressed as:

[0164] ;

[0165] in, , are the sampling moments when the ball is struck and the joint action stops, respectively. The specific formula is:

[0166] .

[0167] Step S4: According to step S1, the current joint property is determined to be a dynamic joint, and then The preset joint initial and terminal conditions are used as the input of the joint planner. The joint planner is used to combine the current joint angle, angular velocity, and angular acceleration limits to solve the key parameters of the joint planner based on the self-healing mechanism. The specific steps include:

[0168] like Figure 6 As shown, the figure is a workflow diagram of the dynamic joint planner;

[0169] Step S41: According to step S1, determine that the current joint property is a dynamic joint, as the first joints, use the preset joint initial and end conditions as the input of the joint planner, and set the angle limit of the current joint , speed limit , acceleration limit , the joint value at the initial moment , joint value at the end time , Joint velocity at the end time , and the duration of joint movements ;

[0170] Step S42: Setting intermediate variables ;

[0171] in, represents the joint value output by the dynamic joint planner at the initial moment, Indicates the moment when the joint velocity is the largest and the joint value at that moment calculated by the dynamic joint planner. Indicates the moment when the joint value calculated by the dynamic joint planner is the largest and the joint value at that moment. Indicates the determination coefficient for determining whether the joint acceleration is continuous. Indicates the maximum joint velocity calculated by the dynamic joint planner. is the state variable of the dynamic joint planner, and After initialization, set the dynamic joint planner output variables ;

[0172] In this embodiment, Initialize to , , , , , , 2.12;

[0173] Step S43: According to the obtained parameters, determine Is it true? If it is true, it means that the joint value at the end of the joint exceeds the limit and the joint planning fails. If -1 is assigned, the planning procedure is terminated; otherwise, the next step S44 is executed;

[0174] Step S44, judging whether the following inequality holds;

[0175] ;

[0176] If it is established, the dynamic joint self-repair mechanism III is executed. The specific expression is as follows:

[0177] ;

[0178] And execute step S45; otherwise, jump to step S47;

[0179] Step S45: Calculate the minimum value of the extreme acceleration of the joint during the movement using the following formula: , the formula is:

[0180] ;

[0181] like If it is established, the self-repair mechanism II is executed. The specific expression is as follows:

[0182] ;

[0183] and will Assign , and jump directly to step S5; if If not, execute step S46;

[0184] Step S46: Assign , and jump directly to step S5.

[0185] Step S5: According to the key parameters of the dynamic joint planner obtained in step S4, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then sampling is performed at a fixed frequency to obtain the first The joint sequence of each joint includes the following steps:

[0186] Step S51: Key parameters of the dynamic joint planner obtained by solving step S4 , solve the first The pseudo-Sigmoid function expression is:

[0187] ;

[0188] Among them, when hour,

[0189] ;

[0190] when hour,

[0191] ;

[0192] In the formula, is a mapping, α,β , k is the independent variable of the mapping, a,b,κ is the dependent variable of the mapping, and the specific expression of the mapping is:

[0193] ;

[0194] ;

[0195] In the formula, is a mapping, , , As its parameter, the specific expression is:

[0196] ;

[0197] Step 52: According to the control cycle of the robot joint: , sample the continuous angle sequence and get the k The discrete angle sequence of the joints is expressed as:

[0198] ;

[0199] in, , are the sampling moments when the ball is struck and the joint action stops, respectively. The specific formula is:

[0200] .

[0201] In this embodiment, T c Set to 0.002s.

[0202] Step S6: completing the robot arm joint motion planning scheme according to the joint sequence of each joint obtained in steps S3 and S5. The specific steps include:

[0203] The first k The joint sequence of each joint is used as the input of the servo system and transmitted to the robot servo system, so that the joints of the robotic arm move according to the joint sequence and finally complete the motion planning plan.

[0204] The technical solution of the second aspect: a system including a joint planning method for an agile working robot arm as described in any one of the above items, comprising:

[0205] The joint acquisition module is used to obtain the joints of the robot arm. k joints, and judging the joint properties thereof according to the historical data, wherein the joint properties include static joints and dynamic joints;

[0206] The static joint processing module is used to determine whether the current joint is a static joint. kjoints, taking the preset joint initial and terminal conditions as the input of the joint planner, and using the joint planner to combine the current joint angle, angular velocity, and angular acceleration constraints to solve the key parameters of the joint planner based on the self-healing mechanism; and

[0207] According to the key parameters of the joint planner obtained by solving, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then the joint sequence of each joint is obtained by sampling at a fixed frequency;

[0208] The dynamic joint processing module is used to determine whether the current joint is a dynamic joint. k joints, taking the preset joint initial and terminal conditions as the input of the joint planner, and using the joint planner to combine the current joint angle, angular velocity, and angular acceleration constraints to solve the key parameters of the joint planner based on the self-healing mechanism; and

[0209] According to the key parameters of the joint planner obtained by solving, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then the joint sequence of each joint is obtained by sampling at a fixed frequency;

[0210] The execution module is used to complete the robot arm joint motion planning scheme according to the obtained joint sequence of each joint.

[0211] The technical solution of the third aspect: a device, which includes two parts, hardware and software. The hardware part includes at least one processor and at least one memory for storing at least one program. The processor is the core of control and operation, and is used to execute the program in the memory to realize the self-repairing agile operation robot arm joint planning method. The memory is used to store programs and related data to ensure the normal operation of the system. The software part implements the robot arm joint planning method through programs and instructions, which are stored in the memory and executed by the processor. Through the cooperation of hardware and software, the device can efficiently complete the robot arm joint motion planning task and improve the motion accuracy and work efficiency of the robot arm.

[0212] The technical solution of the fourth aspect: a storage medium storing instructions executable by a processor. These instructions contain various operations and logic required to implement a self-repairing agile operation robot arm joint planning method. By reading and executing these instructions, the processor can complete the corresponding operations and realize the precise planning and control of the robot arm joint movements. This storage medium can exist alone or be embedded in other devices or systems, such as robot controllers, computers, etc. In this way, the modularity and portability of robot arm joint motion planning can be achieved, which is convenient for application in various scenarios and devices.

[0213] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents, and all should be included within the scope of protection of the present invention.

Claims

1. A joint planning method for an agile working robot arm, characterized in that: The following steps are involved: Step S1, obtain the robot arm k joints, and judging the joint properties thereof according to the historical data, wherein the joint properties include static joints and dynamic joints; Step S2: According to step S1, the current joint property is determined to be a static joint, and the preset joint initial and terminal conditions are used as inputs of the static joint planner. The static joint planner is used to combine the current joint angle, angular velocity, and angular acceleration restrictions, and solve the key parameters of the static joint planner based on the self-correction mechanism. The specific steps include: Step S21: According to step S1, the current joint property is determined to be a static joint, and the preset joint initial and terminal conditions are used as inputs of the static joint planner, and the angle limit of the current joint is set. , speed limit , acceleration limit , the joint value at the initial moment , joint value at the end time , and the duration of joint movements ; Step S22: Setting intermediate variables ; in, Represents the joints calculated by the static joint planner at the initial moment J k The joint value of Indicates the moment when the joint velocity is the largest and the joint value at that moment calculated by the static joint planner. Indicates the moment when the joint value calculated by the static joint planner is the largest and the joint value at that moment, Indicates the determination coefficient for determining whether the joint acceleration is continuous. Represents the maximum joint velocity calculated by the static joint planner. is the state variable of the static joint planner, and After initialization, set the static joint planner output variables ; Step S23: According to the obtained parameters, determine Is it true? If it is true, it means that the joint value at the end of the joint exceeds the limit and the joint planning fails. If the value is -1, the planning process is terminated; otherwise, the next step S24 is executed; Step S24: According to the obtained parameters, determine whether the following inequality holds: ; If established, then Assign a value of -2 and execute self-correction mechanism I. The specific expression is as follows: ; Step S25: Calculate the minimum value of the extreme value of the joint acceleration during the movement using the following formula: : ; in, represents the extreme value of acceleration, which is The specific expression is: ; In the above formula, is the independent variable, , The lower bound of , and e is the base of the natural logarithm, exp(•) is the base of the natural logarithm e The exponential function of To simplify The intermediate variables set are The specific expression of the function is: ; ; ; Then use the following formula to calculate the maximum joint velocity: , the formula is: ; And the maximum joint velocity Assign to ; Step S26: Determination Is it true? If true, execute the self-correction mechanism II. The specific expression is as follows: ; , ; and will Assign If not, proceed to step S27; Step S27: Assign ; Step S3, according to the key parameters of the static joint planner obtained by solving step S2, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then sampling is performed at a fixed frequency to obtain the joint sequence of each joint. The specific steps include: Step S31: Key parameters of the static joint planner obtained by solving step S2 , solve the first k The pseudo-Sigmoid function expression is: ; Among them, when hour, ; when hour, ; In the formula, is a mapping, α,β , k is the independent variable of the mapping, a,b,κ is the dependent variable of the mapping, and the specific expression of the mapping is: ; ; in, X is an intermediate variable, is a mapping, u is the independent variable of the mapping, v is the dependent variable of the mapping, , , As its parameter, the specific expression is: ; Step S32: According to the control cycle of the robot joint , sample the continuous angle sequence and get the k The discrete angle sequence of the joints is expressed as: ; in, , are the sampling moments when the ball is struck and the joint action stops, respectively. The specific formula is: ; Step S4: According to step S1, the current joint property is determined to be a dynamic joint, and the preset joint initial and terminal conditions are used as inputs of the dynamic joint planner. The dynamic joint planner is used to combine the current joint angle, angular velocity, and angular acceleration restrictions, and solve the key parameters of the dynamic joint planner based on the self-correction mechanism. The specific steps include: Step S41: According to step S1, determine that the current joint property is a dynamic joint, as the first k joints, use the preset joint initial and end conditions as the input of the joint planner, and set the angle limit of the current joint , speed limit , acceleration limit , the joint value at the initial moment , joint value at the end time , Joint velocity at the end time , and the duration of joint movements ; Step S42: Setting intermediate variables ; in, represents the joint value output by the dynamic joint planner at the initial moment, Indicates the moment when the joint velocity is the largest and the joint value at that moment calculated by the dynamic joint planner. Indicates the moment when the joint value calculated by the dynamic joint planner is the largest and the joint value at that moment. Indicates the determination coefficient for determining whether the joint acceleration is continuous. Indicates the maximum joint velocity calculated by the dynamic joint planner. is the state variable of the dynamic joint planner, and After initialization, set the dynamic joint planner output variables ; Step S43: According to the obtained parameters, determine Is it true? If it is true, it means that the joint value at the end of the joint exceeds the limit and the joint planning fails. If -1 is assigned, the planning procedure is terminated; otherwise, the next step S44 is executed; Step S44, judging whether the following inequality holds; ; If it is established, the dynamic joint self-correction mechanism III is executed, and the specific expression is as follows: ; And execute step S45; otherwise, jump directly to step S45; Step S45: Calculate the minimum value of the extreme value of the acceleration of the joint during the movement using the following formula: , the formula is: ; like If it is established, the self-correction mechanism II is executed, and the specific expression is as follows: ; and will Assign , and jump to step S5; if If not, execute step S46; Step S46: Assign , and directly jump to step S5; Step S5, according to the key parameters of the dynamic joint planner obtained by solving step S4, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then sampling is performed at a fixed frequency to obtain the joint sequence of each joint. The specific steps include: Step S51: Key parameters of the dynamic joint planner obtained by solving step S4 , solve the first k The pseudo-Sigmoid function expression is: ; Among them, when hour, ; when hour, ; In the formula, is a mapping, α,β , k is the independent variable of the mapping, a,b,κ is the dependent variable of the mapping, and the specific expression of the mapping is: ; ; in, X is an intermediate variable, is a mapping, u is the independent variable of the mapping, v is the dependent variable of the mapping, , , As its parameter, the specific expression is: ; Step S52: According to the control cycle of the robot joint , sample the continuous angle sequence and get the k The discrete angle sequence of the joints is expressed as: ; in, , are the sampling moments when the ball is struck and the joint action stops, respectively. The specific formula is: ; Step S6, completing the robot arm joint motion planning scheme according to the joint sequence of each joint obtained in steps S3 and S5.

2. The joint planning method of an agile working robot arm according to claim 1, characterized in that: The specific steps in step S1 include: Get the first k Joints , according to its duration of joint action Speed Whether it is 0 to judge the nature of the joint: ; In the formula, Indicates k Joints The nature of the joints, Indicates joints For static joints, Indicates joints For dynamic joints.

3. The joint planning method of an agile working robot arm according to claim 1, characterized in that: The specific steps in step S6 include: The first k The joint sequence of each joint is used as the input of the servo system and transmitted to the robot servo system, so that the joints of the robotic arm move according to the joint sequence and finally complete the motion planning plan.

4. A system comprising a joint planning method for an agile working robot arm as claimed in any one of claims 1 to 3, characterized in that: include: The joint acquisition module is used to obtain the joints of the robot arm. k joints, and judging the joint properties thereof according to the historical data, wherein the joint properties include static joints and dynamic joints; The static joint processing module is used to determine whether the current joint is a static joint. k The preset joint initial and terminal conditions are used as the input of the joint planner. The joint planner is combined with the current joint angle, angular velocity, and angular acceleration constraints to solve the key parameters of the joint planner based on the self-correction mechanism. as well as According to the key parameters of the joint planner obtained by solving, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then the joint sequence of each joint is obtained by sampling at a fixed frequency; The dynamic joint processing module is used to determine whether the current joint is a dynamic joint. k The preset joint initial and terminal conditions are used as the input of the joint planner. The joint planner is combined with the current joint angle, angular velocity, and angular acceleration constraints to solve the key parameters of the joint planner based on the self-correction mechanism. as well as According to the key parameters of the joint planner obtained by solving, a continuous joint sequence is obtained by combining the pseudo-Sigmoid function, and then the joint sequence of each joint is obtained by sampling at a fixed frequency; The execution module is used to complete the robot arm joint motion planning scheme according to the obtained joint sequence of each joint.

5. A device, characterized in that: Also includes: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the joint planning method for an agile working robot arm as described in any one of claims 1 to 3.

6. A storage medium storing instructions executable by a processor, characterized in that: The processor-executable instructions are used to implement a joint planning method for an agile working robot arm as described in any one of claims 1 to 3 when executed by the processor.