Robot constant force grinding method and system based on follow-up compensation

The force sensor is used to measure the grinding force and calculate the follow-up compensation value, combined with the motion planner to adjust the robot motion, which solves the problem of difficulty in controlling the robot grinding contact force in the existing technology, achieves efficient and stable grinding effects, and reduces R&D costs and cycle.

CN118848680APending Publication Date: 2024-10-29FOSHAN INST OF INTELLIGENT EQUIP TECH

Patent Information

Application Number
CN202411279395.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing robot polishing methods have long development cycles, high costs, and are prone to technical bottlenecks, making it difficult to achieve stable contact force control and affecting polishing quality and efficiency.

Method used

A force sensor is used to measure the grinding force, the follow-up compensation value is calculated, and the motion trajectory and speed of the robot are adjusted through a motion planner to achieve real-time control of the grinding contact force and ensure constant grinding force.

Benefits of technology

It significantly reduces R&D costs and cycles, improves grinding accuracy and consistency, expands the application range of robots in different scenarios and environments, simplifies the manual adjustment process, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118848680A_ABST
    Figure CN118848680A_ABST
Patent Text Reader

Abstract

The invention relates to a robot constant force grinding method and system based on follow-up compensation, and belongs to the field of robot machining. A robot constant force grinding method based on follow-up compensation comprises the following steps that S1, actual grinding force is obtained through a measured value of a force sensor, and a follow-up compensation value is obtained; and S2, a motion planner is designed, follow-up motion planning, follow-up motion superposition and target joint angle value calculation are included, and the target joint angle value is issued to the robot. And accurate control over the grinding force of the robot can be achieved by obtaining the follow-up compensation value. Through the motion planner, follow-up motion planning and follow-up motion superposition can be achieved, the motion trail of the robot is automatically adjusted so as to meet different grinding requirements, the manual adjustment process is simplified, and the working efficiency is improved. The method is simple and efficient, the research and development cost is remarkably reduced, the research and development period is remarkably shortened, and the good polishing effect is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot processing, and in particular to a robot constant force grinding method and system based on follow-up compensation. Background Art

[0002] In industrial production, the grinding process is crucial to ensure the smoothness and precision of the product surface. Traditional manual grinding has problems such as low efficiency, unstable grinding quality, and high labor costs, and has gradually become unable to meet the needs of modern manufacturing. At the same time, with the continuous improvement and development of robot grinding technology, its application in manufacturing production is becoming more and more extensive, and more and more manufacturing production tasks use robots for grinding operations. For example, in automobile manufacturing, robots are used to grind key components such as engine cylinders and crankshafts; in the aerospace field, robots are used for precision grinding of aircraft parts. In the future, with the acceleration of the intelligent transformation of the manufacturing industry, robot grinding will be more widely used, and robot grinding will also become an indispensable part of modern manufacturing, and will drive the manufacturing industry to develop in a more efficient and higher-quality direction.

[0003] Compared with other processes, the grinding process requires a more stable grinding contact force. On the one hand, excessive contact force will cause damage to the workpiece; on the other hand, too small contact force will affect the grinding effect and make it difficult to meet the requirements of the relevant process. Therefore, stable contact force is one of the key factors to ensure the quality of robot grinding. In order to effectively control the contact force during robot grinding, a compliance control method can usually be used, which is divided into two categories: passive compliance control and active compliance control. Passive compliance control is mainly achieved through mechanical structure design, such as adding springs, dampers and other components to the end of the robot grinding tool to absorb excessive external force, thereby maintaining the stability of the contact force. Unlike the passive method, active compliance control monitors the contact force or displacement information in real time through sensors, and quickly adjusts the robot motion parameters based on these feedback signals to achieve dynamic response to external changes. Since passive compliance control relies on the natural compliance of the physical system, it is only applicable to simple tasks and situations where the environment does not change much. Active compliance control can provide more accurate force control effects and is suitable for surface treatment tasks with high precision and complex contours. Therefore, active compliance control methods have been widely used in robot grinding tasks.

[0004] To ensure that the robot outputs stable contact force during the grinding process, it usually relies on more complex theoretical models or passive compliance mechanisms, such as force contact models, robot grinding models, and even reinforcement learning methods. However, these cutting-edge technologies have long R&D cycles, high costs, and are prone to unforeseen technical bottlenecks. Therefore, there is an urgent need to quickly deploy feasible solutions to meet the needs of initial technology implementation.

[0005] For actual engineering applications, the present invention uses a force sensor to collect the grinding contact force, then obtains the corresponding momentum compensation value based on the real-time contact force, and finally superimposes the momentum compensation value in real time through the motion planning algorithm to achieve real-time regulation of the grinding contact force. The method proposed by the present invention is simple and efficient, which not only significantly reduces the R&D cost and cycle, but also achieves better grinding effect in engineering applications and has high application value. Summary of the invention

[0006] Based on this, it is necessary to provide a robot constant force grinding method and system based on follow-up compensation to address the problems of long development cycle, high cost and easy technical bottlenecks of existing robot grinding methods.

[0007] A robot constant force grinding method based on follow-up compensation comprises the following steps:

[0008] S1. Use the force sensor measurement value to obtain the actual grinding force and the follow-up compensation value;

[0009] S2. Design a motion planner, including follow-up motion planning, follow-up motion superposition and calculation of target joint angle values, and send the target joint angle values ​​to the robot.

[0010] By measuring the actual grinding force through the force sensor and obtaining the follow-up compensation value, the robot's grinding force can be accurately controlled, so that the robot can maintain a constant grinding force in different working environments, thereby improving the accuracy and consistency of grinding. Through the motion planner, follow-up motion planning and follow-up motion superposition can be realized, and the robot's motion trajectory and speed can be automatically adjusted to adapt to different grinding requirements, simplifying the manual adjustment process and improving work efficiency. With good follow-up compensation capabilities, the robot can perform grinding operations in a wider range of scenarios and environments, including grinding of complex-shaped workpieces, surface treatment of different materials, etc., expanding the application range of the robot, and obtaining the follow-up compensation value can adjust the robot's motion state in real time, making the robot more stable during the grinding process. In addition, this method is simple and efficient, which not only significantly reduces the R&D cost and cycle, but also achieves good grinding effects in engineering applications and has high application value.

[0011] In any of the above technical solutions, in step S1, the specific steps of obtaining the follow-up compensation value are as follows:

[0012] S11, determining the relationship between the force sensor coordinate system and the grinding tool coordinate system, and determining the static force and static moment transmission relationship between the coordinate systems;

[0013] S12, calculating the relative rotation matrix between the tool coordinate system, the force sensor coordinate system, the robot end flange coordinate system and the robot base coordinate system;

[0014] S13, calculating the grinding force deviation of the robot in the nth interpolation cycle based on the preset grinding force and the direction of the grinding contact force;

[0015] S14. Calculate the following compensation value of the nth interpolation period according to the grinding force deviation and the following compensation value of the n-1th interpolation period.

[0016] By obtaining the follow-up compensation value, the robot's grinding force can be accurately adjusted to ensure constant force during the grinding process, avoiding the problem of unstable grinding surface quality due to force fluctuations. Determining the relationship between the two and the transmission relationship between static force and static moment enables the robot to more accurately perceive the actual force during the grinding process, thereby performing more accurate follow-up compensation and further improving grinding accuracy. Calculating the robot's grinding force deviation and follow-up compensation value in each interpolation cycle allows the robot to self-adjust its motion trajectory and force to adapt to different grinding requirements, thereby improving work efficiency. In addition, the robot can automatically perform follow-up compensation, and the operator only needs to preset the grinding force and the direction of the grinding contact force, without the need to monitor and adjust the robot's movement in real time, reducing the difficulty of operation.

[0017] In any of the above technical solutions, in step S1, the calculation method for obtaining the follow-up compensation value is as follows:

[0018] First, determine the relationship between the force sensor coordinate system and the grinding tool coordinate system, and determine the transmission relationship between the static force and static moment between the coordinate systems. T f. T τ∈R 3×1 It represents the external force and torque on {T}, and {T} is the tool coordinate system; S f. S τ∈R 3×1 Represents the external force and torque measured by the sensor. S P represents the description of the {T} coordinate origin under {S}, {S} is the force sensor coordinate system;

[0019] According to the static force transmission formula between connecting rods:

[0020]

[0021] therefore:

[0022]

[0023] Among them, s f 、s τ Measured by force sensor, Represents the rotation matrix from {T} to {S} and {S} to {T};

[0024] S P is calculated as follows:

[0025]

[0026] in, is the rotation matrix of {S} and {T} relative to {F}, where {F} is the robot end flange coordinate system; is the description of the coordinate origin of {T} under {F}, is the description of the coordinate origin of {S} under {F}; the above four quantities are obtained through force sensor calibration or tool calibration; is the rotation matrix of {F} relative to {O}, {O} is the robot base coordinate system, It is obtained through the robot's forward kinematics equation;

[0027] Then calculate the follow-up compensation value:

[0028]

[0029] Among them, u(n) is the follow-up compensation value of the nth interpolation period, e(n)∈R 6×1 is the grinding force deviation of the robot in the nth interpolation cycle, r(n) is the preset grinding force, generally set to r(n) = [0 0 c 0 0 0] T , indicating that the grinding contact force is applied only along the Z-axis direction of the tool coordinate system; c is a constant value, and its value depends on the specific grinding scenario; α, β, and K are hyperparameters, where α is 2.5×10 -3 , β is 0.1; in particular, u(0) = [0 0 0 0 0 0] T ;

[0030] For the nth interpolation cycle, K is determined as follows:

[0031]

[0032] By calculating the follow-up compensation value, the grinding force of the robot can be accurately adjusted to ensure that a constant preset grinding force is applied during the grinding process, making the grinding process more stable and reliable and improving the grinding quality. Determining the relationship between the force sensor coordinate system and the grinding tool coordinate system, and the transmission relationship between static force and static moment between the coordinate systems, can more accurately describe and measure external forces and external moments, thereby more accurately calculating the follow-up compensation value. The calculation formula contains constants and some hyperparameters, which can be adjusted according to the specific grinding scenario, so that the method can flexibly adapt to different grinding needs, whether for different materials, workpiece shapes or different grinding requirements, to achieve effective constant force grinding. At the same time, the method can automatically calculate the follow-up compensation value, improve the degree of automation of the grinding process, and thus improve production efficiency.

[0033] In any of the above technical solutions, in step S2, the specific steps of designing a motion planner are as follows:

[0034] S21, planning the follow-up compensation value of each compensation dimension, and using the binary search method to iteratively search for the quickness value of the follow-up motion;

[0035] S22, calculating the follow-up compensation value of each interpolation cycle, and superimposing the follow-up motion onto the main motion of the robot;

[0036] S23, using the robot inverse kinematics equation to solve the target joint angle value after superimposing the follow-up compensation value;

[0037] S24, sending the target joint angle value to the robot to control the grinding contact force.

[0038] By planning the servo compensation value of each compensation dimension, the robot's motion trajectory can be controlled in real time. The agility value of the servo motion can be iteratively searched using the binary search method, the servo compensation value of each interpolation cycle is calculated, and the servo motion is superimposed on the robot's main motion to achieve precise control of the grinding contact force. This ensures that the contact force remains constant during the grinding process to avoid unstable grinding quality caused by changes in force. The target joint angle value after superimposing the servo compensation value is solved using the robot's inverse kinematics equation, and the target joint angle value is sent to the robot to achieve control of the grinding contact force. The above processes can automatically complete complex kinematic calculations and simplify the operation process. In addition, by adjusting the servo compensation value and the agility value of the iterative search, different grinding tasks can be adapted, which improves the flexibility and adaptability of the system.

[0039] In any of the above technical solutions, in step S2, the calculation method of the follow-up motion planning is as follows:

[0040] The following compensation value u = [Δx Δy Δz ΔA ΔB ΔC] T Planning is performed for each compensation dimension; for the compensation value δ of the i-th (i=1, 2, ..., 6) compensation dimension i , assuming the initial compensation speed is v si , the acceleration is a si , the maximum acceleration set by the program is Acc i , the maximum deceleration is Dec i , the maximum speed is Jerk i ,Pick:

[0041]

[0042] in, b1=a si , b2=Acc i , b3=-Dec i ;

[0043] For the i-th (i=1, 2, ..., 6) compensation dimension, t1 represents the acceleration from the initial acceleration a si Increase to the maximum acceleration Acc i time; t2 represents the acceleration from the maximum acceleration Acc i Reduce to the maximum deceleration Dec i time; t3 represents the acceleration from the maximum deceleration Dec i The time from the beginning of the experiment to the end of the experiment is 0, t represents the time variable, and the range of variation is [0, t3];

[0044] Integrate the acceleration once and twice:

[0045]

[0046]

[0047] in,

[0048]

[0049] Considering the speed constraint and displacement constraint, the agility value of motion planning is iteratively searched through the binary search method:

[0050] a) Initialization: define the search interval as [m, n], let m = 0, n = Jerk i , jerk = 0.5·(m+n);

[0051] b) Calculate v i (t3):

[0052]

[0053] c) Let k1 = k3, k2 = jerk, v i (t3)=0, then:

[0054]

[0055] Solve the above linear equations to obtain t1, t2, and t3;

[0056] d) Calculate p i (t3);

[0057] e) If abs(p i (t3)-S i )<10 -5 , then output t1, t2, t3 and end the search; if pi (t3)>δ i , then let m = 0.5·(m+n), jerk = 0.5·(m+n), and return to step b); if p i (t3)<δ i , then let n=0.5·(m+n), jerk=0.5·(m+n), and return to step b); if jerk=Jerk i When p i (t3)>δ i , then let s i =p i (t3), jerk = Jerk i , recalculate and output the corresponding t1, t2, t3, and end the search.

[0058] By planning the follow-up compensation value of each compensation dimension, the fine control strategy enables the robot to track the target path more accurately during the grinding process, improving the accuracy and efficiency of grinding. The introduction of initial compensation speed, acceleration, maximum acceleration, maximum deceleration and maximum agility parameters set by the program can more effectively control the robot's motion acceleration, avoid the impact and vibration caused by acceleration mutation, thereby ensuring the stability of the grinding process and the uniformity of the grinding quality. The binary search method is used to iteratively search for the agility value of motion planning. Compared with other methods, this method has higher search efficiency and more accurate search results, and can find the optimal agility value faster, thereby optimizing the robot's motion trajectory. While considering speed constraints and displacement constraints, this method also considers other factors that may affect the grinding quality, such as the robot's dynamic performance, environmental interference, etc. Through reasonable motion planning, it ensures that the robot can achieve constant force grinding in complex environments.

[0059] In any of the above technical solutions, in step S2, the calculation method of the follow-up motion superposition is as follows:

[0060] For the nth interpolation cycle, its follow-up compensation value u n The calculation is as follows:

[0061] u n (i) = p i (n·T s )

[0062] Among them, u n (i) is u n The value of the i-th compensation dimension, T s is the interpolation period of the robot, which is 0.04s.

[0063] For u n =[Δx n Δy nΔz n ΔA n ΔB n ΔC n ] T , calculate the homogeneous transformation matrix:

[0064]

[0065] Wherein, c·, s· represent cos·, sin· respectively, and {T′} is the tool coordinate system after follow-up compensation;

[0066] Finally, the follower motion is superimposed on the robot's main motion.

[0067] Through the calculation method of superimposed follow-up motion, the robot's motion trajectory can be accurately adjusted, so that the robot can more accurately control the force and position during grinding operations, thereby improving the accuracy and stability of grinding. The calculation of the homogeneous transformation matrix allows this method to adapt to different grinding scenarios and tool coordinate systems, improving the adaptability and flexibility of the robot. The calculation method of superimposed follow-up compensation value and the calculation process of the homogeneous transformation matrix have a faster calculation speed and response speed, allowing the robot to adjust the motion trajectory and force in real time, improving the response speed and efficiency of the entire grinding process.

[0068] In any of the above technical solutions, the method for calculating the target joint angle value is as follows: Calculate the homogeneous transformation matrix of {T′} relative to {O}:

[0069]

[0070] in, is the homogeneous transformation matrix from the flange coordinate system {F} to the robot base coordinate system {O}, which is calculated by the robot forward kinematics equation. The target joint angle q(n·T) after superimposing the follow-up compensation value is solved by solving the robot inverse kinematics equation s ) and sent to the robot.

[0071] By combining the calculations of the robot's forward kinematics equation and inverse kinematics equation, the target joint angle value after superimposing the follow-up compensation value can be solved more accurately, which helps the robot to dynamically adjust according to the actual situation to adapt to different grinding environments and task requirements. The introduction of the follow-up compensation value allows the robot to more accurately control the force and position during the grinding process, thereby improving the accuracy and quality of grinding. Sending the target joint angle value to the robot can optimize the robot's motion trajectory so that it can complete the grinding task more smoothly and efficiently, which helps to reduce the robot's energy consumption and wear and increase the robot's service life.

[0072] A robot constant force grinding system based on follow-up compensation, comprising:

[0073] A follow-up compensation value acquisition module is used to take the force deviation signal in the grinding process as input and calculate the corresponding follow-up compensation value as output;

[0074] The motion planner is used to take the joint angle value and the follow-up compensation value obtained by the robot's main motion planning as input, and obtain the target joint angle value after follow-up compensation by superimposing the follow-up motion on the basis of the main motion.

[0075] By introducing the follow-up compensation value acquisition module, the system can sense the force deviation signal during the grinding process in real time and calculate the corresponding follow-up compensation value. This function enables the system to dynamically adjust the grinding process, thereby significantly improving the accuracy and consistency of grinding. The introduction of the follow-up compensation value enables the system to adapt to different grinding tasks and material types. No matter what kind of force deviation is faced, it can ensure constant grinding force by adjusting the follow-up compensation value. Through the motion planner, the system can superimpose the follow-up motion on the basis of the main motion of the robot, so as to obtain the target joint angle value after the follow-up compensation. The system can achieve more efficient motion trajectory planning while maintaining constant force grinding. The system has a high degree of automation and can adjust the grinding parameters in real time without manual intervention, which greatly reduces the burden on workers.

[0076] In any of the above technical solutions, the follow-up compensation value obtaining module includes:

[0077] Force deviation signal acquisition unit;

[0078] The follow-up compensation value calculation unit is used to calculate the follow-up compensation value according to the collected force deviation signal.

[0079] By introducing the force deviation signal acquisition unit, the system can monitor and obtain the force deviation signal during the grinding process in real time, making the system highly adaptable to changes in the external environment, such as irregularities on the workpiece surface, differences in material hardness, etc. The existence of the follow-up compensation value calculation unit enables the system to quickly calculate the corresponding follow-up compensation value based on the force deviation signal collected in real time, thereby improving the system's response speed and grinding accuracy, and reducing the risk of workpiece damage caused by over- or under-grinding.

[0080] In any of the above technical solutions, the motion planner includes:

[0081] A receiving unit for the joint angle values ​​of the robot's main motion;

[0082] A follow-up compensation value receiving unit;

[0083] The follow-up motion superposition unit is used to superimpose the follow-up motion on the basis of the main motion to obtain the target joint angle value.

[0084] By setting a joint angle value receiving unit of the robot's main motion to receive and process the joint angle value of the robot's main motion, the follow-up compensation value is received by the follow-up compensation value receiving unit, and the joint angle value and the follow-up compensation value are combined. The follow-up motion superposition unit calculates the joint angle value after superimposing the follow-up compensation value, that is, the target joint angle value, and superimposes the follow-up motion on the main motion to realize the real-time adjustment capability of the robot, thereby making the grinding process more precise and flexible. At the same time, the system can adapt to different working environments and workpiece surface conditions to achieve constant force grinding. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] Figure 1 This is the control principle diagram of the robot constant force grinding method based on follow-up compensation;

[0086] Figure 2 It is the relationship diagram between the force sensor coordinate system and the tool coordinate system;

[0087] Figure 3 This is the flow chart of follow-up compensation;

[0088] Figure 4 It is a flow chart of the steps of the robot constant force grinding method based on follow-up compensation;

[0089] Figure 5 A flow chart of steps for obtaining a follow-up compensation value;

[0090] Figure 6 Flowchart of the steps for designing a motion planner. DETAILED DESCRIPTION

[0091] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0092] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0093] A robot constant force grinding method and system based on follow-up compensation according to some embodiments of the present invention will be described below with reference to the accompanying drawings.

[0094] Embodiment 1, as Figures 1 to 6 As shown, this embodiment discloses a robot constant force grinding method based on follow-up compensation, comprising the following steps:

[0095] S1. Use the force sensor measurement value to obtain the actual grinding force and the follow-up compensation value;

[0096] S2. Design a motion planner, including follow-up motion planning, follow-up motion superposition and calculation of target joint angle values, and send the target joint angle values ​​to the robot.

[0097] By measuring the actual grinding force through the force sensor and obtaining the follow-up compensation value, the robot's grinding force can be accurately controlled, so that the robot can maintain a constant grinding force in different working environments, thereby improving the accuracy and consistency of grinding. Through the motion planner, follow-up motion planning and follow-up motion superposition can be realized, and the robot's motion trajectory and speed can be automatically adjusted to adapt to different grinding requirements, simplifying the manual adjustment process and improving work efficiency. With good follow-up compensation capabilities, the robot can perform grinding operations in a wider range of scenarios and environments, including grinding of complex-shaped workpieces, surface treatment of different materials, etc., expanding the application range of the robot, and obtaining the follow-up compensation value can adjust the robot's motion state in real time, making the robot more stable during the grinding process. In addition, this method is simple and efficient, which not only significantly reduces the R&D cost and cycle, but also achieves good grinding effects in engineering applications and has high application value.

[0098] like Figure 5 As shown, in any of the above technical solutions, in step S1, the specific steps of obtaining the follow-up compensation value are as follows:

[0099] S11, determining the relationship between the force sensor coordinate system and the grinding tool coordinate system, and determining the static force and static moment transmission relationship between the coordinate systems;

[0100] S12, calculating the relative rotation matrix between the tool coordinate system, the force sensor coordinate system, the robot end flange coordinate system and the robot base coordinate system;

[0101] S13, calculating the grinding force deviation of the robot in the nth interpolation cycle based on the preset grinding force and the direction of the grinding contact force;

[0102] S14. Calculate the following compensation value of the nth interpolation period according to the grinding force deviation and the following compensation value of the n-1th interpolation period.

[0103] By obtaining the follow-up compensation value, the robot's grinding force can be accurately adjusted to ensure constant force during the grinding process, avoiding the problem of unstable grinding surface quality due to force fluctuations. Determining the relationship between the two and the transmission relationship between static force and static moment enables the robot to more accurately perceive the actual force during the grinding process, thereby performing more accurate follow-up compensation and further improving grinding accuracy. Calculating the robot's grinding force deviation and follow-up compensation value in each interpolation cycle allows the robot to self-adjust its motion trajectory and force to adapt to different grinding requirements, thereby improving work efficiency. In addition, the robot can automatically perform follow-up compensation, and the operator only needs to preset the grinding force and the direction of the grinding contact force, without the need to monitor and adjust the robot's movement in real time, reducing the difficulty of operation.

[0104] In any of the above technical solutions, in step S1, the calculation method for obtaining the follow-up compensation value is as follows:

[0105] For the force sensor and the grinding tool, the corresponding coordinate system relationship is as follows: Figure 2 As shown in the figure, T f,Tτ∈R 3×1 It represents the external force and torque on {T}, and {T} is the tool coordinate system; S f. S τ∈R 3×1 Represents the external force and torque measured by the sensor. S P represents the description of the {T} coordinate origin under {S}, {S} is the force sensor coordinate system;

[0106] According to the static force transmission formula between connecting rods:

[0107]

[0108] therefore:

[0109]

[0110] in, S f. S τ is measured by the force sensor, Represents the rotation matrix from {T} to {S} and {S} to {T};

[0111] S P is calculated as follows:

[0112]

[0113] in, is the rotation matrix of {S} and {T} relative to {F}, where {F} is the robot end flange coordinate system; is the description of the coordinate origin of {T} under {F}, is the description of the coordinate origin of {S} under {F}; the above four quantities are obtained through force sensor calibration or tool calibration; is the rotation matrix of {F} relative to {O}, {O} is the robot base coordinate system, It is obtained through the robot's forward kinematics equation;

[0114] Then get the follow-up compensation value:

[0115]

[0116] Among them, u(n) is the follow-up compensation value of the nth interpolation period, e(n)∈R 6×1 is the grinding force deviation of the robot in the nth interpolation cycle, r(n) is the preset grinding force, generally set to r(n) = [0 0 c 0 0 0] T , indicating that the grinding contact force is applied only along the Z-axis direction of the tool coordinate system; c is a constant value, and its value depends on the specific grinding scenario; α, β, and K are hyperparameters, where α is 2.5×10 -3 , β is 0.1; in particular, u(0) = [0 0 0 0 0 0] T ;

[0117] For the nth interpolation cycle, K is determined as follows:

[0118]

[0119] By calculating the follow-up compensation value, the grinding force of the robot can be accurately adjusted to ensure that a constant preset grinding force is applied during the grinding process, making the grinding process more stable and reliable and improving the grinding quality. Determining the relationship between the force sensor coordinate system and the grinding tool coordinate system, and the transmission relationship between static force and static moment between the coordinate systems, can more accurately describe and measure external forces and external moments, thereby more accurately calculating the follow-up compensation value. The calculation formula contains constants and some hyperparameters, which can be adjusted according to the specific grinding scenario, so that the method can flexibly adapt to different grinding needs, whether for different materials, workpiece shapes or different grinding requirements, to achieve effective constant force grinding. At the same time, the method can automatically calculate the follow-up compensation value, improve the degree of automation of the grinding process, and thus improve production efficiency.

[0120] like Figure 6 As shown, in any of the above technical solutions, in step S2, the specific steps of designing a motion planner are as follows:

[0121] S21, planning the follow-up compensation value of each compensation dimension, and using the binary search method to iteratively search for the agility value of the follow-up motion;

[0122] S22, calculating the follow-up compensation value of each interpolation cycle, and superimposing the follow-up motion onto the main motion of the robot;

[0123] S23, using the robot inverse kinematics equation to solve the target joint angle value after superimposing the follow-up compensation value;

[0124] S24, sending the target joint angle value to the robot to control the grinding contact force.

[0125] By planning the servo compensation value of each compensation dimension, the robot's motion trajectory can be controlled in real time. The agility value of the servo motion can be iteratively searched using the binary search method, the servo compensation value of each interpolation cycle is calculated, and the servo motion is superimposed on the robot's main motion to achieve precise control of the grinding contact force. This ensures that the contact force remains constant during the grinding process to avoid unstable grinding quality caused by changes in force. The target joint angle value after superimposing the servo compensation value is solved using the robot's inverse kinematics equation, and the target joint angle value is sent to the robot to achieve control of the grinding contact force. The above processes can automatically complete complex kinematic calculations and simplify the operation process. In addition, by adjusting the servo compensation value and the agility value of the iterative search, different grinding tasks can be adapted, which improves the flexibility and adaptability of the system.

[0126] like Figure 3 As shown, in any of the above technical solutions, in step S2, the calculation method of the follow-up motion planning is as follows:

[0127] The following compensation value u = [Δx Δy Δz ΔA ΔB ΔC] T Planning is performed for each compensation dimension; for the compensation value δ of the i-th (i=1, 2, ..., 6) compensation dimension i , assuming the initial compensation speed is v si , the acceleration is a si , the maximum acceleration set by the program is Acc i , the maximum deceleration is Dec i , the maximum speed is Jerk i ,Pick:

[0128]

[0129] in, b1=a si , b2=Acc i , b3=-Dec i ;

[0130] For the i-th (i=1, 2, ..., 6) compensation dimension, t1 represents the acceleration from the initial acceleration asi Increase to the maximum acceleration Acc i time; t2 represents the acceleration from the maximum acceleration Acc i Reduce to the maximum deceleration Dec i time; t3 represents the acceleration from the maximum deceleration Dec i The time from the beginning of the experiment to the end of the experiment is 0, t represents the time variable, and the range of variation is [0, t3];

[0131] Integrate the acceleration once and twice:

[0132]

[0133]

[0134] in,

[0135]

[0136]

[0137] Considering the speed constraint and displacement constraint, the agility value of motion planning is iteratively searched through the binary search method:

[0138] a) Initialization: define the search interval as [m, n], let m = 0, n = Jerk i , jerk = 0.5·(m+n);

[0139] b) Calculate v i (t3):

[0140]

[0141] c) Let k1 = k3, k2 = jerk, v i (t3)=0, then:

[0142]

[0143] Solve the above linear equations to obtain t1, t2, and t3;

[0144] d) Calculate p i (t3);

[0145] e) If abs(p i (t3)-s i )<10 -5 , then output t1, t2, t3 and end the search; if p i (t3)>δ i , then let m = 0.5·(m+n), jerk = 0.5·(m+n), and return to step b); if p i(t3)<δ i , then let n=0.5·(m+n), jerk=0.5·(m+n), and return to step b); if jerk=Jerk i When p i (t3)>δ i , then let s i =p i (t3), jerk = Jerk i , recalculate and output the corresponding t1, t2, t3, and end the search.

[0146] By planning the follow-up compensation value of each compensation dimension, the fine control strategy enables the robot to track the target path more accurately during the grinding process, improving the accuracy and efficiency of grinding. The introduction of initial compensation speed, acceleration, maximum acceleration, maximum deceleration and maximum agility parameters set by the program can more effectively control the robot's motion acceleration, avoid the impact and vibration caused by acceleration mutation, thereby ensuring the stability of the grinding process and the uniformity of the grinding quality. The binary search method is used to iteratively search for the agility value of motion planning. Compared with other methods, this method has higher search efficiency and more accurate search results, and can find the optimal agility value faster, thereby optimizing the robot's motion trajectory. While considering speed constraints and displacement constraints, this method also considers other factors that may affect the grinding quality, such as the robot's dynamic performance, environmental interference, etc. Through reasonable motion planning, it ensures that the robot can achieve constant force grinding in complex environments.

[0147] In any of the above technical solutions, in step S2, the calculation method of the follow-up motion superposition is as follows:

[0148] For the nth interpolation cycle, its follow-up compensation value u n The calculation is as follows:

[0149] u n (i) = p i (n·T s )

[0150] Among them, u n (i) is u n The value of the i-th compensation dimension, T s is the interpolation period of the robot, which is 0.04s.

[0151] For u n =[Δx n Δy n Δz n ΔA n ΔB n ΔC n ] T, calculate the homogeneous transformation matrix:

[0152]

[0153] Wherein, c·, s· represent cos·, sin· respectively, and {T′} is the tool coordinate system after follow-up compensation;

[0154] Finally, the follower motion is superimposed on the robot's main motion.

[0155] Through the calculation method of superimposed follow-up motion, the robot's motion trajectory can be accurately adjusted, so that the robot can more accurately control the force and position during grinding operations, thereby improving the accuracy and stability of grinding. The calculation of the homogeneous transformation matrix allows this method to adapt to different grinding scenarios and tool coordinate systems, improving the adaptability and flexibility of the robot. The calculation method of superimposed follow-up compensation value and the calculation process of the homogeneous transformation matrix have a faster calculation speed and response speed, allowing the robot to adjust the motion trajectory and force in real time, improving the response speed and efficiency of the entire grinding process.

[0156] In any of the above technical solutions, the method for calculating the target joint angle value is as follows: Calculate the homogeneous transformation matrix of {T′} relative to {O}:

[0157]

[0158] in, is the homogeneous transformation matrix from the flange coordinate system {F} to the robot base coordinate system {O}, which is calculated by the robot forward kinematics equation. The target joint angle q(n·T) after superimposing the follow-up compensation value is solved by solving the robot inverse kinematics equation s ) and sent to the robot.

[0159] By combining the calculations of the robot's forward kinematics equation and inverse kinematics equation, the target joint angle value after superimposing the follow-up compensation value can be solved more accurately, which helps the robot to dynamically adjust according to the actual situation to adapt to different grinding environments and task requirements. The introduction of the follow-up compensation value allows the robot to more accurately control the force and position during the grinding process, thereby improving the accuracy and quality of grinding. Sending the target joint angle value to the robot can optimize the robot's motion trajectory so that it can complete the grinding task more smoothly and efficiently, which helps to reduce the robot's energy consumption and wear and increase the robot's service life.

[0160] Embodiment 2: This embodiment discloses a robot constant force grinding system based on follow-up compensation, comprising:

[0161] A follow-up compensation value acquisition module is used to take the force deviation signal in the grinding process as input and calculate the corresponding follow-up compensation value as output;

[0162] The motion planner is used to take the joint angle value and the follow-up compensation value obtained by the robot's main motion planning as input, and obtain the target joint angle value after follow-up compensation by superimposing the follow-up motion on the basis of the main motion.

[0163] By introducing the follow-up compensation value acquisition module, the system can sense the force deviation signal during the grinding process in real time and calculate the corresponding follow-up compensation value. This function enables the system to dynamically adjust the grinding process, thereby significantly improving the accuracy and consistency of grinding. The introduction of the follow-up compensation value enables the system to adapt to different grinding tasks and material types. No matter what kind of force deviation is faced, it can ensure constant grinding force by adjusting the follow-up compensation value. Through the motion planner, the system can superimpose the follow-up motion on the basis of the main motion of the robot, so as to obtain the target joint angle value after the follow-up compensation. The system can achieve more efficient motion trajectory planning while maintaining constant force grinding. The system has a high degree of automation and can adjust the grinding parameters in real time without manual intervention, which greatly reduces the burden on workers.

[0164] In any of the above technical solutions, the follow-up compensation value obtaining module includes:

[0165] Force deviation signal acquisition unit;

[0166] The follow-up compensation value calculation unit is used to calculate the follow-up compensation value according to the collected force deviation signal.

[0167] By introducing the force deviation signal acquisition unit, the system can monitor and obtain the force deviation signal during the grinding process in real time, making the system highly adaptable to changes in the external environment, such as irregularities on the workpiece surface, differences in material hardness, etc. The existence of the follow-up compensation value calculation unit enables the system to quickly calculate the corresponding follow-up compensation value based on the force deviation signal collected in real time, thereby improving the system's response speed and grinding accuracy, and reducing the risk of workpiece damage caused by over- or under-grinding.

[0168] In any of the above technical solutions, the motion planner includes:

[0169] A receiving unit for the joint angle values ​​of the robot's main motion;

[0170] A follow-up compensation value receiving unit;

[0171] The follow-up motion superposition unit is used to superimpose the follow-up motion on the basis of the main motion to obtain the target joint angle value.

[0172] By setting a joint angle value receiving unit of the robot's main motion to receive and process the joint angle value of the robot's main motion, the follow-up compensation value is received by the follow-up compensation value receiving unit, and the joint angle value and the follow-up compensation value are combined. The follow-up motion superposition unit calculates the joint angle value after superimposing the follow-up compensation value, that is, the target joint angle value, and superimposes the follow-up motion on the main motion to realize the real-time adjustment capability of the robot, thereby making the grinding process more precise and flexible. At the same time, the system can adapt to different working environments and workpiece surface conditions to achieve constant force grinding.

[0173] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0174] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A robot constant force grinding method based on follow-up compensation, characterized in that: The steps include: S1. Use the force sensor measurement value to obtain the actual grinding force and the follow-up compensation value; S2. Design a motion planner, including follow-up motion planning, follow-up motion superposition and calculation of target joint angle values, and send the target joint angle values ​​to the robot.

2. The robot constant force grinding method based on follow-up compensation according to claim 1 is characterized in that: In step S1, the specific steps of obtaining the follow-up compensation value are as follows: S11, determining the relationship between the force sensor coordinate system and the grinding tool coordinate system, and determining the static force and static moment transmission relationship between the coordinate systems; S12, calculating the relative rotation matrix among the tool coordinate system, the force sensor coordinate system, the robot end flange coordinate system and the robot base coordinate system; S13, calculating the grinding force deviation of the robot in the nth interpolation cycle based on the preset grinding force and the direction of the grinding contact force; S14. Calculate the following compensation value of the nth interpolation period according to the grinding force deviation and the following compensation value of the n-1th interpolation period.

3. The robot constant force grinding method based on follow-up compensation according to claim 1 is characterized in that: In step S1, the calculation method for obtaining the follow-up compensation value is as follows: Determine the relationship between the force sensor coordinate system and the grinding tool coordinate system, and determine the transmission relationship between static force and static moment between the coordinate systems. T f. T τ∈R 3×1 It represents the external force and torque on {T}, and {T} is the tool coordinate system; S f. S τ∈R 3×1 Represents the external force and torque measured by the sensor. S P represents the description of the {T} coordinate origin under {S}, {S} is the force sensor coordinate system; According to the static force transmission formula between connecting rods: therefore: in, S f. S τ is measured by the force sensor, Represents the rotation matrix from {T} to {S} and {S} to {T}; S P is calculated as follows: in, is the rotation matrix of {S} and {T} relative to {F}, where {F} is the robot end flange coordinate system; is the description of the coordinate origin of {T} under {F}, is the description of the coordinate origin of {S} under {F}; the above four quantities are obtained through force sensor calibration or tool calibration; is the rotation matrix of {F} relative to {O}, {O is the robot base coordinate system, It is obtained through the robot's forward kinematics equation; Then calculate the follow-up compensation value: Among them, u(n) is the follow-up compensation value of the nth interpolation period, e(n)∈R 6×1 is the grinding force deviation of the robot in the nth interpolation cycle, r(n) is the preset grinding force, generally set to r(n) = [0 0 c 0 0 0] T , indicating that the grinding contact force is applied only along the Z-axis direction of the tool coordinate system; c is a constant value, and its value depends on the specific grinding scenario; α, β, and K are hyperparameters, where α is 2.5×10 -3 , β is 0.1; in particular, u(0) = [0 0 0 0 0 0] T ; For the nth interpolation cycle, K is determined as follows:

4. The robot constant force grinding method based on follow-up compensation according to claim 1 is characterized in that: In step S2, the specific steps of designing a motion planner are as follows: S21, planning the follow-up compensation value of each compensation dimension, and using the binary search method to iteratively search for the agility value of the follow-up motion; S22, calculating the follow-up compensation value of each interpolation cycle, and superimposing the follow-up motion onto the main motion of the robot; S23, using the robot inverse kinematics equation to solve the target joint angle value after superimposing the follow-up compensation value; S24, sending the target joint angle value to the robot to control the grinding contact force.

5. The robot constant force grinding method based on follow-up compensation according to claim 1 is characterized in that: In step S2, the calculation method of the follow-up motion planning is as follows: The following compensation value u = [ΔxΔyΔzΔAΔBΔC] T For each compensation dimension of , the compensation value δ of the i-th (i=1,2,…,6) compensation dimension is planned. i , assuming the initial compensation speed is v si , the acceleration is a si , the maximum acceleration set by the program is Acc i , the maximum deceleration is Dec i , the maximum speed is Jerk i , take the acceleration a at time t i 9t) is: in, b1=a si , b2=Acc i , b3=-Dec i ; For the i-th (i=1, 2, ..., 6) compensation dimension, t1 represents the acceleration from the initial acceleration a si Increase to the maximum acceleration Acc i time; t2 represents the acceleration from the maximum acceleration Acc i Reduce to the maximum deceleration Dec i time; t3 represents the acceleration from the maximum deceleration Dec i The time from the beginning of the experiment to the end of the experiment is 0, t represents the time variable, and the range of variation is [0, t3]; Integrate the acceleration once and twice: in, Considering the speed constraint and displacement constraint, the agility value of motion planning is iteratively searched through the binary search method: a) Initialization: define the search interval as [m,n], let m = 0, n = Jerk i , jerk = 0.5·(m+n); b) Calculate v i (t3): c) Let k1 = k3, k2 = jerk, v i (t3)=0, then: Solve the above linear equations to obtain t1, t2, and t3; d) Calculate p i (t3); e) If abs(p i (t3)-s i )<10 -5 , then output t1, t2, t3 and end the search; if p i (t3)>δ i , then let m = 0.5·(m+n), jerk = 0.5·(m+n), and return to step b); if p i (t3)<δ i , then let n=0.5·(m+n), jerk=0.5·(m+n), and return to step b); if jerk=Jerk i When p i (t3)>δ i , then let s i =p i (t3), jerk = Jerk i , recalculate and output the corresponding t1, t2, t3, and end the search.

6. The robot constant force grinding method based on follow-up compensation according to claim 1 is characterized in that: In step S2, the calculation method of the follow-up motion superposition is as follows: For the nth interpolation cycle, its follow-up compensation value u n The calculation is as follows: u n (i)=p i (n·T s ) Among them, u n (i) is u n The value of the i-th compensation dimension, T s is the interpolation period of the robot, which is 0.04s; For u n =[Δx n Δy n Δz n ΔA n ΔB n ΔC n ] T , calculate the homogeneous transformation matrix: Wherein, c·, s· represent cos·, sin· respectively, and {T'} is the tool coordinate system after follow-up compensation; Finally, the follower motion is superimposed on the robot's main motion.

7. The robot constant force grinding method based on follow-up compensation according to claim 6 is characterized in that: The method for calculating the target joint angle value is as follows: Calculate the homogeneous transformation matrix of {T'} relative to {O}: in, is the homogeneous transformation matrix from the flange coordinate system {F} to the robot base coordinate system {O}, which is calculated by the robot forward kinematics equation. The target joint angle q(n·T) after superimposing the follow-up compensation value is solved by the robot inverse kinematics equation. s ) and sent to the robot.

8. A robot constant force grinding system based on follow-up compensation, characterized in that: include: A follow-up compensation value acquisition module is used to take the force deviation signal in the grinding process as input and calculate the corresponding follow-up compensation value as output; The motion planner is used to take the joint angle value and the follow-up compensation value obtained by the robot's main motion planning as input, and obtain the target joint angle value after follow-up compensation by superimposing the follow-up motion on the basis of the main motion.

9. The robot constant force grinding system based on follow-up compensation according to claim 8 is characterized in that: The follow-up compensation value obtaining module includes: Force deviation signal acquisition unit; The follow-up compensation value calculation unit is used to calculate the follow-up compensation value according to the collected force deviation signal.

10. The robot constant force grinding system based on follow-up compensation according to claim 8, characterized in that: The motion planner comprises: A receiving unit for the joint angle values ​​of the robot's main motion; A follow-up compensation value receiving unit; The follow-up motion superposition unit is used to superimpose the follow-up motion on the basis of the main motion to obtain the target joint angle value.

Citation Information

Patent Citations

  • Polishing method of portal lifting robot based on force control

    CN105500147A

  • Constant-force grinding method for industrial robot

    CN113199491A

  • Force control system and method of aircraft skin flexible grinding mechanical device

    CN116352570A

  • Equipment and method for automatically grinding and machining blade tip fillet through robot

    CN116619194A

  • Robot with controlled tool tracking displacement

    US4967127A

Cited By

  • Master-slave displacement compensation method and device of surgical robot, electronic equipment and storage medium

    CN119655902A

  • Grinding vibration suppression method and device, electronic equipment and storage medium

    CN119858069A