A method for determining the dynamic parameter set of an industrial robot

The hybrid minimum angle regression algorithm is used to adaptively determine the dynamic parameters of industrial robots, which solves the problems of complex calculation and low accuracy in the existing technology, and achieves higher parameter accuracy and universality.

CN118656984BActive Publication Date: 2024-10-29HEBEI UNIV OF TECH +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411117296.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-29
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

When the existing technology determines the dynamic parameters of industrial robots, the calculation process is complex, the accuracy is difficult to guarantee, and the universality is not strong. It needs to be re-derived when the structure changes, and it is difficult to adapt.

Method used

By constructing the dynamic model of the industrial robot, obtaining the actual motion data set of the joints, and using the hybrid minimum angle regression algorithm to adaptively determine the minimum identifiable dynamic parameter vector, the determination process of the dynamic parameter set is simplified and the accuracy of the parameters is improved. and universality.

Benefits of technology

By automatically detecting parameters that have a significant impact on the model output response, it overcomes a large number of iterative calculation problems caused by traditional cross-validation, obtains more accurate dynamic parameters, simplifies the determination process of industrial robot dynamic parameter sets, and improves the accuracy of parameter determination. Accuracy and generalizability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656984B_ABST
    Figure CN118656984B_ABST
Patent Text Reader

Abstract

The present application provides a method for determining a set of dynamic parameters of an industrial robot, and relates to the technical field of industrial robots, and includes the following steps: constructing a dynamic model to characterize the linear relationship between the calculated torque of a joint and an observation matrix and a standard dynamic parameter vector; obtaining an actual motion data set of each joint, including at least the actual torque, angular displacement, angular velocity and angular acceleration of the joint; substituting the angular displacement, angular velocity and angular acceleration into the observation matrix to obtain a regression matrix, updating the calculated torque of the joint with the actual torque of the joint, using the actual torque of the joint as the output response, obtaining the linear relationship between the actual torque of the joint and the regression matrix and the standard dynamic parameter vector, and based on the linear relationship, using a hybrid minimum angle regression algorithm to adaptively determine the minimum identifiable dynamic parameter vector. The present application obtains more accurate dynamic parameters at a lower computational cost, simplifies the determination process of the dynamic parameter set, and improves the accuracy and universality of parameter determination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of industrial robots, and in particular to a method for determining a dynamic parameter set of an industrial robot. Background Art

[0002] An accurate dynamic model of a robot is a prerequisite for precise control, dynamic design and path planning of the robot. The establishment of a robot dynamic model depends on the determination of the robot's dynamic parameters. The current mainstream dynamic parameter identification is based on a dynamic linearization model, that is, the dynamic characteristics of a robot can be regarded as a linear function of its dynamic parameters. When the data sampling points are known, the dynamic parameter identification problem is essentially a data regression problem or a parameter estimation problem, that is, how to extract effective parameter information from limited data.

[0003] In the prior art, the process of determining the minimum identifiable parameter set is as follows: first, it is necessary to ensure that the parameters can be identified using motion data such as joint torque and angular displacement, and that the dynamic parameters of each link only affect its own and lower-level joint torques, and do not affect higher-level joint torques; in addition, it is necessary to classify the rotational joints and screen the identifiable dynamic parameters of each link according to different joint types; finally, it is also necessary to reorganize the linearly related items, and the reorganized dynamic parameters constitute the minimum identifiable parameter set. Parameter reorganization relies on empirical formulas, and the calculation process is complicated, which makes it difficult to ensure the accuracy of the parameters and may cause multiple selections or omissions. When the structure of the industrial robot changes, it needs to be re-derived, and the universality is not strong. Summary of the invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, the present application aims to provide a method for determining a dynamic parameter set of an industrial robot, comprising the following steps:

[0005] Constructing a dynamic model of an industrial robot, wherein the dynamic model is a linear relationship between joint calculation torque and an observation matrix and a standard dynamic parameter vector;

[0006] Acquire an actual motion data set of each joint, wherein the actual motion data set at least includes an actual torque, an actual angular displacement, an actual angular velocity, and an actual angular acceleration of the joint;

[0007] Substituting the actual angular displacement, the actual angular velocity and the actual angular acceleration into the observation matrix to obtain a regression matrix, and using the joint actual torque to update the joint calculated torque, so as to use the joint actual torque as the output response of the dynamic model, thereby obtaining a linear relationship between the joint actual torque and the regression matrix and the standard dynamic parameter vector;

[0008] Based on the linear relationship between the actual torque of the joint and the regression matrix and the standard dynamic parameter vector, a hybrid minimum angle regression algorithm is used to adaptively determine the minimum identifiable dynamic parameter vector.

[0009] According to the technical solution provided in the embodiment of the present application, the method of adaptively determining the minimum identifiable dynamic parameter vector using the hybrid minimum angle regression algorithm includes at least the following steps:

[0010] By performing a hybrid minimum angle regression iteration process on the regression matrix, the actual joint torque is used as the output response of the dynamic model, and a plurality of column vectors in the regression matrix that have the greatest influence on the output response are automatically selected;

[0011] The least square method is used to inversely calculate the coefficients of each column vector, and the non-zero coefficients of each column vector are the minimum identifiable dynamic parameter vectors.

[0012] According to the technical solution provided by the present application, the hybrid minimum angle regression iterative process of the regression matrix is ​​used to take the actual torque of the joint as the output response of the dynamic model, which at least includes the following steps:

[0013] In each regression iteration, the sensitive column vector that has the greatest impact on the output response in the candidate data set is automatically selected according to the current estimated residual corresponding to the output response and the previous regression iteration, and is moved to the sensitive data set to obtain the sensitive data set corresponding to the regression iteration;

[0014] Calculate the current estimate corresponding to the sensitive data set corresponding to the regression iteration to obtain the current estimate residual corresponding to the regression iteration, so that the correlation between the current estimate residual and the sensitive data set is equal to the correlation between the current estimate residual and the remaining column vectors in the candidate data set;

[0015] When the cumulative number of regression iterations is less than or equal to a first preset threshold, and the number of the sensitive column vectors in the sensitive data set of this regression iteration is the first preset threshold, the iteration is stopped to obtain a corresponding number of sparse dynamic models.

[0016] According to the technical solution provided by this application, for the first regression iteration, at least the following steps are included:

[0017] Set the initialization standard parameter vector to obtain the current estimate of the first regression iteration, and then obtain the current estimate residual of the first regression iteration;

[0018] Setting an initialization candidate data set and an initialization sensitive data set, wherein the initialization candidate data set is the regression matrix, and the initialization sensitive data set is an empty set;

[0019] Setting an initialization candidate data set index set and an initialization sensitive data set index set, wherein the initialization candidate data set index set is a set of all column vector index values ​​in the regression matrix, and the initialization sensitive data set index set is an empty set;

[0020] For l The regression iterations include at least the following steps:

[0021] After each regression iteration, the candidate data set, sensitive data set, candidate data set index set, and sensitive data set index set corresponding to the regression iteration are obtained; the candidate data set index set is the set of all column vector index values ​​in the candidate data set corresponding to each regression iteration; the sensitive data set index set is the set of all column vector index values ​​in the sensitive data set corresponding to each regression iteration.

[0022] According to the technical solution provided by the present application, the sensitive column vector that has the greatest impact on the output response in the candidate data set is automatically selected based on the current estimated residual corresponding to the output response and the previous regression iteration, and is moved to the sensitive data set to obtain the sensitive data set corresponding to the current regression iteration, which at least includes the following steps:

[0023] According to the current estimated residual corresponding to the previous regression iteration, the correlation between each column vector in the candidate data set corresponding to the previous regression iteration and the current estimated residual is obtained;

[0024] Select the column vector with the largest correlation as the sensitive column vector;

[0025] The index value of the sensitive column vector relative to the candidate data set index set corresponding to the previous regression iteration is retrieved, and the index value is converted into a column index value of the regression matrix, and moved to the sensitive data set index set to obtain the candidate data set and sensitive data set corresponding to this regression iteration.

[0026] According to the technical solution provided by this application, for l The regression iteration also includes the following steps:

[0027] For the sensitive data set corresponding to each regression iteration, the equiangular vector is determined and the inner product vector is defined;

[0028] According to the inner product vector, determine the step size of the equiangular vector;

[0029] The current estimate of the output response for that iteration is updated according to the step size of the equiangular vector.

[0030] According to the technical solution provided by the present application, the hybrid minimum angle regression iterative process of the regression matrix is ​​used to take the actual torque of the joint as the output response of the dynamic model, which at least includes the following steps:

[0031] According to the candidate data set and sensitive data set corresponding to each regression iteration, a sparse dynamic model is constructed to obtain the calculated torques of several joints;

[0032] According to the calculated torque of each joint and the actual torque of the joint, the leave-one-out cross-validation method is adopted to select the sparse dynamic model corresponding to the calculated torque of the joint with the smallest error.

[0033] According to the technical solution provided by the present application, after selecting the sparse dynamic model corresponding to the joint calculated torque with the smallest error, the following steps are also included:

[0034] The sensitive data set index set corresponding to the sparse dynamics model corresponding to the joint calculation torque with the smallest error is used as the optimal sensitive data set index set;

[0035] The column vectors corresponding to all index values ​​in the optimal sensitive data set index set in the regression matrix are retained, and the rest are set to zero vectors to obtain the optimal sparse regression matrix.

[0036] Compared with the prior art, the beneficial effect of the present application is that the present application updates the linear relationship between the calculated torque of the joints and the regression matrix and the dynamic parameters in the dynamic model through the actual motion data set of each joint of the industrial robot, and then uses the hybrid minimum angle regression algorithm to automatically detect the parameters that have a more significant impact on the output response of the model based on the regression matrix. Since the hybrid minimum angle regression algorithm improves the cross-validation process on the basis of the original minimum angle regression algorithm, and directly calculates the approximate error of the sparse model based on the minimum angle regression, it overcomes the problem of a large number of minimum angle regression iterative calculations caused by traditional cross-validation, obtains more accurate dynamic parameters at a lower computing cost, simplifies the process of determining the dynamic parameter set of the industrial robot, and improves the accuracy of parameter determination and the universality of use. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A flowchart of the steps of a method for determining a dynamic parameter set of an industrial robot provided in this application. DETAILED DESCRIPTION

[0038] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0039] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0040] Example 1

[0041] As mentioned in the background technology, in order to solve the problems in the prior art, this application proposes a method for determining the dynamic parameter set of an industrial robot, please refer to Figure 1 As shown, the following steps are included:

[0042] S1. Construct a dynamic model of an industrial robot, wherein the dynamic model is a linear relationship between joint calculation torque and an observation matrix and a standard dynamic parameter vector;

[0043] Optionally, dynamic modeling is performed on an industrial robot with six degrees of freedom to obtain a corresponding dynamic model, thereby determining the number of degrees of freedom;

[0044] Specifically, the linear relationship between the joint calculated torque and the observation matrix and the standard dynamic parameter vector can be expressed as: ;

[0045] In the formula, represents the calculated torque of the joint, In this embodiment, Calculate the torque components for the six joints n A column vector with 1 row and 1 column, so it can be called the joint calculation torque vector; represents a vector space with n rows and 1 column, n represents the number of rows of the column vector, which is equal to the number of degrees of freedom. In this specific embodiment, n =6; Represents the observation matrix, which contains the obtained test motion information. The test motion information includes the angular displacement q and angular velocity of all joints. , angular acceleration , , represents a vector space with n rows and Q columns, Q is the number of standard kinetic parameters. In this embodiment, Q =78;

[0046] represents the standard dynamics parameter vector, , i =1, 2, …,6, where: I xxi , I yyi , I zzi , I xyi , I yzi , I xzi Represents joints iThe inertia tensor of the corresponding connecting rod is, I mxi , I myi , I mzi Represents joints i The mass moment of the corresponding connecting rod is, m i It's a joint i The mass of the corresponding connecting rod, F ci is the Coulomb friction coefficient, F vi is the viscous friction coefficient of the joint, B i are the asymmetric friction and non-zero force / torque offset coefficients.

[0047] According to the modified DH parameters describing the transformation relationship of the industrial robot coordinate system, the non-full-rank observation matrix is ​​obtained by kinematic extrapolation and dynamic internalization. , It represents a vector space with 6 rows and 78 columns. Since the observation matrix is ​​not full rank, the standard dynamic parameter vector of the industrial robot cannot be identified based on the motion data of the industrial robot by the least squares method. .

[0048] S2. Acquire an actual motion data set of each joint, wherein the actual motion data set at least includes an actual torque, an actual angular displacement, an actual angular velocity, and an actual angular acceleration of the joint;

[0049] Specifically, according to the motion limit range of the robot's six joints specified in the industrial robot operation and maintenance manual provided by the manufacturer, 7500 motion samples were randomly collected within the angular displacement and angular velocity constraint range of each joint as follows:

[0050]

[0051] In the formula, = t 1, t 2, …, t 7500 represents the sampling time, represents the first sampling moment, t 7500 represents the 7500th sampling moment, which is the moment when the joint movement stops in this embodiment, that is, the movement duration of the joint, is the absolute maximum value of the actual angular displacement of the joint, is the absolute maximum value of the actual angular velocity of the joint, It is the absolute maximum value of the actual angular acceleration of the joint.

[0052] The driver extracts the experimental motion information of each joint, for example, i The actual angular displacement q i ,joint i The actual angular velocity ,joint i The actual angular acceleration and joints i The actual joint torque , the controller sends these actual motion data of the industrial robot to the host computer, and uses a Butterworth low-pass filter to filter and reduce noise on the actual motion data. The data generated by the actual motion of the industrial robot changes with the motion time. Therefore, the actual motion data set of each joint can be expressed as:

[0053]

[0054] In the formula, t e Indicates e The sampling time, e =1, 2, …, 7500; , , , Represents the six joints in t e The actual torque, actual angular displacement, actual angular velocity and actual angular acceleration of the joint at the sampling time can be expressed as ;

[0055] In the formula, , , , Respectively represent i Joints t e The actual torque, actual angular displacement, actual angular velocity and actual angular acceleration of the joint at the sampling moment. For example, when e=1, Indicates the actual torque of the six joints at the first sampling moment, including = , , , , , , specifically is the actual torque of the first joint at the first sampling moment, and so on. is the actual angular displacement of the six joints at the first sampling moment, is the actual angular velocity of the six joints at the first sampling moment, is the actual angular acceleration of the six joints at the first sampling moment. Specifically, is the actual torque of the first joint at the first sampling moment, is the actual angular displacement of the first joint at the first sampling moment, is the actual angular velocity of the first joint at the first sampling moment, is the actual angular acceleration of the first joint at the first sampling moment, and so on. In this embodiment, the number of samples included in the actual motion data set is 45,000.

[0056] S3, substituting the actual angular displacement, the actual angular velocity and the actual angular acceleration into the observation matrix to obtain a regression matrix, and using the joint actual torque to update the joint calculated torque, so as to use the joint actual torque as the output response of the dynamic model, and then obtain a linear relationship between the joint actual torque and the regression matrix and the standard dynamic parameter vector;

[0057] Specifically, after the observation matrix is ​​converted into a regression matrix, the actual torque of the joint of the industrial robot is converted into the actual torque of the joint after conversion. The actual torque of the joint after conversion can be expressed as: ;in, Indicates the actual torque of the joint after conversion; Represents the regression matrix, and the specific calculation is as follows;

[0058] The actual angular displacement of all sample points in the actual motion data sample set of the industrial robot , the actual angular velocity , the actual angular acceleration Substitute into the observation matrix In the above equation, we get the regression matrix, which can be expressed as:

[0059]

[0060] In the formula, Represents a regression matrix with dimensions of 45,000 rows and 78 columns, expressed as , can be used as the input of the dynamic model, correspondingly, The actual torque of the transformed joint with a dimension of 45000 rows and 1 column is expressed as , since it is 1 column, it can also be called the actual torque vector of the joint after transformation, which is the output response of the dynamic model.

[0061] S4. Based on the linear relationship between the actual torque of the joint and the regression matrix and the standard dynamic parameter vector, a hybrid minimum angle regression algorithm is used to adaptively determine the minimum identifiable dynamic parameter vector.

[0062] Specifically, the cross-validation process of the traditional minimum angle regression algorithm is to select the optimal minimum angle regression solution. The specific process is: each minimum angle regression calculation is obtained. m parameter vectors; calculate m parameter vector about the subset Z u ( u =1, 2, …, w , Z u As the validation set for each minimum angle regression calculation, w represents the number of subsets) of the calculated torque m The residual sum of squares, w After calling the minimum angle regression calculation, the matrix dimension of the residual sum of squares is w OK m Column, for j Column residual sum of squares ( j =1, 2, …, m ; j represents the column index number), calculate its relative w The mean of the subsets. In this case, the matrix dimension of the residual sum of squares is 1 row m Column, select the minimum value of the residual square mean, corresponding to the residual square mean matrix j * column, the corresponding minimum angle regression iteration number is j *, and then perform a minimum angle regression calculation on the entire original data regression matrix. m The regression iterations m parameter vector, according to j *Confirm this m The first parameter vector j * parameter vector is the final parameter vector, so the traditional cross-validation process calls w +1 minimum angle regression algorithm has a large amount of calculation. The way the subsets are divided also affects the results of cross-validation. In addition, in the leave-one-out cross-validation method, only one sample is used in the validation set for each calculation, and the remaining samples are training sets. Although the sample division does not need to be considered, this embodiment still needs to be calculated 45,000 times, that is, calling the minimum angle regression 45,000 times. The calculation cost increases greatly with the number of samples.

[0063] Therefore, in order to solve the above defects, this application uses a hybrid minimum angle regression algorithm to improve the crossover algorithm based on the traditional minimum angle regression algorithm. Specifically, the minimum angle regression algorithm is called once, and the number of iterations is m times, get m A sparse dynamics model; inversely solve the problem using the least squares method mThe parameter vector of the sparse dynamics model is obtained; the accuracy of the sparse dynamics model is evaluated by cross-validation method; the m The best sparse dynamics model among the sparse dynamics models has the corresponding index j * A sparse dynamics model; according to j *The column vector index value of the original data regression matrix corresponding to the first sparse dynamic model is used to determine the final sparse data regression matrix, and the parameter vector is inversely obtained using minimum angle regression, where the non-zero item is the minimum identifiable parameter.

[0064] In a preferred embodiment, the method of adaptively determining the minimum identifiable kinetic parameter vector using a hybrid minimum angle regression algorithm comprises at least the following steps:

[0065] By performing a hybrid minimum angle regression iteration process on the regression matrix, the actual joint torque is used as the output response of the dynamic model, and a plurality of column vectors in the regression matrix that have the greatest influence on the output response are automatically selected;

[0066] The least square method is used to inversely calculate the coefficients of each column vector, and the non-zero coefficients of each column vector are the minimum identifiable dynamic parameter vectors.

[0067] In a preferred embodiment, the process of using the actual joint torque as the output response of the dynamic model through a hybrid minimum angle regression iterative process of the regression matrix comprises at least the following steps:

[0068] In each regression iteration, the sensitive column vector that has the greatest impact on the output response in the candidate data set corresponding to the previous regression iteration is automatically selected according to the current estimated residual corresponding to the output response and the previous regression iteration, and is moved to the sensitive data set to obtain the sensitive data set corresponding to this regression iteration;

[0069] Calculate the current estimate corresponding to the sensitive data set corresponding to the regression iteration to obtain the current estimate residual corresponding to the regression iteration, so that the correlation between the current estimate residual and the sensitive data set is equal to the correlation between the current estimate residual and the remaining column vectors in the candidate data set;

[0070] When the cumulative number of regression iterations is less than or equal to a first preset threshold, and the number of the sensitive column vectors in the sensitive data set of this regression iteration is the first preset threshold, the iteration is stopped to obtain a corresponding number of sparse dynamic models.

[0071] Specifically, the iteration stop condition is: when the number of sparsifications reaches l ≤ m When Increase twice in succession, input new samples and recalculate the mixed minimum angle regression; otherwise, repeat the process until the input m sensitive column vectors, i.e. m After the iterative calculation, the calculation stops, where Indicates l Leave-one-out cross-validation error for a sparse dynamics model;

[0072]

[0073] Specifically, stop the m At the iteration, we get m A sparse dynamic model. In this specific embodiment, the maximum dimension of the sensitive data set index set is 78, that is, the maximum number of sparse dynamic models is 78.

[0074] In a preferred embodiment, for the first regression iteration, at least the following steps are included:

[0075] Set the initialization standard parameter vector to obtain the current estimate of the first regression iteration, and then obtain the current estimate residual of the first regression iteration;

[0076] Setting an initialization candidate data set and an initialization sensitive data set, wherein the initialization candidate data set is the regression matrix, and the initialization sensitive data set is an empty set;

[0077] Setting an initialization candidate data set index set and an initialization sensitive data set index set, wherein the initialization candidate data set index set is a set of all column vector index values ​​in the regression matrix, and the initialization sensitive data set index set is an empty set;

[0078] For l The regression iterations include at least the following steps:

[0079] After each regression iteration, the candidate data set, sensitive data set, candidate data set index set, and sensitive data set index set corresponding to the regression iteration are obtained; the candidate data set index set is the set of all column vector index values ​​in the candidate data set corresponding to each regression iteration; the sensitive data set index set is the set of all column vector index values ​​in the sensitive data set corresponding to each regression iteration.

[0080] In a preferred embodiment, the method of automatically selecting the sensitive column vector having the greatest impact on the output response from the candidate data set corresponding to the previous regression iteration according to the current estimated residual corresponding to the output response and the previous regression iteration, and moving it to the sensitive data set to obtain the sensitive data set corresponding to the current regression iteration, comprises at least the following steps:

[0081] According to the current estimated residual corresponding to the previous regression iteration, the correlation between each column vector in the candidate data set corresponding to the previous regression iteration and the current estimated residual is obtained;

[0082] Select several column vectors with the largest correlation as sensitive column vectors;

[0083] The index value of the sensitive column vector relative to the candidate data set index set corresponding to the previous regression iteration is retrieved, and the index value is converted into a column index value of the regression matrix, and moved to the sensitive data set index set to obtain the candidate data set and sensitive data set corresponding to this regression iteration.

[0084] Specifically, the index value is converted into an original column absolute index value in the regression matrix.

[0085] Set the initialization standard parameter vector to a zero vector with 78 rows and 1 column, that is , correspondingly, the current estimate of the output response can be initialized to a zero vector of 45000 rows and 1 column, that is, , where is the current estimate of the output response, is the regression matrix, is the initialization standard parameter vector, which is composed of the current estimate of the output response It can be obtained that the current residual vector of the output response is ;

[0086] Furthermore, the initialization candidate dataset is set to , where represents the initialization of the candidate dataset, , is the initial candidate data set index set, which represents the set of all column vector index values ​​in the initial candidate data set. j Indicates the column index number.

[0087] Furthermore, the sensitive dataset can be initialized as , where Indicates initialization of sensitive data sets, , is the initial sensitive data set index set, which represents the set of all column vector index values ​​in the initial sensitive data set.

[0088] When l When calculating the iteration, calculate the regression matrix The correlation with the current estimated residual can be expressed as:

[0089]

[0090] In the formula, for The transposed matrix of Indicates l -1) The current estimate of the output response obtained by the iteration; Represents the regression matrix The correlation between each column vector in and the current estimated residual.

[0091] Further, select the candidate data set corresponding to the previous regression iteration The column vector with the largest correlation with the current estimated residual in can be expressed as:

[0092]

[0093] In the formula, C represents the maximum absolute value of the correlation, express The j row elements, Indicates l -1) The candidate dataset index set obtained by iteration.

[0094] Furthermore, search C Relative to The index value can be expressed as:

[0095]

[0096] Set the index value Convert to regression matrix The absolute index value of the column in , and moved to the sensitive data set index set. At this time, l The sensitive data set index set generated by the iteration It can be expressed as:

[0097]

[0098] In the formula, Indicates l The sensitive data set index set generated by the previous iteration;

[0099] In a preferred embodiment, for the l The regression iteration also includes the following steps:

[0100] For the sensitive data set corresponding to each regression iteration, the equiangular vector is determined and the inner product vector is defined;

[0101] According to the inner product vector, determine the step size of the equiangular vector;

[0102] The current estimate of the output response for that iteration is updated according to the step size of the equiangular vector.

[0103] Specifically, calculate the equiangular vector, for the l Sensitive dataset generated by regression iteration ,definition The signs of the column vectors in ,

[0104]

[0105] In the formula, represents the sign of each column vector, Indicates from The sensitive column vector retrieved from the output response (actual joint torque after conversion) , since the dimension at this time is 1 column, the output response at this time can be called the correlation of the actual joint torque vector after transformation, Indicates the index value of the sensitive data set. In this case, the sensitive data set is l The regression matrix of the sparse dynamics model is , .

[0106] Sensitive Datasets It can be expressed as:

[0107]

[0108] In the formula, Represents sensitive data sets The absolute index number in is v The sensitive column vector of is its corresponding symbol;

[0109] Furthermore, the unit descent direction of the equiangular vector is defined as:

[0110]

[0111] In the formula, Represents the information matrix, where when the first iteration is calculated Find the inverse, and then only update the information matrix based on the previous one.

[0112] The descent direction of the equiangular vector can be expressed as:

[0113]

[0114] In the formula, c represents the unit descending direction of the equiangular vector, Representation and The column vectors in the vector are at equal angles to the unit vectors, and the angle is less than 90°.

[0115] At this time, the equiangular vector in the residual space can be expressed as:

[0116]

[0117] In the formula, represents the equiangular vector in the residual space, and The angles between all column vectors in are equal.

[0118] Furthermore, the inner product vector is defined as:

[0119]

[0120] In the formula, represents the intermediate value of the parameter vector, ;at this time, , is replaced by the original regression matrix.

[0121] Step size for isotropic vectors It can be expressed as,

[0122]

[0123] In the formula, Indicated in In each choice of , only the minimum positive component is taken; Indicates that the new sensitive column vector Add to sensitive datasets The minimum positive value of ; Represents the regression matrix The correlation between each column vector and the current estimated residual The j item, Represents the intermediate value of the parameter vector No. j item.

[0124] Update the current estimate of the output response, which can be expressed as,

[0125]

[0126] At this point, the candidate data set index set is updated, which can be expressed as:

[0127]

[0128] In the formula, Indicates l The first iterative calculation l A candidate dataset index set.

[0129] In a preferred embodiment, the process of using the actual joint torque as the output response of the dynamic model through a hybrid minimum angle regression iterative process of the regression matrix comprises at least the following steps:

[0130] According to the candidate data set and sensitive data set corresponding to each regression iteration, a sparse dynamic model is constructed to obtain the calculated torques of several joints;

[0131] Specifically, the sensitive data set corresponding to each regression iteration is the sparse dynamics model corresponding to the regression iteration, and the joint calculation torque can be calculated through the sparse dynamics model.

[0132] According to the calculated torque of each joint and the actual torque of the joint, a leave-one-out cross-validation method is adopted to select the sparse dynamics model corresponding to the calculated torque of the joint with the smallest error.

[0133] Specifically, according to the least squares method, l The first regression iteration l The parameter vector corresponding to the sparse dynamics model is , which can be expressed as,

[0134]

[0135] In the formula, , is a l Parameter vector with rows and columns.

[0136] Calculate the l The calculated torques of the joints of the sparse dynamics model are:

[0137]

[0138] In the formula, , indicating the l The joint torques of the sparse model are calculated, , indicating the l The regression matrix of the sparse dynamics model is l The sensitive data set corresponding to the sparse dynamics model, the dimension of the regression matrix is ​​45000 rows l List; Indicates l The minimum identifiable parameter vector corresponding to the sparse dynamic model. The dimension of the calculated torque of this joint is 45,000 rows and 1 column.

[0139] Furthermore, we define the prediction residual, that is, When the output response is based on the l Sensitive datasets The difference between the predicted torque and

[0140]

[0141] In the formula, represents the prediction residual, Indicates l The prediction residual is the difference between the output response and the l Sensitive datasets The difference between the predicted torque, , , The prediction residual item.

[0142] Define the leave-one-out cross validation error as,

[0143]

[0144] The prediction residuals can be calculated analytically based on the linear relationship of the kinetic model, so It can be expressed as,

[0145]

[0146] In the formula, Indicates l The first step of calculating the torque of the joint of the sparse dynamic model item; Indicates the output response (actual torque of the joint ) samples; is the information matrix h Item, the information matrix h can be expressed as,

[0147]

[0148] Where h has a dimension of 45,000 rows and 1 column.

[0149] Define the empirical variance of the output response, which can be expressed as,

[0150]

[0151] In the formula, represents the empirical variance of the output response, represents the mean of the output response, which can be expressed as,

[0152]

[0153] So far, l The leave-one-out cross-validation error of a sparse dynamics model can be expressed as,

[0154]

[0155] In the formula, In order to reduce the sensitivity of the error to overfitting, the error is corrected when overfitting occurs:

[0156] Defining Correction Factors T It can be expressed as,

[0157]

[0158] In the formula, l Indicates l In the sparse dynamics model The number of columns; represents the information matrix, which can be expressed as,

[0159]

[0160] The corrected error can be expressed as,

[0161]

[0162] The error is obtained after the first hybrid minimum angle regression sparsification , defined as the reference error , in order to ensure that the reference error is always the minimum error of the sparse dynamics model, when When , the reference error is updated, which can be expressed as,

[0163]

[0164] In a preferred embodiment, after selecting the sparse dynamics model corresponding to the joint calculated torque with the smallest error, the following steps are also included:

[0165] The sensitive data set index set corresponding to the sparse dynamics model corresponding to the joint calculation torque with the smallest error is used as the optimal sensitive data set index set;

[0166] The column vectors corresponding to all index values ​​in the optimal sensitive data set index set in the regression matrix are retained, and the rest are set to zero vectors to obtain the optimal sparse regression matrix.

[0167] Furthermore, the determination coefficient reflecting the accuracy of the sparse dynamics model is defined and can be expressed as

[0168]

[0169] In this specific embodiment, the calculated torque errors of 78 sparse dynamic models are obtained by hybrid minimum angle regression calculation, which can be expressed as:

[0170]

[0171] And the determination coefficient for judging the accuracy of 78 sparse dynamic models can be expressed as,

[0172]

[0173] Furthermore, hybrid minimum angle regression-error cross validation is used to select the most accurate sparse dynamics model from 78 sparse dynamics models. The criterion is:

[0174]

[0175] The index value of the sparse model with the highest model accuracy is automatically retrieved , that is, the 49th sparse dynamics model is the best sparse model.

[0176] In order to ensure that each kinetic parameter has actual physical meaning, according to the sensitive data set index set The absolute index value in the sparse dynamics model is (i.e., a sensitive data set with dimensions of 45,000 rows and 49 columns) is resized to the original regression matrix with dimensions of 45,000 rows and 78 columns, i.e., the regression matrix retaining the original data The best sensitive dataset index set The column vectors corresponding to all index values ​​in , and the remaining columns are set to zero vectors, and the adjusted dimension is 45000 rows and 78 columns of sensitive data sets .

[0177] At this point, the optimal sparse regression matrix is ​​automatically selected, which can be expressed as:

[0178]

[0179] In the formula, Represents the optimal sparse regression matrix. So far, adaptive identification has obtained the minimum identifiable parameter set corresponding to the optimal sparse regression matrix, which is the minimum identifiable dynamic parameter vector finally obtained by the application.

[0180]

[0181] In the formula, It represents a dynamic parameter identification vector with a dimension of 78 rows and 1 column, of which there are 49 non-zero items, that is, the minimum number of identifiable parameters is 49.

[0182] The traditional least squares method is used to establish a kinetic model, which usually requires the kinetic parameters to be reorganized to obtain the minimum identifiable parameter set, i.e., the basic kinetic parameters, as shown in Table 1. The minimum identifiable parameter set obtained by the determination method of the present application is shown in Table 2. By comparing Table 1 and Table 2, the number of minimum identifiable standard parameters obtained by the determination method of the present application is 49, which is less than the 54 basic kinetic parameters obtained by parameter reorganization.

[0183] Table 1 Minimum identifiable parameter set obtained by parameter reorganization

[0184]

[0185] Table 2 Minimum identifiable parameter set obtained in this application

[0186]

[0187] By comparing the joint calculated torque of the dynamic model established by the determination method of the present application with the joint calculated torque of the dynamic model established based on the least squares method, and comparing the fitting curves and root mean square error values ​​of the joint calculated torque and the actual joint torque of the two dynamic models, it is found that: when using different minimum identifiable dynamic parameter sets, the calculated torque accuracy of the two dynamic models based on the same actual motion data set is close.

[0188] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.

Claims

1. A method for determining a dynamic parameter set of an industrial robot, characterized in that: The following steps are involved: Constructing a dynamic model of an industrial robot, wherein the dynamic model is a linear relationship between joint calculation torque and an observation matrix and a standard dynamic parameter vector; Acquire an actual motion data set of each joint, wherein the actual motion data set includes an actual torque, an actual angular displacement, an actual angular velocity, and an actual angular acceleration of the joint; Substituting the actual angular displacement, the actual angular velocity and the actual angular acceleration into the observation matrix to obtain a regression matrix, and using the joint actual torque to update the joint calculated torque, so as to use the joint actual torque as the output response of the dynamic model, thereby obtaining a linear relationship between the joint actual torque and the regression matrix and the standard dynamic parameter vector; Based on the linear relationship between the actual torque of the joint and the regression matrix and the standard dynamic parameter vector, a hybrid minimum angle regression algorithm is used to adaptively determine the minimum identifiable dynamic parameter vector; The method of adaptively determining the minimum identifiable kinetic parameter vector using a hybrid minimum angle regression algorithm comprises the following steps: By performing a hybrid minimum angle regression iteration process on the regression matrix, the actual joint torque is used as the output response of the dynamic model, and a plurality of column vectors in the regression matrix that have the greatest influence on the output response are automatically selected; The coefficients of each column vector are inversely calculated using the least square method, and the non-zero coefficients of each column vector are the minimum identifiable dynamic parameter vectors; The method of using the actual joint torque as the output response of the dynamic model through a hybrid minimum angle regression iterative process of the regression matrix comprises the following steps: In each regression iteration, the sensitive column vector that has the greatest impact on the output response in the candidate data set corresponding to the previous regression iteration is automatically selected according to the current estimated residual corresponding to the output response and the previous regression iteration, and is moved to the sensitive data set to obtain the sensitive data set corresponding to this regression iteration; Calculate the current estimate corresponding to the sensitive data set corresponding to the regression iteration to obtain the current estimate residual corresponding to the regression iteration, so that the correlation between the current estimate residual and the sensitive data set is equal to the correlation between the current estimate residual and the remaining column vectors in the candidate data set; When the cumulative number of regression iterations is less than or equal to a first preset threshold, and the number of the sensitive column vectors in the sensitive data set of the regression iteration is the first preset threshold, the iteration is stopped to obtain a corresponding number of sparse dynamic models; The method of using the actual joint torque as the output response of the dynamic model through a hybrid minimum angle regression iterative process of the regression matrix comprises the following steps: According to the candidate data set and sensitive data set corresponding to each regression iteration, a sparse dynamic model is constructed to obtain the calculated torques of several joints; According to the calculated torque of each joint and the actual torque of the joint, a leave-one-out cross validation method is adopted to select the sparse dynamics model corresponding to the calculated torque of the joint with the smallest error; After selecting the sparse dynamics model corresponding to the joint calculation torque with the smallest error, the following steps are also included: The sensitive data set index set corresponding to the sparse dynamics model corresponding to the joint calculation torque with the smallest error is used as the optimal sensitive data set index set; The column vectors corresponding to all index values ​​in the optimal sensitive data set index set in the regression matrix are retained, and the rest are set to zero vectors to obtain the optimal sparse regression matrix.

2. The method for determining the industrial robot dynamic parameter set according to claim 1, characterized in that: For the first regression iteration, the following steps are involved: Set the initialization standard parameter vector to obtain the current estimate of the first regression iteration, and then obtain the current estimate residual of the first regression iteration; Setting an initialization candidate data set and an initialization sensitive data set, wherein the initialization candidate data set is the regression matrix, and the initialization sensitive data set is an empty set; Setting an initialization candidate data set index set and an initialization sensitive data set index set, wherein the initialization candidate data set index set is a set of all column vector index values ​​in the regression matrix, and the initialization sensitive data set index set is an empty set; For l The regression iterations include the following steps: After each regression iteration, the candidate data set, sensitive data set, candidate data set index set, and sensitive data set index set corresponding to the regression iteration are obtained; the candidate data set index set is the set of all column vector index values ​​in the candidate data set corresponding to each regression iteration; the sensitive data set index set is the set of all column vector index values ​​in the sensitive data set corresponding to each regression iteration.

3. The method for determining the dynamic parameter set of an industrial robot according to claim 1, characterized in that: The method automatically selects the sensitive column vector having the greatest impact on the output response from the candidate data set corresponding to the previous regression iteration according to the current estimated residual corresponding to the output response and the previous regression iteration, and moves it to the sensitive data set to obtain the sensitive data set corresponding to the current regression iteration, including the following steps: According to the current estimated residual corresponding to the previous regression iteration, the correlation between each column vector in the candidate data set corresponding to the previous regression iteration and the current estimated residual is obtained; Select the column vector with the largest correlation as the sensitive column vector; The index value of the sensitive column vector relative to the candidate data set index set corresponding to the previous regression iteration is retrieved, and the index value is converted into a column index value of the regression matrix, and moved to the sensitive data set index set to obtain the candidate data set and sensitive data set corresponding to this regression iteration.

4. The method for determining the industrial robot dynamic parameter set according to claim 2, characterized in that: For l The regression iteration also includes the following steps: For the sensitive data set corresponding to each regression iteration, the equiangular vector is determined and the inner product vector is defined; According to the inner product vector, determine the step size of the equiangular vector; The current estimate of the output response for that iteration is updated according to the step size of the equiangular vector.

Citation Information

Patent Citations

  • Vehicle signal processing method and device and driving equipment

    CN114620052A

  • Industrial robot kinetic parameter self-learning identification method based on digital twinning

    CN115476363A