A method for improving absolute positioning accuracy of industrial robots based on Be-SA algorithm
Through the comprehensive error model based on the Be-SA algorithm and the improved simulated annealing algorithm, the problem of low absolute positioning accuracy of industrial robots is solved, higher positioning accuracy and faster error parameter identification are achieved, and processing accuracy is improved.
Patent Information
- Application Number
- CN202211007603.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-08-22
AI Technical Summary
The absolute positioning accuracy of existing industrial robots is low, making it difficult to meet the required surface accuracy of processed components. In addition, the traditional simulated annealing algorithm has slow convergence speed and low optimization accuracy in error parameter identification, and does not fully consider the position of the target ball to the flange position. The conversion error and the establishment error of the measurement coordinate system.
A method based on the Be-SA algorithm is used to establish a comprehensive error model, consider various error sources, perform data preprocessing through laser tracker measurement data, construct an objective function and improve the simulated annealing algorithm to improve the accuracy and speed of error parameter identification.
The absolute positioning accuracy of industrial robots is improved. Through faster convergence speed and higher optimization accuracy, the identification of error parameters is clarified and the processing accuracy is enhanced.
Smart Images

Figure CN115356986B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of industrial robots, and in particular relates to a method for improving the absolute positioning accuracy of an industrial robot based on a Be-SA algorithm. Background Art
[0002] As the application scope of industrial robots becomes wider and wider, they are used in the fields of handling, welding, painting, etc. However, when grinding and polishing large-diameter optical components, industrial robots are limited by the positioning accuracy and it is still difficult to meet the relevant practical requirements. The deviation of the actual position of the end of the industrial robot relative to the theoretical position is called the absolute positioning error. At present, the absolute positioning accuracy of industrial robots at home and abroad is mostly 1-3mm. Due to its low absolute positioning accuracy, it is difficult to achieve a good technical problem for the surface accuracy of the processed components. Therefore, the identification of the error parameters of the robot is very important. Studies have shown that the kinematic error caused by the deformation of the industrial robot's connecting rod and other factors accounts for 80% of the positioning error, so the identification of kinematic parameters is even more important. The DH model is currently commonly used for robot kinematic modeling, which describes the positive kinematics of the industrial robot by joint angle, connecting rod offset, connecting rod length, and connecting rod torsion angle. However, in the actual manufacturing and assembly process, it is inevitable that the above parameters will produce errors. The errors caused by these error parameters to the absolute positioning accuracy are called kinematic errors. The simulated annealing algorithm (SA) was proposed by N. Metropolis et al. in 1953. SA is similar to the greedy algorithm, but it can effectively avoid the situation of falling into the local optimum in the greedy algorithm, so it is often used in various optimization problems.
[0003] CN202010846574 and the document "Cao Jiancheng. Research on kinematic calibration method based on MH80II robot. Guangdong: South China University of Technology, 2020" establish an error model based on kinematic error, convert the measured target ball position to the robot flange position, and use a hybrid genetic simulated annealing algorithm to identify the robot's flange position error parameters, and obtain the identified robot kinematic parameters, which effectively improves the robot's absolute positioning accuracy. The shortcomings of this method are: when establishing the error model, only the robot kinematic error is considered, and the conversion error from the target ball position to the flange position is not considered. The error source is not considered sufficiently. Although the optimization result of the genetic algorithm is used as the initial value of the simulated annealing algorithm to effectively improve the convergence speed, the subsequent work of assigning the initial value to the genetic algorithm still uses the traditional SA algorithm, ignoring the influence of the search direction and search step size on the convergence speed, and the disturbance of the temperature attenuation method on the optimization accuracy. The document "Zhang Hu. Research on Modeling and Parameter Identification Methods of Industrial Robots for Calibration. Heilongjiang: Harbin Institute of Technology, 2015" is based on the kinematic error of the robot. The error model is established by the distance between the two-point positions. The distance between the two-point positions of the target ball measured by the laser tracker is converted into the distance between the two-point positions of the robot flange end. The traditional simulated annealing algorithm is used to identify the parameters of the two-point position distance error between the flange ends. The identified robot kinematic parameters can effectively improve the absolute positioning accuracy of the robot. The shortcomings of this method are: although the error model established by this method is converted from the traditional positioning error analysis of a single point to the position distance error analysis of two points, the error source still only considers the kinematic error of the robot, and does not consider the conversion error from the target ball position to the flange position and the error in establishing the measurement coordinate system. At the same time, the optimization algorithm used has not been improved for the goal of error parameter identification, and there are still defects such as slow convergence speed and low optimization accuracy of the traditional simulated annealing algorithm. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a method for improving the absolute positioning accuracy of an industrial robot based on the Be-SA algorithm.
[0005] The technical solution of the present invention is: a method for improving the absolute positioning accuracy of an industrial robot based on the Be-SA algorithm, and the specific steps are as follows:
[0006] S1, industrial robot on-site data collection and preprocessing;
[0007] S2, based on the data preprocessed in step S1, fully consider various error sources and establish a comprehensive error model;
[0008] S3. Use step S2 to establish a comprehensive error model to improve the SA algorithm and obtain the Be-SA algorithm identification error parameters.
[0009] Furthermore, the specific steps of step S1 are as follows:
[0010] S11. Establish a measurement coordinate system.
[0011] The measurement coordinate system is theoretically consistent with the robot base coordinate system. The robot target ball position z coordinate is controlled by the teach pendant to rotate one circle at zero, and the normal and center of the arc trajectory are the Z axis and origin of the measurement coordinate system. The target ball position z and y coordinates are controlled to remain unchanged, and only move along the x direction. The straight line trajectory is the X axis of the measurement coordinate system, and the direction is the same as the X axis of the robot base coordinate system. The Y coordinate system is established according to the right-hand rule. The measurement coordinate system is established.
[0012] S12, data point collection,
[0013] According to the workspace of the industrial robot and the initial position of the robot, several measuring points are obtained by moving along the x, y, and z axes at a certain step length from the initial point. At this time, the position displayed on the teaching pendant is the theoretical position, and the position of these points measured by the laser tracker is the actual position. These theoretical positions and actual positions are recorded.
[0014] S13, data preprocessing,
[0015] The absolute positioning accuracy error of the robot can be obtained by calculating the difference between the actual position and the theoretical position.
[0016] Furthermore, the specific steps of step S2 are as follows:
[0017] S21. Forward kinematics of industrial robots.
[0018] The transformation matrix from the measurement coordinate system s established by the laser tracker to the target sphere coordinate system t of the end robot is:
[0019]
[0020] in, is the transformation matrix from the measurement coordinate system to the robot base coordinate system, expressed as:
[0021]
[0022] Among them, x s ,y s ,z s and α s ,β s ,γ sThey respectively represent the translation and rotation around the coordinate axis between the measurement coordinate system and the base coordinate system of the robot. T represents the translation matrix along the coordinate axis, R represents the rotation matrix around a certain axis, and X, Y, and Z represent the corresponding coordinate axes.
[0023] In order to establish the transformation matrix from the robot base coordinate system to the flange end through the DH model, the model uses the connecting rod length, connecting rod torsion angle, joint variables and joint offsets as identification parameters, and fixes the coordinate system of each joint on the connecting rod through certain rules. Then the i-1th and i-th coordinate systems are transformed through the second transformation matrix A i To perform coordinate transformation:
[0024]
[0025] Among them, θ i represents the i-th joint rotation angle, d i represents the joint offset, a i represents the connecting rod length, α i represents the connecting rod torsion angle, i=1,2,...,6;
[0026] Then the transformation matrix from the robot base coordinate system to the flange coordinate system is:
[0027]
[0028] Among them, A1A2A3A4A5A6 represents the A of the i=1, 2, ..., 6th joint i matrix.
[0029] is the transformation matrix from the robot flange end to the target ball, without considering the pose transformation, it can be expressed as:
[0030]
[0031] Among them, t x ,t y ,t z Indicates the translation between the robot's flange coordinate system and the tool coordinate system along the coordinate axis.
[0032] S22, introduce error sources,
[0033] Fully consider the conversion error between the measurement coordinate system and the robot base coordinate system Expressed as:
[0034]
[0035] Among them, dx, dy, dz, δx, δy, δz represent the conversion error parameters between the measurement coordinate system and the robot base coordinate system.
[0036] Kinematic Error of the Robot Expressed as:
[0037]
[0038] Among them, Δθ i ,Δd i ,Δa i ,Δα i Represents the kinematic error parameters of the robot.
[0039] Measurement error from robot flange to tool coordinate system Expressed as:
[0040]
[0041] Among them, dt x ,dt y ,dt z Represents the measurement error parameter from the robot flange end to the tool coordinate system.
[0042] Then the transformation matrix from the actual measurement coordinate system to the target ball of the end robot is:
[0043]
[0044] S23, establish a comprehensive error model,
[0045] The comprehensive error model is established as:
[0046]
[0047] The measurement coordinate system established by the laser tracker coincides with the robot base coordinate system. is the unit matrix, theoretically, At the same time, discarding the infinitesimal components and simplifying, we can get:
[0048]
[0049] in, and They respectively represent the positioning pose error and positioning position error of the tool coordinate system (i.e., the target sphere coordinate system) relative to the measurement coordinate system, and O is a zero-filled matrix.
[0050] Furthermore, the specific steps of step S3 are as follows:
[0051] S31, establish the objective function,
[0052] The objective function to be optimized is established as:
[0053]
[0054] Where N is the number of error points of the robot, is the position error of the i-th point predicted by the error model, is the actual position error measured at the i-th point, w is used to represent the conversion error parameters dx, dy, dz, δx, δy, δz between the measurement coordinate system and the robot base coordinate system; the measurement error parameter dt from the robot flange end to the tool coordinate system x ,dt y ,dt z ; The robot's kinematic error parameter Δθ i ,Δd i ,Δa i ,Δα i There are 33 error parameters in total.
[0055] S32, state initialization,
[0056] Iteration number k = 0, initial temperature T0 = T max , T max is the maximum annealing temperature, the number of solutions i=0, the initial position w0 is randomly generated, and the initial objective function value f0 is calculated.
[0057] S33, location update,
[0058] Introduce the historical optimal solution besty and give the ideal location y that is finally reached id , the step length in the random direction is determined according to the ratio of the ideal position to the historical optimal solution, and w is updated by randomly generating a 33-dimensional random number u between (-1,1) to obtain w temp :
[0059]
[0060] Among them, w i represents the corresponding i-th solution, T k Represents the annealing temperature at the kth iteration.
[0061] S34. Generate new state
[0062] Calculate the updated w temp The objective function value f temp , f i is the ith solution w i The corresponding objective function value is calculated to obtain Δf=f temp -f i ;
[0063] S35, whether to accept the new status,
[0064] If Δf<0 or And there is ftemp <besty. If there is f temp <y id , then stop the iteration and output the optimal solution; otherwise accept the solution and update it:
[0065]
[0066] If you do not accept the solution, continue iterating.
[0067] S36, temperature decay,
[0068] Perform temperature decay according to the minimum annealing temperature T min , the temperature is divided into T max -T mid1 -T mid2 -T min Three temperature zones:
[0069]
[0070] As the temperature zone changes, in order to avoid skipping the key position in the low temperature zone, the attenuation rate a gradually decreases, and the temperature is updated as follows:
[0071]
[0072] S37, optimization termination judgment,
[0073] The number of iterations is updated k = k + 1. If T k <T min , the iteration ends, and the historical optimal solution besty is derived as the global optimal solution. Otherwise, go to step S33 to continue the iteration.
[0074] Beneficial effects of the present invention: The method of the present invention first establishes a measurement coordinate system, performs data point acquisition and data preprocessing, constructs a comprehensive error model based on the DH model of the industrial robot, and identifies error parameters through the Be-SA algorithm. The comprehensive error model established by the method of the present invention considers the error source more comprehensively, and the calculation expression is more concise. The target ball position data measured by the laser tracker can be directly identified and analyzed, making the identification of error parameters clearer. At the same time, the present invention is based on the Be-SA algorithm. Compared with the traditional SA algorithm, the optimization step length and direction and the temperature attenuation method are improved. It has a faster convergence speed and higher optimization accuracy in the identification of the kinematic error parameters of the industrial robot, and can effectively improve the absolute positioning accuracy of the industrial robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 The present invention is a flowchart of a method for improving the absolute positioning accuracy of an industrial robot based on the Be-SA algorithm.
[0076] Figure 2 4 is a flow chart of the Be-SA algorithm for identifying error parameters in an embodiment of the present invention.
[0077] Figure 3 It is a comparison chart of iterative convergence between the Be-SA algorithm in the embodiment of the present invention and the traditional SA, PSO, and AFSA algorithms.
[0078] Figure 4 It is a comparison chart of the calibration results of the Be-SA algorithm in the embodiment of the present invention and the traditional SA, PSO, and AFSA algorithms.
[0079] Figure 5 It is a comparison diagram before and after the actual application calibration of the Be-SA algorithm in the embodiment of the present invention. DETAILED DESCRIPTION
[0080] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.
[0081] like Figure 1 As shown, a flow chart of a method for improving absolute positioning accuracy of an industrial robot based on the Be-SA algorithm of the present invention, the specific steps are as follows:
[0082] S1, industrial robot on-site data collection and preprocessing;
[0083] S2, based on the data preprocessed in step S1, fully consider various error sources and establish a comprehensive error model;
[0084] S3. Use step S2 to establish a comprehensive error model to improve the SA algorithm and obtain the Be-SA algorithm identification error parameters.
[0085] like Figure 2 As shown in the figure, the theoretical position and the actual position are obtained by collecting data points, and the comprehensive error model of the industrial robot is constructed by fully considering various error sources. The objective function is established, and improvements are made based on the defects of the SA algorithm to obtain the Be-SA algorithm to identify the error parameters.
[0086] In this embodiment, the specific steps of step S1 are as follows:
[0087] S11. Establish a measurement coordinate system.
[0088] The measurement coordinate system is theoretically consistent with the robot base coordinate system. The robot target ball position z coordinate is controlled by the teach pendant to rotate one circle at zero, and the normal and center of the arc trajectory are the Z axis and origin of the measurement coordinate system. The target ball position z and y coordinates are controlled to remain unchanged, and only move along the x direction. The straight line trajectory is the X axis of the measurement coordinate system, and the direction is the same as the X axis of the robot base coordinate system. The Y coordinate system is established according to the right-hand rule. The measurement coordinate system is established.
[0089] S12, data point collection,
[0090] According to the workspace of the industrial robot and the initial position of the robot, several measuring points are obtained by moving along the x, y, and z axes at a certain step length from the initial point. At this time, the position displayed on the teaching pendant is the theoretical position, and the position of these points measured by the laser tracker is the actual position. These theoretical positions and actual positions are recorded.
[0091] S13, data preprocessing,
[0092] The absolute positioning accuracy error of the robot can be obtained by calculating the difference between the actual position and the theoretical position.
[0093] In this embodiment, the specific steps of step S2 are as follows:
[0094] S21. Forward kinematics of industrial robots.
[0095] The transformation matrix from the measurement coordinate system s established by the laser tracker to the target sphere coordinate system t of the end robot is:
[0096]
[0097] in, is the transformation matrix from the measurement coordinate system to the robot base coordinate system, expressed as:
[0098]
[0099] Among them, x s ,y s ,z s and α s ,β s ,γ s They respectively represent the translation and rotation around the coordinate axis between the measurement coordinate system and the base coordinate system of the robot. T represents the translation matrix along the coordinate axis, R represents the rotation matrix around a certain axis, and X, Y, and Z represent the corresponding coordinate axes.
[0100] In order to establish the transformation matrix from the robot base coordinate system to the flange end through the DH model, the model uses the connecting rod length, connecting rod torsion angle, joint variables and joint offsets as identification parameters, and fixes the coordinate system of each joint on the connecting rod according to certain rules. Then, the coordinate transformation between the i-1th and i-th coordinate systems is performed through the secondary transformation matrix:
[0101]
[0102] Among them, θ i represents the i-th joint rotation angle, di represents the joint offset, a i represents the connecting rod length, α i represents the connecting rod torsion angle, i=1,2,...,6;
[0103] The industrial robot has 6 joints in total, so the transformation matrix from the robot base coordinate system to the flange coordinate system is:
[0104]
[0105] Among them, A1A2A3A4A5A6 represents the A of the i=1, 2, ..., 6th joint i matrix.
[0106] is the transformation matrix from the robot flange end to the target ball, without considering the pose transformation, it can be expressed as:
[0107]
[0108] Among them, t x ,t y ,t z Indicates the translation between the robot's flange coordinate system and the tool coordinate system along the coordinate axis.
[0109] S22, introduce error sources,
[0110] Fully consider the conversion error between the measurement coordinate system and the robot base coordinate system Expressed as:
[0111]
[0112] Among them, dx, dy, dz, δx, δy, δz represent the conversion error parameters between the measurement coordinate system and the robot base coordinate system.
[0113] Kinematic Error of the Robot Expressed as:
[0114]
[0115] Among them, Δθ i ,Δd i ,Δa i ,Δα i Represents the kinematic error parameters of the robot.
[0116] Measurement error from robot flange to tool coordinate system Expressed as:
[0117]
[0118] Among them, dtx ,dt y ,dt z Represents the measurement error parameter from the robot flange end to the tool coordinate system.
[0119] Then the transformation matrix from the actual measurement coordinate system to the target ball of the end robot is:
[0120]
[0121] S23, establish a comprehensive error model,
[0122] The comprehensive error model is established as:
[0123]
[0124] The measurement coordinate system established by the laser tracker coincides with the robot base coordinate system. is the unit matrix, theoretically, At the same time, discarding the infinitesimal components and simplifying, we can get:
[0125]
[0126] in, and They respectively represent the positioning pose error and positioning position error of the tool coordinate system (i.e., the target sphere coordinate system) relative to the measurement coordinate system, and O is a zero-filled matrix.
[0127] In this embodiment, the specific steps of step S3 are as follows:
[0128] S31, establish the objective function,
[0129] The objective function to be optimized is established as:
[0130]
[0131] Where N is the number of error points of the robot, is the position error of the i-th point predicted by the error model, is the actual position error measured at the i-th point, w is used to represent the conversion error parameters dx, dy, dz, δx, δy, δz between the measurement coordinate system and the robot base coordinate system; the measurement error parameter dt from the robot flange end to the tool coordinate system x ,dt y ,dt z ; The robot's kinematic error parameter Δθ i ,Δd i ,Δa i ,Δα i There are 33 error parameters in total.
[0132] S32, state initialization,
[0133] Iteration number k = 0, initial temperature T0 = T max , T max is the maximum annealing temperature, the number of solutions i = 0, the initial position w0 is randomly generated, and the initial objective function value f0 is calculated;
[0134] S33, location update,
[0135] Introduce the historical optimal solution besty and give the ideal location y that is finally reached id , the step length in the random direction is determined according to the ratio of the ideal position to the historical optimal solution, and w is updated by randomly generating a 33-dimensional random number u between (-1,1) to obtain w temp :
[0136]
[0137] Among them, w i represents the corresponding i-th solution, T k Represents the annealing temperature at the kth iteration.
[0138] S34. Generate new state
[0139] Calculate the updated w temp The objective function value f temp , f i is the i-th solution w i The corresponding objective function value is calculated to obtain Δf=f temp -f i ;
[0140] S35, whether to accept the new status,
[0141] If Δf<0 or And there is f temp <besty. If there is f temp <y id , then stop the iteration and output the optimal solution; otherwise accept the solution and update it:
[0142]
[0143] If you do not accept the solution, continue iterating.
[0144] S36, temperature decay,
[0145] Perform temperature decay according to the minimum annealing temperature T min , the temperature is divided into T max -T mid1 -T mid2 -T minThree temperature zones:
[0146]
[0147] As the temperature zone changes, in order to avoid skipping the key position in the low temperature zone, the attenuation rate a gradually decreases, and the temperature is updated as follows:
[0148]
[0149] S37, optimization termination judgment,
[0150] The number of iterations is updated k = k + 1. If T k <T min , the iteration ends, and the historical optimal solution besty is derived as the global optimal solution. Otherwise, go to step S33 to continue the iteration.
[0151] In this embodiment, Figure 3 As shown in FIG. 1 , the error parameters are identified using the objective function in step S31 using traditional SA, PSO, and AFSA, respectively. The Be-SA algorithm is evaluated based on the convergence speed and optimization accuracy. This shows that the Be-SA algorithm has a faster convergence speed and higher optimization accuracy. Figure 4 As shown, the calibration results of the Be-SA algorithm of the method of the present invention and the traditional SA, PSO, and AFSA algorithms are compared as shown in Table 1:
[0152] Table 1
[0153] algorithm Average accuracy / mm Minimum accuracy / mm Maximum accuracy / mm PSO 0.414 0.118 1.041 AFSA 0.674 0.206 1.360 S 0.606 0.013 2.999 Be-SA 0.050 0.001 0.178
[0154] In this embodiment, Figure 5 As shown, the various parameters of the forward kinematics model are corrected by the error parameters identified in step S3, so as to obtain the calibrated predicted position error, which is compared with the actual position error to prove the practicability of the present invention.
Claims
1. A method for improving the absolute positioning accuracy of an industrial robot based on the Be-SA algorithm, the specific steps are as follows: S1, industrial robot on-site data collection and preprocessing; S2, based on the data preprocessed in step S1, fully consider various error sources and establish a comprehensive error model; S3, using step S2 to establish a comprehensive error model to improve the SA algorithm, and obtain the Be-SA algorithm identification error parameters; The specific process of step S1 is: S11. Establish a measurement coordinate system. The robot is controlled by the teach pendant to rotate one circle with the z coordinate of the target ball position at zero. The normal and center of the arc trajectory are the Z axis and origin of the measurement coordinate system. The target ball position z and y coordinates are controlled to remain unchanged and only move along the x direction. The straight line trajectory is the X axis of the measurement coordinate system, which has the same direction as the X axis of the robot base coordinate system. The Y coordinate system is established according to the right-hand rule, and the measurement coordinate system is established. S12, data point collection, Starting from the initial point, move along the x, y, and z axes in a certain step length to obtain several measurement points. The positions displayed on the teaching pendant are theoretical positions. The positions of these points measured by the laser tracker are actual positions. These theoretical positions and actual positions are recorded. S13, data preprocessing, The absolute positioning accuracy error of the robot is obtained by calculating the difference between the actual position and the theoretical position. The specific process of step S2 is: S21. Forward kinematics of industrial robots. The transformation matrix from the measurement coordinate system s established by the laser tracker to the target sphere coordinate system t of the end robot is: in, is the transformation matrix from the measurement coordinate system to the robot base coordinate system, expressed as: Among them, x s ,y s ,z s and α s ,β s ,γ s They represent the translation and rotation around the coordinate axis between the measurement coordinate system and the base coordinate system of the robot, T represents the translation matrix along the coordinate axis, R represents the rotation matrix around a certain axis, and X, Y, and Z represent the corresponding coordinate axes; To establish the transformation matrix from the robot base coordinate system to the flange end through the DH model, the i-1th and i-th coordinate systems are transformed through the secondary transformation matrix A i To perform coordinate transformation: Among them, θ i represents the i-th joint rotation angle, d i represents the joint offset, a i represents the connecting rod length, α i represents the connecting rod torsion angle, i=1,2,...,6; The transformation matrix from the robot base coordinate system to the flange coordinate system is: Among them, A1A2A3A4A5A6 represents the A of the i=1, 2, ..., 6th joint i matrix; T6 t is the transformation matrix from the robot flange end to the target ball, without considering the pose transformation, expressed as: Among them, t x ,t y ,t z Indicates the translation amount between the robot's flange coordinate system and the tool coordinate system along the coordinate axis; S22, introduce error sources, Fully consider the conversion error between the measurement coordinate system and the robot base coordinate system Expressed as: Among them, dx, dy, dz, δx, δy, δz represent the conversion error parameters between the measurement coordinate system and the robot base coordinate system; Kinematic Error of the Robot Expressed as: Among them, Δθ i ,Δd i ,Δa i ,Δα i represents the kinematic error parameters of the robot; Measurement error from robot flange to tool coordinate system Expressed as: Among them, dt x ,dt y ,dt z Represents the measurement error parameter from the robot flange end to the tool coordinate system; The transformation matrix from the actual measurement coordinate system to the target ball of the end robot is: S23, establish a comprehensive error model, The comprehensive error model is established as: The measurement coordinate system established by the laser tracker coincides with the robot base coordinate system. is the unit matrix, theoretically, At the same time, discard the infinitesimal components and simplify to get: in, and They represent the positioning pose error and positioning position error of the tool coordinate system relative to the measurement coordinate system, respectively, and O is a zero-filled matrix; The specific process of step S3 is: S31, establish the objective function, The objective function to be optimized is established as: Where N is the number of error points of the robot, is the position error of the i-th point predicted by the error model, is the actual position error measured at the i-th point, w is used to represent the conversion error parameters dx, dy, dz, δx, δy, δz between the measurement coordinate system and the robot base coordinate system, and the measurement error parameter dt from the robot flange end to the tool coordinate system x ,dt y ,dt z , the robot's kinematic error parameter Δθ i ,Δd i ,Δa i ,Δα i There are 33 error parameters in total; S32, state initialization, Iteration number k = 0, initial temperature T0 = T max , T max is the maximum annealing temperature, the number of solutions i = 0, the initial position w0 is randomly generated, and the initial objective function value f0 is calculated; S33, location update, Introduce the historical optimal solution besty and give the ideal location y that is finally reached id , by randomly generating a 33-dimensional random number u between (-1,1), w is updated to obtain w temp : Among them, w i represents the corresponding i-th solution, T k represents the annealing temperature at the kth iteration; S34. Generate new state Calculate the updated w temp The objective function value f temp , f i is the i-th solution w i The corresponding objective function value is calculated to obtain Δf=f temp -f i ; S35, whether to accept the new status, If Δf<0 or And there is f temp <besty, if there is f temp <y id , then stop the iteration and output the optimal solution, otherwise accept the solution and update it: If you do not accept the solution, continue to iterate; S36, temperature decay, Perform temperature decay according to the minimum annealing temperature T min , the temperature is divided into T max -T mid1 -T mid2 -T min Three temperature zones: The decay rate a gradually decreases, and the temperature is updated as follows: S37, optimization termination judgment, The number of iterations is updated k = k + 1. If T k <T min , the iteration ends, and the historical optimal solution besty is derived as the global optimal solution, otherwise go to step S33 to continue iteration.
Citation Information
Patent Citations
Robot kinematics parameter identification method based on hybrid genetic simulated annealing algorithm
CN112091950A
Calibration and transformation of a camera system's coordinate system
CN103702607A
Intelligent optimization method and intelligent optimization device of positioning network element layout
CN108289301A
