Robot multi-attitude interpolation algorithm based on RBF and quintic spline interpolation splicing

By using the algorithm of RBF and quintic spline interpolation splicing in the multi-attitude interpolation of the robot, the problems of sudden changes in speed and acceleration and acceleration fluctuations are solved, and the smooth transition of angular velocity and angular acceleration and the synchronous control of time-attitude are achieved, improving Improve the stability and accuracy of robot movement.

CN118832584APending Publication Date: 2024-10-25EFORT INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411049588.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Existing multi-position interpolation methods for robots suffer from sudden changes in initial and final speeds and accelerations, the inability to accurately reach the midpoint posture, and a wide range of acceleration fluctuations, resulting in robot vibration and possible collision risks.

Method used

A robot multi-pose interpolation algorithm based on RBF and quintic spline interpolation splicing is used to achieve a smooth transition of angular velocity and angular acceleration in the starting and ending stages through quintic spline interpolation, and RBF interpolation is used to smooth acceleration in the intermediate stage. Curve to ensure time-attitude synchronization.

Benefits of technology

It achieves a smooth transition of angular velocity and angular acceleration, reduces acceleration jitter, ensures the smoothness and accuracy of robot movement, and improves the reliability of movement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118832584A_ABST
    Figure CN118832584A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of robot motion control, in particular to a robot multi-attitude interpolation algorithm based on RBF (Radial Basis Function) and quintic spline interpolation splicing, which comprises the following steps: converting attitude information of a robot into a logarithmic quaternion form; interpolation is carried out based on RBF; carrying out two times of difference on the RBF interpolation curve to obtain an angular velocity curve and an angular acceleration curve; searching an optimal splicing point; performing spline interpolation for five times at the starting point, the ending point and the ending point respectively; and splicing the RBF interpolation curve and the quintic spline interpolation curve. According to the method, the smooth transition of the angular velocity and the angular acceleration is realized by adopting the quintic spline interpolation in the starting and ending stages of the attitude curve. The sudden change of the angular velocity and the angular acceleration is avoided, and the stability of the robot in the posture change process is ensured. In the middle stage of a motion curve, an RBF interpolation method is adopted, the motion smoothness is further improved, and acceleration jitter is reduced. It can be ensured that the robot passes through a specific posture node at a preset time point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of robot motion control, in particular to a robot multi-posture interpolation algorithm based on RBF and quintic spline interpolation splicing. Background Art

[0002] Trajectory planning is the basis of robot motion control. Smooth and accurate trajectories have an important impact on ensuring the work efficiency and stability of the robot. The trajectory of the robot in the workspace - Cartesian space can intuitively describe the real-time planning dynamics of the robot, which is convenient for teaching and observation. Therefore, in the daily process of robots, the trajectory is usually planned in Cartesian space. In Cartesian space, the trajectory contains position and posture, and usually the position and posture interpolation are performed independently. Position interpolation is relatively simple, but since the posture is specified in SO(3), it is particularly difficult to plan a smooth and coherent trajectory. Especially in multi-posture interpolation, there are problems such as discontinuous speed and acceleration at the intermediate point, and start-stop jumps. These problems may cause vibration of the robot, especially in applications such as welding and spraying, which may cause collision or interference. Therefore, in order to improve the reliability of robot applications, a posture interpolation method with continuous angular velocity and angular acceleration is urgently needed.

[0003] "Multi-posture interpolation collaborative robot trajectory planning method, device, equipment and medium" (publication number: CN117733856A) uses the squad method for multi-posture interpolation. This method cannot guarantee the second-order continuity of the intermediate point posture, and the angular velocity and angular acceleration at the initial and terminal moments are not 0, causing the robot to vibrate at the start and stop moments; "A method and system for smoothing the path of continuous posture of industrial robots" (publication number: CN 115958597A) proposes a method of smoothing the intermediate point posture using a high-order continuous curve, achieving the continuity of speed and acceleration, but reaching the trajectory intermediate point posture at a given time cannot meet the trajectory passing the intermediate point posture requirement, such as the arc trajectory passing the intermediate point. "Smooth orientation interpolation using parametric quintic-polynomial-based quaternion spline curve" uses quaternion quintic spline for posture interpolation to ensure the continuity of speed and acceleration, but the acceleration fluctuation amplitude is large, causing the robot to shake.

[0004] In summary, the existing posture interpolation methods have the following problems:

[0005] First, the initial and final speeds and accelerations change suddenly. In traditional posture interpolation, the initial and final speeds and accelerations change suddenly, and it is impossible to accelerate from 0 or decelerate smoothly to 0. In reality, it is difficult for the motor to start at such a huge speed or acceleration or suddenly turn to too large a deceleration.

[0006] Second, it is impossible to accurately reach the middle point posture at a given moment; some posture interpolation methods choose to pass the middle point posture in a smooth manner to improve the continuity of the trajectory. However, this affects the accuracy of task execution, and the actual running trajectory may deviate greatly from the teaching path. For curves with obstacle avoidance or process action characteristics, this type of processing method cannot maintain the characteristics of the trajectory and may even have the risk of collision.

[0007] Third, the acceleration fluctuation range is large. The use of polynomials, especially fifth-order and higher-order interpolation methods, can overcome the above difficulties. However, when high-order polynomials are interpolated, there is a high probability that a peak and a trough will appear between the two interpolated points, resulting in frequent fluctuations in acceleration and ultimately causing the robot to jitter. Summary of the invention

[0008] In order to solve the above technical problems, the present invention proposes a robot multi-posture interpolation algorithm based on RBF and quintic spline interpolation. Quintic spline interpolation is used in the first and last stages to ensure that the robot starts from a stationary state and stops smoothly when approaching the terminal state. A strict time-posture synchronization curve is established to ensure that the robot always passes through the corresponding posture node at a given time. The RBF function is used to interpolate the middle section of the posture curve, which can effectively smooth the middle section of the acceleration curve without too many peaks and troughs.

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

[0010] A robot multi-posture interpolation algorithm based on RBF and quintic spline interpolation splicing includes the following steps:

[0011] Step 1: Move the robot at t0, t q ...t n The attitude information at each moment is converted into quaternion form, recorded as q0, q1...q n , n represents the number of postures;

[0012] Step 2: Replace q0, q1...q in step 1 n Convert to exponential form:

[0013]

[0014] And take the logarithm of both sides of the above equation

[0015] Step 3: Use P in step 2 i , based on RBF interpolation calculation, for n posture points, the following equations can be obtained:

[0016]

[0017] Arrangement gives the linear equation:

[0018]

[0019] in, Let Φ represent The order n×n matrix, C and D represent the coefficient vector and the output vector. The above formula is rearranged to Φ=CD, then the coefficient vector can be obtained by the following formula:

[0020] C=Φ -1 D;

[0021] Step 4: Obtain the RBF interpolation curve q from step 3 rbf , for q rbf Differencing twice, we get the angular velocity curve ω rbf The angular acceleration curve α rbf ;

[0022] Step 5: Based on the q obtained in Steps 3 and 4 rbf ,ω rbf and α rbf Find the best splicing point q near the starting point and the end point j0 With q j1 ;

[0023] Step 6: Calculate q0 and q respectively j0 The rotation transformation and q j1 With q n The rotation transformation The calculation formula is as follows:

[0024]

[0025] in,

[0026] Step 7: Calculate the angular velocity and angular acceleration of the splicing point based on the calculation result obtained in step 5. The first derivative at With the second derivative as well as The first derivative at With the second derivative

[0027] Step 8: It is known that the rotation transformation, angular velocity, and angular acceleration at the starting time are 0. The first derivative at With the second derivative Construct the first curve q using quintic spline spline0 ;

[0028] Step 9: It is known that the rotation transformation, angular velocity, and angular acceleration at the time of stopping are 0. The first derivative at With the second derivative Use quintic spline to construct the tail curve q spline1 ;

[0029] Step 10: Remove the q obtained in step 3 rbf The first and last parts of the curve q obtained in step 8 spline0 and the tail curve q obtained in step 9 spline1 Splice to q obtained in step 3 rbf At the beginning and end, we get the final trajectory q mix .

[0030] As a further improvement of the present invention, the optimal splicing point q in step 5 j0 With q j1 The following conditions must be met:

[0031] First, the jerk is less than the threshold ε set by the user;

[0032] Second, the curve at the joint has only one peak or trough.

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

[0034] Smooth start-stop transition:

[0035] The present invention realizes smooth transition of angular velocity and angular acceleration by using quintic spline interpolation at the start and end stages of the posture curve, avoids sudden changes in angular velocity and angular acceleration, and ensures the stability of the robot during posture change.

[0036] Reduce acceleration jitter:

[0037] The present invention adopts RBF interpolation method in the middle stage of the motion curve to further improve the smoothness of the motion. RBF interpolation not only meets the requirement of smoothness during the robot motion process, but also significantly reduces the jitter amplitude of acceleration.

[0038] Synchronous control of time and posture:

[0039] The posture curve designed by the present invention can ensure that the robot passes through a specific posture node at a predetermined time point. This synchronous control strategy ensures the synchronization of the trajectory posture of the robot end effector with time, thereby improving the accuracy and reliability of the robot movement. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1It is a flow chart of the present invention. DETAILED DESCRIPTION

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

[0043] like Figure 1 As shown, a robot multi-posture interpolation algorithm based on RBF and quintic spline interpolation splicing includes the following steps:

[0044] Step 1: Move the robot at t0, t q ...t n The attitude information at each moment is converted into quaternion form, recorded as q0, q1...q n , n represents the number of postures.

[0045] In this embodiment, the terminal posture information of the robot at the time t0, t1, t2 is recorded and represented by quaternions q0, q1, q2.

[0046] Step 2: Replace q0, q1...q in step 1 n Convert to exponential form:

[0047]

[0048] And take the logarithm of both sides of the above equation

[0049] In this embodiment, q0, q1, q2 in step 1 are converted into exponential forms P1, P2, P3.

[0050] Step 3: Use P in step 2 i , based on RBF interpolation calculation, for n posture points, the following equations can be obtained:

[0051]

[0052] Arrangement gives the linear equation:

[0053]

[0054] in, Let Φ represent The order n×n matrix, C and D represent the coefficient vector and the output vector. The above formula is rearranged to Φ=CD, then the coefficient vector can be obtained by the following formula:

[0055] C=Φ -1 D.

[0056] In this embodiment, for three posture points, the following equations can be obtained:

[0057]

[0058] Arrangement gives the linear equation:

[0059]

[0060] in, After testing, δ=1 was selected. Let Φ represent A 3×3 matrix.

[0061] Step 4: Obtain the RBF interpolation curve q from step 3 rbf , for q rbf Differencing twice, we get the angular velocity curve ω rbf The angular acceleration curve α rbf .

[0062] Step 5: Based on the q obtained in Steps 3 and 4 rbf ,ω rbf and α rbf Find the best splicing point q near the starting point and the end point j0 With q j1 ; Best splicing point q j0 With q j1 The following conditions must be met: first, the jerk is less than the threshold ε set by the user; second, the curve at the joint has only one peak or trough.

[0063] In this embodiment, ε = 20° / s 3 .

[0064] Step 6: Calculate q0 and q respectively j0 The rotation transformation and q j1 With q n The rotation transformation The calculation formula is as follows:

[0065]

[0066] in,

[0067] Step 7: Calculate the angular velocity and angular acceleration of the splicing point based on the calculation result obtained in step 5. The first derivative at With the second derivative as well as The first derivative at With the second derivative

[0068] Step 8: It is known that the rotation transformation, angular velocity, and angular acceleration at the starting time are 0. The first derivative at With the second derivative Construct the first curve q using quintic spline spline0 .

[0069] Step 9: It is known that the rotation transformation, angular velocity, and angular acceleration at the time of stopping are 0. The first derivative at With the second derivative Use quintic spline to construct the tail curve q spline1 .

[0070] Step 10: Remove the q obtained in step 3 rbf The first and last parts of the curve q obtained in step 8 spline0 and the tail curve q obtained in step 9 spline1 Splice to q obtained in step 3 rbf At the beginning and end, we get the final trajectory q mix .

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

Claims

1. A robot multi-posture interpolation algorithm based on RBF and quintic spline interpolation splicing, characterized by: The following steps are involved: Step 1: Move the robot at t0, t q ...t n The attitude information at each moment is converted into quaternion form, recorded as q0, q1...q n , n represents the number of postures; Step 2: Replace q0, q1...q in step 1 n Convert to exponential form: And take the logarithm of both sides of the above equation Step 3: Use P in step 2 i , based on RBF interpolation calculation, for n posture points, the following equations can be obtained: Arrangement can get the linear equation: in, Let Φ represent The order n×n matrix, C and D represent the coefficient vector and the output vector. The above formula is rearranged to Φ=CD, then the coefficient vector can be obtained by the following formula: C=Φ -1 D; Step 4: Obtain the RBF interpolation curve q from step 3 rbf , for q rbf Differencing twice, we get the angular velocity curve ω rbf and angular acceleration curve α rbf ; Step 5: q obtained based on steps 3 and 4 rbf ,ω rbf and α rbf Find the best splicing point q near the starting point and the end point j0 With q j1 ; Step 6: Calculate q0 and q respectively j0 The rotation transformation and q j1 With q n The rotation transformation Step 7: Calculate the angular velocity and angular acceleration of the splicing point based on the calculation result obtained in step 5. The first derivative at With the second derivative as well as The first derivative at With the second derivative Step 8: It is known that the rotation transformation, angular velocity, and angular acceleration at the starting time are 0. The first derivative at With the second derivative Construct the first curve q using quintic spline spline0 ; Step 9: It is known that the rotation transformation, angular velocity, and angular acceleration at the time of stopping are 0. The first derivative at With the second derivative Construct the tail curve q using quintic spline spline1 ; Step 10: Remove the q obtained in step 3 rbf The first and last parts of the curve q obtained in step 8 spline0 and the tail curve q obtained in step 9 spline1 Splice to q obtained in step 3 rbf At the beginning and end, we get the final trajectory q mix .

2. The robot multi-posture interpolation algorithm based on RBF and quintic spline interpolation splicing according to claim 1 is characterized in that: The best splicing point q in step 5 j0 With q j1 The following conditions must be met: First, the jerk is less than the threshold ε set by the user; Second, the curve at the joint has only one peak or trough.

3. The robot multi-posture interpolation algorithm based on RBF and quintic spline interpolation splicing according to claim 1 is characterized in that: Step 6 The calculation formula is as follows: in,