Continuous control method for redundant robot based on null-space projection
Through the continuous control method of redundant robots based on zero-space projection, the problems of control discontinuity and insufficient numerical stability in the existing technology are solved, efficient and stable control in multi-task scenarios is achieved, and the robot's performance in complex environments is improved. adaptability and response speed.
Patent Information
- Application Number
- CN202411007653.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Existing robot motion control methods have problems such as control discontinuity, reduced response speed and insufficient numerical stability in multi-task control and dynamic environments, making it difficult to effectively handle task activation changes and singular situations.
A redundant robot continuous control method based on zero-space projection is adopted. By constructing a plastic zero-space projection operator, finding continuous solutions to kinematic equations, introducing damping coefficients and optimizing joint speeds, task priority control and closed-loop control rules are implemented to ensure that the robot Efficient stability in complex environments.
It improves the control accuracy and response speed of the robot in complex dynamic environments, ensures that task priorities and environmental constraints are met, and improves the adaptability and stability of the robot in multi-task scenarios.
Smart Images

Figure CN118744433A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of robot motion control, and in particular to a redundant robot continuous control method based on null space projection. Background Art
[0002] In the field of robot motion control, how to adapt the robot to the dynamic environment by controlling the robot's motion process is an important challenge. When performing tasks, the robot not only needs to achieve trajectory tracking, but also must ensure that various constraints in the environment are met. Traditional joint space control methods directly control the joint trajectory by pre-planning the robot's end effector trajectory. However, it is very difficult to implement environmental constraints in the joint space, and the typical joint space control framework still has many limitations.
[0003] When solving robot motion control problems, existing technologies usually use pseudo-inverse methods to solve kinematic equations to achieve trajectory tracking and meet environmental constraints. However, these methods have significant disadvantages when facing multi-task control and dynamic environments. First, pseudo-inverse methods are prone to discontinuities when task activation changes, affecting the smoothness and stability of control. Second, when conflicts arise between activated tasks, existing methods are difficult to handle effectively, resulting in reduced control accuracy and response speed. In addition, existing methods lack numerical stability in singular situations, which limits the robot's adaptability.
[0004] In order to solve the above problems, the present invention proposes a continuous inverse method based on continuous shaping null space projection and task control, aiming to improve the control performance of redundant robots in dynamic environments. The present invention provides an efficient, stable and adaptable robot control method, which significantly improves the working performance and reliability of the robot in complex dynamic environments. Summary of the invention
[0005] Based on the above objectives, the present invention provides a redundant robot continuous control method based on null space projection.
[0006] The redundant robot continuous control method based on zero space projection comprises the following steps:
[0007] S1, constructing the shaping null space projection operator: based on the Mansard continuous inverse definition and the task constraints of the redundant robot, the augmented Jacobian operator under the activation task is established;
[0008] S2, find the continuous solution of the kinematic equations: construct the inverse containing all activation tasks and use the closed-loop control law to preliminarily calculate the joint speed;
[0009] S3, solution for optimizing joint velocity: In case of conflicts between activation tasks, damping coefficients are introduced and new closed-loop control laws are written;
[0010] S4, implement task priority control: the general solution of joint velocity is formulated through the shaping null space, so that the priority of activation tasks can be controlled.
[0011] Furthermore, the step of constructing the shaping null space projection operator in S1 includes:
[0012] S11, define task constraints: define task constraints of redundant robots, the constraints include equality constraints and inequality constraints;
[0013] The calculation formula of the equality constraint is:
[0014] x e =f(q);
[0015] Where q∈R n is the vector of the joint position, x e ∈R me is a vector representing an equality constraint, f(q):R n →R me is the equation task function;
[0016] The calculation formula of the inequality constraint is:
[0017] g(q)≥g u ;
[0018] Where g(q): is the constraint function, m e ∈R is the dimension of all inequality tasks, is the threshold value of the inequality task;
[0019] S12, establish augmented Jacobian operator: Based on the task constraints, establish the augmented Jacobian operator under the activation task, expressed as:
[0020] J=[J 1 ,J 2 …J k ] T ;
[0021]
[0022] Where J is the augmented Jacobian matrix of all tasks, is the augmented Jacobian matrix of the first to the i-th task.
[0023] Furthermore, the calculation formula of the augmented Jacobian operator under the activation task is:
[0024]
[0025] Among them, J i is the Jacobian matrix of the ith task (i∈{1,…,k}), is the integer null space projection operator of the augmented Jacobian operator of the first i tasks activated by H;
[0026] B i ∈R n×n Defined as:
[0027] Furthermore, the integer null space projection operator of the augmented Jacobi operator Obtained through i recursive operations, due to is a symmetric matrix, Rephrased as:
[0028]
[0029] Among them, v j and σ j are the j-th input singular vector and singular value respectively.
[0030] Furthermore, the continuous solution of the kinematic equation in S2 includes:
[0031] S21, construct the inverse including all activation tasks: construct the inverse including all activation tasks based on the augmented Jacobian operator, and the calculation formula is:
[0032]
[0033] Where k is the number of tasks, H is a diagonal activation matrix whose elements are h i ∈[0,1], i∈{1,…,k}, is the integer null space projection operator that encompasses all tasks;
[0034] S22, use closed-loop control law: Use the closed-loop control law to calculate the joint speed. The calculation formula is:
[0035]
[0036] Where, e = xx d is the tracking error, x d is the position of the desired trajectory, k e >0 is the error feedback gain.
[0037] Furthermore, the solution of optimizing the joint velocity in S3 includes:
[0038] S31, introduction of damping coefficient: In case of conflicts between activation tasks, a damping coefficient is introduced;
[0039] S32, write a new closed-loop control law: Write a new closed-loop control law to optimize the joint velocity.
[0040] Furthermore, the new closed-loop control law is expressed as:
[0041]
[0042] Furthermore, the B i The calculation formula after introducing the damping factor is:
[0043]
[0044] Among them, the positive scalar λ i It is B i Damping factor of (i∈{1,…,k});
[0045]
[0046] σ i,min ≥ε i ;
[0047] Among them, σ i,m yes The smallest singular value of i is the length of the singular avoidance region, λ i,max is the maximum damping parameter.
[0048] Furthermore, the general solution calculation formula of the joint velocity in S4 is:
[0049]
[0050] Where z∈R n is a free vector.
[0051] Beneficial effects of the present invention:
[0052] The present invention, by introducing a shaped null space projection operator, can ensure that the robot can meet environmental constraints while achieving trajectory tracking tasks. It is particularly suitable for multi-task control scenarios and ensures the priority control of each task, so that the performance of a fully active task is not affected by other tasks. In addition, by constructing an inverse matrix containing all activated tasks and applying a closed-loop control law, the optimized joint speed can be calculated, so that the robot has higher adaptability and stability in complex environments.
[0053] The present invention introduces a damping coefficient to deal with the conflict problem between activated tasks, so that the control algorithm has higher numerical stability in singular cases, uses recursive operations to obtain the integer null space projection of the augmented Jacobian operator, and optimizes the solution of joint speeds. It can improve the control accuracy and response speed while ensuring the task priority. Overall, an efficient, stable and adaptable robot control method is provided, which helps to improve the working performance and reliability of the robot in complex dynamic environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 A schematic diagram of a control method flow chart of an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of constructing a shaping null space projection operator according to an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.
[0058] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0059] like Figure 1-Figure 2 As shown, the redundant robot continuous control method based on zero space projection includes the following steps:
[0060] S1, Inverse Kinematics Control:
[0061] 1. Task-based control:
[0062] During the motion process, the redundant robot may be subject to both equality constraints and inequality constraints. Let q∈R n is the vector of the joint position, x e ∈R me is a vector representing an equality constraint. The equality constraint can be viewed as a tracking task in the following formula:
[0063] x e =f(q) (1)
[0064] Where f(q):R n →R me is an equality task function, that is, if x e is the position vector of the end effector, then equation (1) is the forward kinematics equation of the robot. In addition, m e ∈R is the dimension of all equality constraints. The equality task at the speed level can be obtained by differentiating (2) as follows:
[0065]
[0066] Inequality constraints, such as obstacle avoidance and joint limit constraints, can usually be formulated as:
[0067] g(q)≥g u (3)
[0068] Where g(q): is the constraint function, m e ∈R is the dimension of all inequality tasks, is the threshold of the inequality task. A potential field can be introduced to force g(q) to stay in the feasible region, so the inequality constraint task can be formulated at the speed level as:
[0069]
[0070] in is the velocity vector that forces g(q) away from its threshold.
[0071] Redundant robots may need to handle multiple tasks during motion, such as obstacle avoidance and visual servoing. In general, assuming there are k tasks, including equality and inequality tasks, these tasks can be combined as:
[0072]
[0073] in Represents general tasks, including equality and inequality tasks. represents the i-th task, m iis the dimension of the i-th objective. J is defined as the augmented Jacobian matrix of all tasks. In addition, the augmented Jacobian matrix of the first to i-th tasks is denoted by J i A , J and J i A It can be expressed in the following forms:
[0074] J=[J 1 ,J 2 …J k ] T ,J i A =[J 1 ,J 2 …J i ] T (6)
[0075] if Then the robot is redundant. This paper only studies serial redundant robots. In general, based on pseudo-inverse, the minimum norm solution of equation (5) can be formulated as follows:
[0076]
[0077] in is the pseudo-inverse of J. Therefore, is the minimum norm solution of equation (5). For redundant robots, there exists Combining the non-zero homogeneous solution and the minimum norm solution, the general solution of equation (5) can be written as:
[0078]
[0079] where z∈R n is a free vector, n is the null space projection of J, and the formula is:
[0080]
[0081] In order to reveal the internal relationship between the rows of the Jacobian matrix, the singular value decomposition (SVD) method is used to reformulate the Jacobian matrix as follows:
[0082]
[0083] where U∈R m×m is the output singular vector u i ∈R m×1 An orthogonal matrix, V∈R n×n is the input singular vector v i ∈R n ×1 A normal matrix, and ∑=[SO]∈R m×m, where S = diag(σ 1 ,σ 2 ,…,σ m ). Assuming the rank of J is r, then there exists:
[0084] σ 1 ≥σ 2 …≥σ r >σ r+1 =…=0;
[0085] R(J T )=span{v 1 ,…,v r};
[0086] N(J)=span{v r+1 ,…,v n};
[0087] Where N(A) is the null space of matrix A (or the kernel of matrix A), and R(A) is the range of matrix A[1]. According to the SVD method, N can be restated as follows:
[0088]
[0089] It can project the vector onto the null space of the Jacobian matrix. According to equation (11), the singular values of N are equal to 0 or 1, and N is endowed with the idempotent property N = N 2 .
[0090] 2. Activate discontinuity under the task mechanism:
[0091] During the whole motion process, some constraints on the robot are not always valid. For example, the obstacle constraint is only valid when the robot's link is close to the obstacle. When the link moves out of the obstacle avoidance area, the obstacle constraint task should be taken out of the valid task set, and therefore, the corresponding task should be removed from J. In order to implement the task activation mechanism, a binary activation matrix is defined, which represents the activation of each task as:
[0092]
[0093] The i-th task The activation factor is equal to 1 or 0. If The corresponding task is active, and if Then the corresponding task is inactive. Since there are k tasks in total, for simplicity, Expressed as Inactive tasks can be solved by multiplying (5) by to remove, and The kinematic equation is:
[0094]
[0095] In addition, the pseudo-inverse can be used to solve (13) in the following form:
[0096]
[0097] Equation (14) can successfully remove the influence of inactive tasks, but discontinuities in the joint velocity appear. Under the condition that J is full rank, since the rank of J is constant, the solution (7) based on the pseudo-inverse is continuous. However, due to the change of task activation The rank changes, equation (14) is discontinuous.
[0098] If the activation factor varies in a continuous manner, the corresponding activation matrix can be defined as:
[0099]
[0100] where h i ∈[0,1] is the activation factor of the i-th task. If h i ∈(0,1), then the i-th task is active; if h i = 1, then the i-th task is fully active; and if h i = 0, the task is inactive. For simplicity, all tasks H k The activation matrix of is denoted as H. Therefore, equation (5) activated by H can be rewritten as:
[0101]
[0102] Assume that j is full rank and due to the redundancy of robots, H j (or ) has a rank no greater than n.
[0103] and are the minimum norm solutions of (16) and (13) respectively. Since equation (16) is equivalent to (13), according to the uniqueness property of the minimum norm solution, for redundant robots, and Therefore, when a task switches from active to inactive, or vice versa, the discontinuity still exists even though the activation factor exhibits continuous behavior.
[0104] Since the pseudo-inverse based solution cannot guarantee the continuity of the task after it evolves from inactivity to full activity, which is a requirement for smooth robot motion, a continuous inverse has been proposed as follows:
[0105] Definition 1 (Mansard continuous inverse definition).
[0106] Let A∈R m×n and H∈R m×m is a diagonal activation matrix whose diagonal elements belong to [0,1]. The continuous inverse of the matrix A activated by H It has the following two properties:
[0107] 1) If h i ∈{0,1}, then:
[0108]
[0109] 2) Function is continuous.
[0110] According to Mansard's definition of continuous inverse, the continuity of the inverse is given high priority, and the equivalence with the pseudoinverse only holds for binary activations.
[0111] S2, the integer null space projection operator:
[0112] Multiply (9) by get Inspired by this equation, we can build a continuous operator N ⊙H , which works similarly to N defined in equation (9) and can ensure To this end, the projection operator is defined as:
[0113]
[0114] Among them J i is the Jacobian matrix of the i-th task, i∈{1,…,k}. In addition, B i ∈R n×n Defined as:
[0115]
[0116] is the integer null space projection operator of the augmented Jacobian operator of the first i tasks activated by H, and It can be obtained through i recursive operations. is a symmetric matrix, and according to the sine value decomposition, we can get formula (19): can be restated as:
[0117]
[0118] where v j and σ j are the jth input singular vector and singular value respectively. Compared with the null space projection defined in equation (11), The singular values of are not limited to 0 and 1, which means that the components in some directions are stretched or shortened and are no longer idempotent. Named as the integer null space projection, it is not necessarily idempotent.
[0119] It should be noted that if B i and h i are all continuous, then will also have continuity. However, B i right The singularity is very sensitive, when J i The line falls into When the null space of is, even if J is full rank, It may also become rank deficient. Before discussing the singularity of N i Orthogonality with the Jacobian matrix of each task.
[0120] S3, Redundant Robot Control Based on Continuous Inversion:
[0121] 1. Construction of a new inverse:
[0122] Using the integer null space projection operator, we can construct a new inverse J according to the continuous inverse given in Definition 1: ⊙H , as shown below:
[0123] Definition 2 (J ⊙H The continuous inverse of
[0124] Assume there are k tasks, H is the diagonal activation matrix defined in (15), whose elements are h i ∈[0,1], i∈{1,…,k}, the continuous inverse of J activated by H is defined as:
[0125]
[0126] in is the integer null space projection operator defined in (17) that includes all tasks.
[0127] 2. Continuous control law:
[0128] By defining the new inverse, we can propose a continuous solution to the kinematic equation (16):
[0129]
[0130] and the solution based on pseudo-inverse In contrast, the activation matrix H does not appear in equation (21), and the role of the activation task mechanism is also encapsulated in the integer null space operator. Therefore, in order to enhance the universality of the algorithm, the closed-loop control law is described in the following form:
[0131]
[0132] Where e = xx d is the tracking error, x d is the position of the desired trajectory, k e >0 is the error feedback gain.
[0133] 3. Use of the Integer Null Space Projection Operator:
[0134] On the basis that J is full rank, the convergence of the complete activity task holds. However, there may be conflicts between tasks, that is, J becomes rank-deficient, which leads to two problems: First, the Jacobian matrix of the activity task may show linear correlation with other activity tasks, so J i and After operation, becomes a rank deficiency; secondly, becomes a singular matrix, which results in unlimited joint velocities in Eq. (22). A damping coefficient can be used to balance accuracy with feasibility. i can be restated as:
[0135]
[0136] Among them, the positive scalar λ i It is B i The damping factor of (i∈{1,…,k}) is defined as follows:
[0137]
[0138] Among them, σ i,m yes The smallest singular value of i is the length of the singular avoidance region, λ i,max is the maximum damping parameter.
[0139] Similarly, the closed-loop control law with damping factor can be written as:
[0140]
[0141] in, is obtained by substituting equation (23) into equation (17), λ T ≥0 is the damping factor, which is defined in the same way as in equation (24). The closed-loop control law (25) is based on J ⊙Hobtained, and J ⊙H It can be obtained by performing k+1 recursive operations in each control cycle.
[0142] S4, task priority control:
[0143] The shaping null space projection operator has the superior property of maintaining orthogonality, which makes it possible to control the task priority of redundant robots with task activation mechanism. The general solution of can be formulated via the integer null space as:
[0144]
[0145] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.
[0146] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A redundant robot continuous control method based on null space projection, characterized in that: The following steps are involved: S1, constructing the shaping null space projection operator: based on the Mansard continuous inverse definition and the task constraints of the redundant robot, the augmented Jacobian operator under the activation task is established; S2, find the continuous solution of the kinematic equations: construct the inverse containing all activation tasks and use the closed-loop control law to preliminarily calculate the joint speed; S3, solution for optimizing joint velocity: In case of conflicts between activation tasks, damping coefficients are introduced and new closed-loop control laws are written; S4, implement task priority control: the general solution of joint velocity is formulated through the shaping null space, so that the priority of activation tasks can be controlled.
2. The method for continuous control of redundant robots based on null space projection according to claim 1, characterized in that: The construction of the shaping null space projection operator in S1 includes: S11, define task constraints: define task constraints of redundant robots, the constraints include equality constraints and inequality constraints; The calculation formula of the equality constraint is: x e =f(q); Where q∈R n is the vector of the joint position, x e ∈R me is a vector representing an equality constraint, f(q):R n →R me is the equation task function; The calculation formula of the inequality constraint is: g(q)≥g u ; Where g(q): is the constraint function, m e ∈R is the dimension of all inequality tasks, is the threshold value of the inequality task; S12, establish augmented Jacobian operator: Based on the task constraints, establish the augmented Jacobian operator under the activation task, expressed as: J=[J1,J2…J k ] T ; Where J is the augmented Jacobian matrix of all tasks, is the augmented Jacobian matrix of the first to the i-th task.
3. The method for continuous control of redundant robots based on null space projection according to claim 2, characterized in that: The calculation formula of the augmented Jacobian operator under the activation task is: Among them, J i is the Jacobian matrix of the ith task, is the integer null space projection operator of the augmented Jacobian operator of the first i tasks activated by H; B i ∈R n×n Defined as:
4. The method for continuous control of redundant robots based on null space projection according to claim 3, characterized in that: The augmented Jacobian operator's integer null space projection operator Obtained through i recursive operations, due to is a symmetric matrix, Rephrased as: Among them, v j and σ j are the j-th input singular vector and singular value respectively.
5. The method for continuous control of redundant robots based on null space projection according to claim 4, characterized in that: The continuous solution of the kinematic equation in S2 includes: S21, construct the inverse including all activation tasks: construct the inverse including all activation tasks based on the augmented Jacobian operator, and the calculation formula is: Where k is the number of tasks, H is a diagonal activation matrix, is the integer null space projection operator that encompasses all tasks; S22, use closed-loop control law: Use the closed-loop control law to calculate the joint speed. The calculation formula is: Where, e = xx d is the tracking error, x d is the position of the desired trajectory, k e >0 is the error feedback gain.
6. The method for continuous control of redundant robots based on null space projection according to claim 5, characterized in that: The solution of the optimized joint velocity in S3 includes: S31, introduction of damping coefficient: In case of conflicts between activation tasks, a damping coefficient is introduced; S32, write a new closed-loop control law: Write a new closed-loop control law to optimize the solution of joint speed.
7. The method for continuous control of redundant robots based on null space projection according to claim 6, characterized in that: The new closed-loop control law is expressed as:
8. The method for continuous control of redundant robots based on null space projection according to claim 7, characterized in that: B i The calculation formula after introducing the damping factor is: Among them, the positive scalar λ i It is B i Damping factor of (i∈{1,…,k}); s i,min ≥e i ; Among them, σ i,m yes The smallest singular value of i is the length of the singular avoidance region, λ i,max is the maximum damping parameter.
9. The method for continuous control of redundant robots based on null space projection according to claim 8, characterized in that: The general solution for the joint velocity in S4 is calculated as: Where z∈R n is a free vector.
Citation Information
Patent Citations
Redundant robot inverse kinematics solving method and device and redundant robot
CN111538949A
Internal force optimization method and system for multi-target fusion redundant driving parallel robot
CN111958598A
Redundant robot control method
CN117301067A
Method and system for performing a given task by a robot
DE102019202456A1
Operational space control of rigid-body dynamical systems including humanoid robots
US20130079930A1
Cited By
Repeatable motion inverse solution solving method and system with singular robustness for mechanical arm
CN121132700A
