A method and system for robot dynamics parameter identification with closed-chain structure

By modeling the closed-chain heavy-duty robot as a tree-like open-chain model, and combining Newton-Euler recursion and singular value decomposition, the coupling and redundancy problems in the dynamic parameter identification of the closed-chain heavy-duty robot are solved, achieving high-precision parameter identification and improved stability.

CN123169152APending Publication Date: 2026-11-27SHANDONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611695343.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately model and identify the dynamic parameters of heavy-duty robots with closed-loop structures, resulting in complex closed-loop coupling relationships, severe parameter redundancy, and difficulties in balancing excitation sufficiency and engineering feasibility in excitation trajectories.

Method used

A tree-like open-chain model is used to virtually open-loop process the closed-chain structure. Combined with the Newton-Euler recursive method and singular value decomposition, a dynamic model of independent generalized coordinates is constructed. The parameters are identified by the minimum parameter regression model and the weighted regularized maximum a posteriori estimation method, and the excitation trajectory under the confined space is designed.

Benefits of technology

It achieves high-precision dynamic parameter identification of heavy-duty robots with closed-chain structures, improves the accuracy and identification stability of the model, adapts to complex environments and spatial constraints, and reduces the impact of parameter redundancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169152A_ABST
    Figure CN123169152A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of robots, and particularly discloses a robot dynamics parameter identification method and system for a robot with a closed chain structure, which can realize accurate establishment of a dynamics model of the robot and high-precision identification of key parameters, and provide a basis for performance analysis, error compensation and optimization control of the robot. Specifically, the application comprises the following steps: dynamics modeling of a closed chain structure heavy-load robot, dynamics linearization, minimum parameter set extraction, excitation trajectory design in a limited space, and regularized maximum a posteriori estimation parameter identification based on CAD prior constraints; the application can realize high-precision, high-stability and high-credibility dynamics parameter acquisition under the conditions of a limited space and complex closed loop coupling, and can provide a reliable parameter basis for error compensation, dynamics control, trajectory optimization and performance improvement of the robot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robotics, and in particular to a method and system for identifying dynamic parameters of robots with closed-loop structures. Background Technology

[0002] Heavy-duty robots with closed-chain structures (parallelogram structures) are widely used in industrial scenarios such as handling, palletizing, welding, assembly, and heavy machining due to their advantages of high load-bearing capacity, high structural rigidity, and good motion stability. These robots typically operate under conditions of high load, high inertia, and wide workspace. The accuracy of their dynamic model directly affects trajectory tracking performance, torque compensation effect, vibration suppression capability, and operational reliability. Especially in applications such as high-precision control, offline programming correction, structural performance evaluation, and fault diagnosis, inaccurate dynamic parameters can easily lead to model mismatch, increased control errors, and decreased operational performance. Therefore, accurate dynamic modeling and parameter identification of heavy-duty robots with closed-chain structures are of great significance for improving the robot's dynamic performance and engineering application level.

[0003] Currently, significant research progress has been made in robot dynamics modeling and parameter identification methods in the field of serial industrial robots. These methods typically employ Newton-Euler and Lagrange methods to establish dynamic equations, and combine them with minimum parameter set extraction, regression matrix construction, and excitation trajectory design to achieve dynamic parameter identification. However, directly applying existing methods to heavy-duty robots with closed-chain structures still presents the following problems: 1. The closed-loop coupling relationship is complex, and conventional open-loop modeling methods are difficult to apply directly. For heavy-duty robots with closed-chain structures, which typically contain closed-loop linkages, there are clear geometric constraints and kinematic couplings between the components, and some joint variables are not independent. Most existing dynamic modeling methods are designed for serial open-chain robots. If directly applied to heavy-duty robots with closed-chain structures, the influence of closed-loop constraints on the transmission of velocity, acceleration, and joint forces is easily overlooked, resulting in incomplete model representation, unclear physical meaning, and difficulty in accurately reflecting the true dynamic characteristics of such robots.

[0004] 2. Parameter redundancy is severe, making it difficult to extract the minimum parameter set. For heavy-duty robots with closed-loop structures, the dynamic parameters often exhibit stronger linear correlation and coupling due to the coordinated motion and constraint transmission of multiple components within the closed-loop mechanism, easily generating a large number of redundant parameters. Existing methods typically require further extraction of a minimum parameter set after establishing a dynamic regression model. However, with the presence of closed-loop constraints, the regression matrix structure becomes more complex, making parameter independence determination and minimum parameter set decomposition more difficult. This results in a high-dimensional identification model and poor identification stability, affecting the accuracy and usability of the final parameter identification results.

[0005] 3. It is difficult to balance identifiability and on-site feasibility in incentive trajectory design. Dynamic parameter identification typically relies on sufficiently excited joint motion trajectories to improve the numerical quality of the regression matrix and enhance parameter identifiability. However, for closed-chain heavy-duty robots, their mechanisms are large in size, have high inertia, and limited joint actuation capabilities. Furthermore, actual operating environments often present spatial constraints such as walls, tooling, and machining tables. Existing excitation trajectory design methods for ordinary serial robots primarily aim to improve the sufficiency of parameter excitation, often requiring the robot to move rapidly over a large range. This is insufficient to meet the identification needs of heavy-duty robots in confined spaces, complex obstacle environments, and under safety constraints. Consequently, while the trajectories may have theoretical excitation effects, they are difficult to implement directly in engineering settings. Summary of the Invention

[0006] The purpose of this invention is to address the problems of complex closed-loop coupling relationships, difficult dynamic modeling, severe parameter redundancy, and difficulty in balancing excitation sufficiency and engineering feasibility in trajectory identification of heavy-duty robots with closed-loop structures. This invention proposes a method and system for identifying dynamic parameters of robots with closed-loop structures, so as to achieve accurate establishment of dynamic models and high-precision identification of key parameters, providing a basis for performance analysis, error compensation, and optimized control of such robots.

[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows: This invention discloses a method for dynamic modeling and identification of robots with closed-loop structures, implemented according to the following steps: Step 1: Perform dynamic modeling on the heavy-duty robot with closed-loop branches. The robot mechanism is equivalently represented as a tree-like open-loop model. Virtual open loops are performed at the closed-loop constraint branches to establish the position, velocity and acceleration mapping relationship between driven joints and active joints. Combined with the pose transformation relationship between adjacent links and the Newton-Euler recursive method applicable to tree-structured robots, a unified dynamic model with respect to independent generalized coordinates is constructed. Step 2: Perform parameter linearization on the dynamic model to construct a linear regression model between the joint driving torque and the complete dynamic parameters, and combine singular value decomposition and QR decomposition to extract the minimum parameter set to form a minimum parameter regression model. Step 3: Based on the spatial constraints, joint range of motion, and collision avoidance requirements in the robot's actual working environment, the active joint trajectory is parametrically described, an excitation trajectory optimization model under confined space is established, and the optimal periodic excitation trajectory that satisfies the constraints is obtained by minimizing the condition number of the minimum parameter regression matrix. Step four: Collect robot motion data and joint driving torque data based on the excitation trajectory, preprocess the collected data and construct a weighted observation model; combine the robot CAD model to generate minimum parameter prior values ​​and prior covariance, establish a weighted regularized maximum a posteriori estimation model with CAD prior constraints, adaptively select regularization coefficients, and solve the minimum parameter estimate in closed loop under the given regularization coefficients, thereby realizing the identification of robot dynamic parameters.

[0008] As a further technical solution, in step one, after the robot mechanism with closed-chain structure is equivalently represented as a tree-like open-chain model, virtual disconnection is performed at the constraint branches in the original closed-chain closed loop, and the corresponding driven joints after disconnection are treated as non-independent variables determined by the active joint variables; the mapping relationship between the generalized coordinates of the complete open-chain model and the independent generalized coordinates of the active joints is established based on the closed-loop geometric constraints, and the mapping relationship between the driving torque of the active joints and the generalized torque of the open-chain model is established based on the principle of virtual work equivalence.

[0009] As a further technical solution, in step one, for adjacent links that meet the improved Denavit-Hartenberg frame conditions, the improved Denavit-Hartenberg parameters are used to describe their pose transformation relationship; for adjacent links that do not meet the improved Denavit-Hartenberg frame conditions, six geometric parameters are used ( , , , , , Describe the coordinate system Relative to coordinate system The pose transformation relationship, where... The angle of rotation about the axis of the previous joint. This represents the displacement along the axis of the previous joint. For the angle around the common normal, For displacement along the common normal, The angle of rotation about the current joint axis. This represents the displacement along the current joint axis.

[0010] As a further technical solution, the Newton-Euler recursive method in step one includes: performing a forward recursion from the base to the end of the equivalent tree-like open-chain model to obtain the angular velocity, angular acceleration, linear acceleration at the origin, linear acceleration at the center of mass, and corresponding inertial force and inertial torque of each link; and performing a reverse recursion from the end to the base, accumulating the forces and torques transmitted back from all child nodes of any parent node to obtain the resultant force, resultant torque, and corresponding generalized driving torque of the joint at that parent node.

[0011] As a further technical solution, step two includes: constructing a complete set of dynamic parameters from the mass, center of mass position, and moment of inertia of each link, and using the parallel axis theorem to convert the inertial tensor at the center of mass to the origin of the link coordinate system; establishing a linear regression model between the joint driving torque and the dynamic parameters based on the complete set of dynamic parameters, and stacking them along the sampling time to form a global observation regression matrix; performing singular value decomposition on the global observation regression matrix, determining the effective numerical rank based on the distribution and decay characteristics of the singular values, and extracting the corresponding identifiable parameter subspace; performing QR decomposition on the identifiable parameter subspace, selecting linearly independent parameter columns as the corresponding columns of basic parameters based on the column pivot rearrangement results, establishing a linear mapping relationship between redundant parameters and basic parameters, thereby forming a minimum parameter vector and a minimum parameter regression model.

[0012] As a further technical solution, in step three, the active joint trajectory is parameterized using truncated Fourier series, and the joint position trajectory is represented as the superposition of several harmonic components. The corresponding velocity trajectory and acceleration trajectory are further analyzed to obtain them. At the same time, the continuity of position, velocity and acceleration at the start and end points of the cycle are used as equality constraints.

[0013] As a further technical solution, the trajectory constraints established in step three include: position constraints, velocity constraints, and acceleration constraints of the active joint, angular range constraints of the driven joint, workspace boundary constraints, and collision avoidance constraints based on discrete sampling points of the link; the objective of the excitation trajectory optimization is to minimize the condition number or its logarithmic form of the minimum parameter regression matrix, so as to improve the sufficiency of the trajectory's excitation of the dynamic parameters and the stability of its identification.

[0014] As a further technical solution, the process of constructing the weighted observation model in step four includes: performing time series alignment, low-pass filtering, and joint order rearrangement on the collected joint displacement, velocity, acceleration, and driving torque data; substituting each sample into the minimum parameter regression matrix to form a global regression matrix and a global torque observation vector; constructing a sample weighting matrix based on the noise level of different joint torque channels and the motion intensity at different sampling times, and establishing a weighted observation model.

[0015] As a further technical solution, step four, which generates the minimum parameter prior values ​​and prior covariance from the robot CAD model, includes: extracting the original dynamic parameters such as the mass, center of mass position, and moment of inertia of each link of the robot, and obtaining the minimum parameter prior values ​​through the minimum parameter mapping relationship; constructing a prior standard deviation vector based on the order of magnitude of the minimum parameter prior values ​​and a preset relative error range, and thereby generating a prior accuracy matrix. The prior covariance matrix is ​​used to characterize the uncertainty of the minimum parameter prior values, and the prior accuracy matrix, which is the inverse of the prior covariance matrix, is used to determine the weights of the prior constraints.

[0016] Secondly, the present invention also provides the aforementioned system for identifying dynamic parameters of a robot with a closed-loop structure, comprising: The modeling module is configured to represent the robot mechanism as an equivalent tree-like open-chain model, perform virtual open-loop at the closed-loop constraint branches, establish the position, velocity and acceleration mapping relationship between driven joints and active joints, and combine the pose transformation relationship between adjacent links and the Newton-Euler recursive method applicable to tree-structured robots to construct a unified dynamic model with respect to independent generalized coordinates only. The dynamic linearization and minimum parameter set extraction module is configured to perform parameter linearization processing on the dynamic model, construct a linear regression model between the joint driving torque and the complete dynamic parameters, and extract the minimum parameter set by combining singular value decomposition and QR decomposition to form a minimum parameter regression model. The excitation trajectory design module is configured to parametrically describe the active joint trajectory based on the spatial constraints, joint range of motion, and collision avoidance requirements in the robot's actual working environment, establish an excitation trajectory optimization model under confined space, and solve for the optimal periodic excitation trajectory that satisfies the constraints with the objective of minimizing the condition number of the minimum parameter regression matrix. The parameter identification module is configured to collect robot motion data and joint driving torque data based on the excitation trajectory, preprocess the collected data and construct a weighted observation model; combine the robot CAD model to generate minimum parameter prior values ​​and prior covariance, establish a weighted regularized maximum a posteriori estimation model with CAD prior constraints, adaptively select regularization coefficients, and solve the minimum parameter estimate in a closed loop under the given regularization coefficients, thereby realizing the identification of robot dynamic parameters.

[0017] The beneficial effects of this invention are as follows: This invention provides a method and system for identifying dynamic parameters of robots with closed-loop structures, which has the following advantages compared with the prior art: (1) By representing the robot mechanism as a tree-like open-chain model, virtual open-loop is performed at the closed-loop constraint branch to establish the position, velocity and acceleration mapping relationship between the driven joint and the active joint. Based on the principle of virtual work equivalence, the mapping relationship between the driving torque of the active joint and the generalized torque of the open-chain model is established, so that the Newton-Euler recursive method applicable to tree-structured robots can be used for dynamic calculation with closed-chain constraints, forming a unified dynamic model only about independent generalized coordinates, providing a model basis for subsequent parameter linearization and identification.

[0018] (2) By performing singular value decomposition on the global observation regression matrix, the effective numerical rank and the subspace of identifiable parameters are determined. Then, by combining QR decomposition to select linearly independent parameter columns, a linear mapping relationship between redundant parameters and basic parameters is established, forming the minimum parameter vector and the minimum parameter regression model. This reduces the redundancy in the complete set of dynamic parameters, lowers the dimension of the parameters to be identified, and mitigates the adverse effects of parameter linear correlation on identification and solution.

[0019] (3) By using truncated Fourier series to parameterize the trajectory of the active joint, and setting continuous constraints on position, velocity and acceleration at the start and end points of the cycle, a periodic excitation trajectory that is easy to repeat is obtained. At the same time, under the constraints of position, velocity and acceleration of the active joint, the angular range constraint of the driven joint, the boundary constraint of the workspace, and the collision avoidance constraint based on the discrete sampling points of the link, the trajectory is optimized with the minimum condition number of the minimum parameter regression matrix as the objective, so that the excitation trajectory takes into account both the parameter excitation requirements and the feasibility of motion in the confined space.

[0020] (4) By constructing a weighted observation model based on the noise level of different joint torque channels and the motion intensity at different sampling times, and converting the original dynamic parameters provided by the robot CAD model into minimum parameter prior values, prior information is constructed based on the order of magnitude of the prior values ​​and the preset relative error range, and a weighted regularized maximum a posteriori estimation model with CAD prior constraints is established, taking into account both the fitting of measured data and CAD prior constraints, and suppressing excessive deviation of parameter estimation from prior values; by adaptively selecting regularization coefficients and solving the minimum parameter estimates in a closed loop under the given regularization coefficients, the stability of parameter estimation is improved in the presence of measurement noise and ill-conditioned regression matrix. Attached Figure Description

[0021] Figure 1 This is a flowchart of a method for dynamic modeling and parameter identification of a heavy-duty robot with a closed-loop structure proposed in this invention.

[0022] Figure 2 This is a robot MDH model with a closed-chain structure; Figure 3 Theoretical and simulated torques for axis 1 robot; Figure 4 Theoretical and simulated torques for axis 2 robot; Figure 5 Theoretical and simulated torques for the Axis 4 robot; Figure 6 Theoretical and simulated torques for the Axis 5 robot; Figure 7 Theoretical and simulated torques for a 6-axis robot; Figure 8 Theoretical and simulated torques for the Axis 7 robot; Figure 9 This is the excitation trajectory in the confined space of this invention; Figure 10 The image shows a comparison between the predicted torque and the collected filtered torque of the robot on axis 1. Figure 11 A comparison chart of the predicted torque and the collected filtered torque for the Axis 2 robot; Figure 12 A comparison chart of the predicted torque and the collected filtered torque for the Axis 4 robot; Figure 13 A comparison chart of the predicted torque and the collected filtered torque for the Axis 5 robot; Figure 14 A comparison chart of the predicted torque and the collected filtered torque for the axis 6 robot; Figure 15 A comparison chart of the predicted torque and the collected filtered torque for the Axis 7 robot; Detailed Implementation To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other.

[0023] This embodiment uses the existing improved Denavit-Hartenberg parametric method to describe the pose transformation relationship between adjacent links, and employs a combination of singular value decomposition and QR decomposition to select the linearly independent parameter set. The following section explains the specific application of the above method in this embodiment in conjunction with closed-chain geometric constraints, dynamic regression models, and minimum parameter mapping relationships.

[0024] This invention discloses a method for dynamic modeling and identification of robots with closed-loop structures, implemented according to the following steps: Step 1. Dynamics Modeling of Closed-Chain Structure Heavy-Duty Robot: For the motion coupling relationship of the robot's closed-chain structure, based on the open-chain equivalence and constraint variable expression method, the kinematic mapping relationship between each component is established; on this basis, the Newton-Euler dynamics method is used to carry out recursive solution and construct a dynamic model of robot joint driving torque including the influence of closed-loop constraints.

[0025] Step 2. Dynamics linearization and minimum parameter set extraction: The dynamics model is linearized to construct a linear regression equation between the joint driving torque and the inertial parameters, center of mass parameters, and mass parameters; further, the matrix factorization method is used to eliminate parameter redundancy and extract the minimum parameter set that can characterize the robot's dynamics to form a minimum parameter regression model for identification.

[0026] Step 3. Design of excitation trajectory in confined space: Based on the spatial constraints, joint range of motion and collision avoidance requirements in the actual working environment of the robot, construct an excitation trajectory in the confined space that satisfies the position, velocity and acceleration constraints; and optimize the trajectory parameters with the goal of improving the numerical quality of the regression matrix and the identifiability of the parameters to obtain excitation motion suitable for confined space conditions.

[0027] Step 4. Identification of regularized maximum a posteriori estimation parameters based on CAD prior constraints: Collect joint position, velocity, acceleration and driving torque data of the robot under the excitation trajectory, combine the minimum parameter regression model with the measurement data, and introduce the prior information of mass, center of mass and rotational inertia provided by the CAD model to construct a regularized maximum a posteriori estimation model with prior constraints, so as to achieve stable and high-precision identification of robot dynamic parameters.

[0028] Figure 1 The overall flow of dynamic modeling and parameter identification in this embodiment is shown, with each step corresponding to the following four steps. The steps and their connections are explained below with reference to the accompanying drawings.

[0029] Figure 1 Taking a parallelogram closed-loop structure as an example, the steps, in order of arrow direction, are: closed-loop structure constraint analysis, open-loop equivalence and constraint variable expression, model linearization and minimum parameter set extraction, excitation trajectory design and optimization, and regularized maximum a posteriori parameter identification based on CAD prior constraints. In the figure, "parallelogram closed-loop structure constraint" corresponds to the geometric relationship of the driven joint being constrained by the active joint in this embodiment; "based on open-loop equivalence and constraint variable expression method" corresponds to the virtual open-loop, motion mapping, and active joint torque mapping in step one.

[0030] Figure 1 In the process, the model linearization and minimum parameter set extraction stage receives the dynamic model from step one and outputs a minimum parameter regression model for use in both trajectory optimization and parameter estimation. The arrow pointing from "finite space constraints" to the trajectory optimization stage indicates that the site boundaries and collision avoidance requirements are included in the constraints of step three. The trajectory optimization results are used to drive the robot and collect motion and torque data, which are then combined with the CAD prior information mapped to the minimum parameter space and fed into step four to obtain the minimum parameter estimates. The arrows above illustrate the input-output relationships between each step.

[0031] Step 1: Dynamics modeling of heavy-duty robot with closed-chain structure This step aims to address the challenges of complex closed-loop coupling relationships, interconnected joint variables, and the difficulty in directly applying traditional serial robot dynamics modeling methods by establishing a parameter identification-oriented dynamics modeling approach. The core idea is as follows: First, the robot mechanism containing closed-loop branches is equivalently represented as a tree-like open-loop model, with virtual open loops at the closed-loop constraint branches. Then, the position, velocity, and acceleration mapping relationship between driven and active joints is established using closed-loop geometric constraints. Based on this, the pose relationship between adjacent links is described using six geometric parameters and improved Denavit-Hartenberg parameters, and the kinematics and dynamics are solved using the Newton-Euler recursive method suitable for tree-structured robots. Finally, the mapping relationship between active joint torques and generalized torques of the open-loop model is established through the principle of virtual work equivalence, thus forming a unified dynamics model only about independent generalized coordinates, providing a model foundation for subsequent dynamics linearization, minimum parameter set extraction, and parameter identification.

[0032] The dynamic modeling process of the heavy-duty robot with a closed-chain structure specifically includes the following steps: Step S11: Establish the topological relationships of the robot mechanism, independent generalized coordinates, and coordinate system.

[0033] Based on the robot's mechanical structure, it is equivalently represented as a tree-like open-chain robot with the following topological relationships: Link 1 → {Link 2, Link 7}, Link 2 → Link 3, Link 3 → Link 4, Link 4 → Link 5, Link 5 → Link 6, Link 7 → Link 8. A complete joint variable vector is established, and active joint variables are selected as independent generalized coordinates. The base coordinate system, the coordinate systems of each joint link, the coordinate system of the end effector, and the coordinate system of the centroid of each component are defined according to the link numbering order. For adjacent links that satisfy the improved Denavit-Hartenberg coordinate system conditions, the improved Denavit-Hartenberg parameters are used to describe their pose transformation relationship; for adjacent links that do not satisfy the improved Denavit-Hartenberg coordinate system conditions, i.e., the latter coordinate system... The axis is not along the joint axis of the previous coordinate system Joint axis with the current coordinate system When considering the common normal direction, six geometric parameters are used ( , , , , , Describe the coordinate system Relative to coordinate system The pose transformation relationship is expressed by the homogeneous transformation matrix as follows:

[0034] in, Indicates circling Shaft from Rotate axis to common normal The corner, Indicates along Shaft from axis to common normal distance, Indicates around the common normal line from shaft rotates to The rotation angle of the axis, Indicates along the common normal line from Axis to Distance between axes Indicates circling axis from common normal Transfer to The rotation angle of the axis, Indicates along axis from common normal arrive Distance between axes.

[0035] Step S12: Construct an equivalent open-loop model of the closed-loop mechanism and determine the open-loop position.

[0036] To address the closed-loop structure in robots, a virtual disconnect is made at the constraint branches of the closed loop, transforming the original closed-loop mechanism into an equivalent tree-like open-loop structure that facilitates recursive solution. The open-loop positions are chosen between the constraint links in the original closed-loop circuit, ensuring that the two disconnected driven joints are no longer treated as independent driving variables, but rather as driven variables determined by the active joint variables. While preserving the true inertial characteristics of each component, the correspondence between the active joint variables, driven joint variables, and the generalized coordinates of the open-loop model is clarified.

[0037] Step S13: Establish closed-loop constraint equations and generalized coordinate mapping relationships.

[0038] Based on the geometric relationship that corresponding sides in a closed-loop mechanism are parallel and their lengths remain constant, positional constraint equations are established between the driven and active branches. Furthermore, the first and second derivatives of these positional constraint equations are calculated to obtain velocity and acceleration constraint equations, respectively, thereby establishing the mapping relationship between the driven joint angular displacement, angular velocity, and angular acceleration with respect to the active joint variables. Thus, the generalized coordinates, generalized velocities, and generalized accelerations of the complete open-loop model are uniformly expressed as functions of independent generalized coordinates, forming a mapping matrix from the generalized coordinates of the open-loop model to the active joint variables.

[0039] Step S14: Establish the mapping relationship between active joint torque and generalized torque of open chain model.

[0040] Since the actual robot only inputs driving torque at the active joints, while the equivalent model after virtual open-loop operation contains complete open-chain generalized coordinates, it is necessary to establish a conversion relationship between the active joint torque and the generalized torque of the open-chain model. Based on the principle of virtual work equivalence, by ensuring that the increments of the generalized coordinates of the open-chain model and the increments of the independent generalized coordinates satisfy a mapping relationship, we can obtain a relationship between the active joint torque vector and the generalized torque vector of the open-chain model.

[0041] in, This is the active joint driving torque vector. For the generalized torque vector of the open-chain model, This is the generalized coordinate mapping matrix obtained from the closed-loop constraint relationship. Through this mapping relationship, the constraint coupling effect caused by the closed-loop branch can be equivalently reduced to the expression of the driving torque of the active joint.

[0042] Step S15: Perform kinematic recursive solution based on independent generalized coordinates.

[0043] Substitute the generalized coordinate mapping relationship obtained in step S13 into the equivalent open-chain model, and use the active joint variables as independent generalized coordinates. Calculate the angular velocity, angular acceleration, coordinate origin linear acceleration, and center-of-mass linear acceleration of each link in a recursive manner. Gravitational acceleration is included in the base linear acceleration. The kinematic state of each link is obtained by recursively combining the state of its parent node with the current joint variable, thereby obtaining the kinematic state quantities of each component that satisfy the closed-chain constraint conditions.

[0044] Step S16: Use the Newton-Euler method, which is suitable for tree-structured robots, to perform forward and backward recursion of dynamics.

[0045] After solving the kinematics of each link, the Newton-Euler method, suitable for tree-structured robots, is used to perform dynamic recursive modeling of the robot. First, a forward recursion is performed, successively calculating the angular velocity, angular acceleration, center-of-mass acceleration, and corresponding inertial force and torque of each link. Then, a reverse recursion is performed; for any parent node, the forces and torques transmitted back from all its child node branches are summed to obtain the resultant force, resultant torque, and corresponding generalized driving torque at that node. By accumulating the forces and torques transmitted by each branch in the child node set, the coupling effect of each branch on the parent node after the closed-loop structure is virtually opened can be accurately reflected.

[0046] Step 2: Linearization of dynamics and extraction of minimum parameter set This step aims to further transform the closed-loop structure heavy-duty robot dynamic model established in Step 1 into a low-dimensional linear expression suitable for parameter identification, solving the problems of severe redundancy, strong correlation, and poor stability of dynamic parameters under closed-loop coupling conditions. The core idea is to first construct a regression model corresponding to all dynamic parameters, then use singular value decomposition to determine the independent dimension of the parameters, and combine this with QR decomposition to extract linearly independent parameters, forming a minimal parameter set and its regression model. This provides a stable and accurate identification foundation for subsequent excitation trajectory design and parameter estimation. The dynamic linearization and minimal parameter set extraction process specifically includes the following steps: Step S21: Construct a complete expression of dynamic parameters.

[0047] Based on the closed-chain structure heavy-duty robot dynamic model established in step one, dynamic parameters such as the mass, center of mass position, and moment of inertia of each link are extracted to form a complete set of dynamic parameters. For the moment of inertia parameter of each link, in order to unify the expression of dynamic parameters, the inertia tensor at the center of mass is converted to the origin of the link coordinate system according to the parallel axis theorem, thereby unifying the inertia parameters of each component into a standard form suitable for linearization. At the same time, the driving torque of each active joint is organized into a unified expression of the aforementioned dynamic parameters, providing a foundation for the subsequent identification model construction.

[0048] Step S22: Establish a regression model for identification and form an observation dataset.

[0049] Based on the joint position, velocity, and acceleration data under random motion conditions, corresponding dynamic regression relationships are constructed at each sampling time step. The regression terms at each time step are then combined sequentially over time to form a global observation dataset. This step transforms the original dynamic model into a linear regression model suitable for parameter identification and calculation, enabling the contribution of each dynamic parameter to the joint driving torque to be analyzed within a unified framework.

[0050] Step S23: Use singular value decomposition to determine the identifiable parameter subspace and the dimension of the minimum parameter set.

[0051] Singular value decomposition is performed on the global observation regression matrix. The effective numerical rank is determined based on the distribution and decay characteristics of the singular values, and the corresponding right singular vector subspace is extracted as the identifiable parameter subspace, thus determining the dimension of the minimum parameter set. This step robustly identifies parameter-independent directions even in the presence of noise and parameter coupling, providing a basis for subsequent selection of the basic parameter set.

[0052] Step S24: Extract the basic parameter list by QR decomposition on the identifiable parameter subspace.

[0053] Based on the identifiable parameter subspace obtained in step S23, QR decomposition is performed. Linearly independent parameter columns are selected as the corresponding columns of basic parameters according to the column pivoting rearrangement results, and the remaining parameter columns are identified as redundant parameter columns. This step combines the parameter independence analysis results obtained from singular value decomposition with the parameter selection capability of column pivoting QR decomposition, achieving stable extraction of the minimum parameter set.

[0054] Step S25: Establish the minimum parameter mapping relationship and form the minimum parameter regression model.

[0055] Based on the QR decomposition results obtained in step S24, a linear mapping relationship between redundant parameters and basic parameters is established, and the complete dynamic parameter vector is reorganized into a minimum parameter vector. Furthermore, the original global observation equation is compressed into a low-dimensional regression model containing only the minimum parameter set, thereby eliminating redundant parameters and improving the numerical stability of the identification model while maintaining the equivalence of the input and output of the dynamic equation.

[0056] Step 3: Design of excitation trajectory within the confined space This step is used to generate excitation trajectories that meet the requirements for dynamic parameter identification under confined workspace conditions, to solve the problem that conventional excitation trajectories are difficult to implement in heavy-duty robots due to limited range of motion, significant closed-loop joint coupling, and strict environmental collision avoidance requirements. By parameterizing the active joint trajectory and incorporating joint range of motion, closed-loop linkage, workspace boundaries, and collision avoidance conditions into the trajectory optimization process, the excitation effect of the dynamic regression matrix is ​​improved while ensuring trajectory executability and safety, providing effective data support for subsequent parameter estimation. The excitation trajectory design and optimization process within the confined space specifically includes the following steps: Step S31: Construct a parameterized model of the periodic excitation trajectory.

[0057] The trajectory of each active joint is parameterized using truncated Fourier series, and the joint position trajectory is represented as the superposition of several harmonic components. The corresponding velocity trajectory and acceleration trajectory are further analyzed to obtain the corresponding velocity trajectory and acceleration trajectory. At the same time, the position of the trajectory is set to be continuous at the start and end points of the period, and the velocity and acceleration are required to be continuous and smooth at the boundary of the period as an equality constraint, so as to ensure that the excitation trajectory can be repeated periodically and meet the identification experiment requirements.

[0058] Step S32: Establish trajectory constraints and optimization objectives in a constrained space.

[0059] During trajectory optimization, position, velocity, and acceleration boundary constraints are applied to the active joints, and angular range constraints are applied to the driven joints in conjunction with closed-loop mapping relationships. Simultaneously, workspace boundary constraints are established based on the robot's working environment, and collision avoidance constraints are constructed using a link discrete sampling point method to ensure that the robot does not exceed the site boundaries and does not interfere with surrounding obstacles throughout the entire excitation process. Based on this, the optimization objective is to minimize the condition number of the minimum parameter regression matrix, thereby improving the sufficiency of trajectory excitation of dynamic parameters and the stability of identification.

[0060] Step S33: Solve for the optimal excitation trajectory.

[0061] Based on satisfying all equality and inequality constraints, a nonlinear constraint optimization method based on sequential quadratic programming is used to solve the trajectory parameters, and multiple optimizations are performed using multiple sets of different initial values. The optimization results of each iteration are compared, and the trajectory parameters with the optimal objective function value that meet the requirements of operation in confined space are selected as the final excitation trajectory, thereby obtaining a periodic motion trajectory suitable for dynamic parameter identification in confined space.

[0062] Step 4: Identification of Regularized Maximum A posteriori (MAP) Estimation Parameters Based on CAD Prior Constraints This step aims to address the problems of ill-conditioned regression matrices, measurement noise interference, and difficulty in reasonably setting regularization strength when identifying dynamic parameters of heavy-duty robots with closed-loop structures under confined space conditions. It establishes a weighted regularized maximum a posteriori (MAP) parameter identification method based on CAD prior constraints. The core idea is as follows: First, the collected joint motion and driving torque data are preprocessed, and a global observation equation is constructed using the minimum parameter regression model obtained in step two. Then, the minimum parameter prior values ​​and corresponding prior covariances are generated from the robot's CAD model. Further, a MAP model containing weighted data fitting terms and CAD prior regularization terms is constructed, and the regularization coefficient is adaptively selected through a data-driven approach. Finally, the minimum parameter estimates are solved in a closed loop under given regularization coefficients, thereby achieving stable and high-precision dynamic parameter identification.

[0063] The process for identifying the regularized maximum a posteriori estimation parameters based on CAD prior constraints specifically includes the following steps: Step S41: Collect and identify experimental data and construct a weighted observation model.

[0064] Based on the confined space excitation trajectory obtained in step three, the closed-chain heavy-duty robot is driven to perform periodic motion, and the active joint positions, velocities, accelerations, and joint driving torques are collected simultaneously at each sampling time. The collected data undergoes time series alignment and low-pass filtering to reduce the impact of high-frequency noise on parameter identification. Then, according to the joint order corresponding to the minimum parameter regression model in step two, the collected data is uniformly rearranged, and each sample is substituted into the minimum parameter regression matrix, stacked along the time direction to form a global regression matrix. and global torque observation vector Simultaneously, a sample weighting matrix is ​​constructed based on the noise levels of different joints and the motion intensity at different sampling times. This allows for the establishment of a weighted observation model for parameter identification. The weighted observation model can be expressed as:

[0065] The weight matrix is ​​used to improve the contribution of high signal-to-noise ratio and large motion excitation sections in parameter identification, and to reduce the adverse effects of noise-sensitive sections such as low-speed start-stop on the identification results.

[0066] Step S42: Construct the prior information of the minimum CAD parameters.

[0067] Based on the CAD model of each link of the robot, the original dynamic parameters such as mass, center of mass position, and moment of inertia are extracted, and then converted into prior values ​​of minimum parameters consistent with the minimum parameter regression model in step two through the minimum parameter mapping relationship. Simultaneously, based on the order of magnitude of the minimum parameter prior value and the preset relative error range, a prior standard deviation vector is constructed. And thus generate the prior accuracy matrix:

[0068] This step characterizes the reliability of prior information for each minimum parameter. By incorporating prior knowledge from the robot design phase into the identification process, the stability and engineering rationality of the parameter estimation results can be enhanced.

[0069] Step S43: Establish a weighted regularized maximum a posteriori estimation model with CAD prior constraints, and adaptively select the regularization coefficients.

[0070] Based on the weighted observation model established in step S41 and the prior information of the minimum parameters constructed in step S42, the minimum parameter to be identified is established. The weighted regularized maximum a posteriori estimation model, which uses the weighted sum of squared residuals as the data fitting term and the deviation of the parameter to be identified from the prior value of the minimum parameter of CAD as the regularization constraint term, constructs the following objective function:

[0071] in, It is the identity matrix. It is a numerically stable term.

[0072] After obtaining the minimum parameter estimate, it is substituted into the minimum parameter regression model established in step two to reconstruct the predicted driving torque of each active joint, which is then output as the identification result. Through this step, stable and high-precision identification of the dynamic parameters of a closed-chain heavy-duty robot can be achieved under confined space and small-range excitation conditions, while ensuring that the identification result is consistent with both measured data and design priors.

[0073] The following embodiment uses the dynamic modeling and parameter identification of a six-axis robot with a closed-loop structure as an example to illustrate the specific implementation of the present invention.

[0074] Step 1: Dynamics modeling of heavy-duty robot with closed-chain structure like Figure 2 As shown, the robot in this embodiment can be equivalently represented as a tree-like open-chain robot, with its topological relationship being: Rod 1 → {Rod 2, Rod 7}, Rod 2 → Rod 3, Rod 3 → Rod 4, Rod 4 → Rod 5, Rod 5 → Rod 6, Rod 7 → Rod 8; Figure 2 This is used to illustrate the component connection relationships, joint variables, and modeling coordinate system of this embodiment. Figure 2Links 1 to 8 correspond to the eight components involved in the dynamics calculation. Link 1 branches into two branches, link 2 and link 7. Links 2, 3, 4, 5, and 6 are connected sequentially, and link 7 is connected to link 8. This branching relationship is consistent with the tree-like open-chain topology described above, determining from which parent node each node obtains its motion state during forward recursion, and to which parent node the forces and moments of each sub-branch are accumulated to during reverse recursion.

[0075] Figure 2 q1, q 2、 q3, q 4、 q 5、 q 6、 q 7、 q8 represents the angular displacement variables of each rotational joint; x0 and z0 represent the corresponding coordinate axes of the base coordinate system, and xi and zi represent the coordinate axis directions of each local coordinate system (i takes natural numbers 1-10), where zi is used to identify the direction of the corresponding joint axis, and the undrawn yi axis is determined according to the right-hand rule. The shared arrows for z2, z7, x4, and x5 in the figure indicate that the directions of the corresponding coordinate axes coincide, and each coordinate system and joint variable is still distinguished by its own number. These coordinate axes provide a geometric reference for pose transformation, the expression of gravity direction, and the conversion of force and torque between different coordinate systems.

[0076] Figure 2 The x9 and x markings at the ends of the closed-loop branch 10 and z9, z 10 An auxiliary reference coordinate system is used to identify the closed position and to describe the relative pose and closure relationship on both sides of the closed loop. The coordinate system number is not the same as the number of independently driven joints: in this embodiment, the complete joint variables are still q1 to q8, and the auxiliary reference system does not introduce new independently driven variables; the motion of the closed loop branch is determined by the following geometric constraints and generalized coordinate mapping relationship.

[0077] Establish a complete joint variable vector based on the robot structure:

[0078] And select the active joint vector:

[0079] As independent generalized coordinates. Since the robot contains a closed-loop mechanism, its driven joints satisfy geometric constraints:

[0080] Combination Figure 2As defined above, the active joints are q1, q2, q4, q5, q6, and q7, and the driven joints are q3 and q8. In the diagram, the branches containing links 2 and 3, and links 7 and 8, collectively reflect the closed-chain motion coupling relationship. q3 and q8 must be determined by q2 and q7 and cannot be specified separately as additional independent trajectory variables. The virtual open-loop model is only used to establish an equivalent model that facilitates recursive calculations; the actual mechanism still maintains a closed-chain connection. The driven variables and their velocities and accelerations are substituted back into the model through constraint equations to maintain the same motion relationship as the original closed-chain mechanism.

[0081] Therefore, the open-loop position of the closed-loop can be selected at the closed-loop constraint branch, that is, the constraint link in the original closed-loop circuit is virtually disconnected between link 3 and link 8, thereby obtaining an equivalent open-loop model that is convenient for Newton-Euler recursive solution; after disconnection, the joint and It is not treated as an independent driving variable, but as a driven variable determined by the active joint variable.

[0082] Furthermore, the velocity constraints and acceleration constraints are as follows:

[0083]

[0084] Therefore, the generalized coordinates of the complete open-chain model can be written as:

[0085] in,

[0086] Accordingly, we have:

[0087] Because actual robots only operate at active joints Since the input driving torque is at the point of contact, it is necessary to establish a mapping relationship between the active joint torque and the generalized torque of the open-chain model. According to the principle of virtual work equivalence, we have:

[0088] And because:

[0089] Therefore, we can conclude that:

[0090] Therefore, the active joint torque vector can be expressed as:

[0091] The constraint coupling effect caused by closed-loop circuits ultimately passes through and For active joints and The driving torque makes an equivalent contribution, thereby realizing the conversion from the open-chain model torque to the actual active joint torque.

[0092] In terms of mechanism geometry description, this embodiment uses a method combining six geometric parameters and a modified Denavit-Hartenberg approach to establish the pose relationships between adjacent links. The homogeneous transformation matrix of each joint is represented as:

[0093] in:

[0094]

[0095]

[0096]

[0097]

[0098] in For heavy-duty robots containing closed-loop mechanisms, this embodiment takes the following approach: , ,

[0099]

[0100]

[0101]

[0102] Figure 2 The coordinate axis markings, together with the aforementioned six geometric parameters, form the basis for describing the pose of adjacent components: rotation and translation about the previous joint axis are represented by γj and bj; rotation along and about the common normal are represented by dj and αj; and rotation about the current joint axis and translation along that axis are represented by θj and rj. The joint angle qi and the fixed angle offset together constitute the rotation angle in the corresponding transformation. According to... Figure 2 By combining the parent-child node connection sequence with the pose transformations of each adjacent node, the kinematic quantities and inertial moments of each component can be expressed in the coordinate system required for recursive calculation.

[0103] After completing the pose description and clarifying the virtual open-loop positions of the closed-loop system, the kinematics and dynamics of the obtained tree-like equivalent open-loop model are solved using the Newton-Euler recursive method suitable for tree-structured robots. Let the first... The coordinate system of each node is Its child node set is , Representing the coordinate system To coordinate system The rotation matrix, Representing the coordinate system Origin points to coordinate system The position vector of the origin, Representing the coordinate system Origin pointing link The position vector of the centroid, Representing the coordinate system The origin points to its child nodes. The position vector of the origin, Indicates the first The unit direction vector of the joint axis. The outward recursive process is as follows:

[0104]

[0105]

[0106]

[0107]

[0108] in, , , and They represent the first The angular velocity, angular acceleration, linear acceleration at the origin, and linear acceleration of the center of mass of the connecting rod. and These represent the inertial force and inertial torque of the link, respectively.

[0109] For tree-structured robots, since a parent node may correspond to multiple child branches, the forces and torques returned by the child branch branches need to be summed when recursively calculating inwards. For nodes... Its inward recursive formula can be rewritten as:

[0110]

[0111]

[0112] in, and Representing nodes respectively The resultant force and resultant torque at the point, This represents the generalized driving torque of the corresponding joint. Since this invention uses a tree-like equivalent open-chain model to describe a closed-chain heavy-duty robot, during the reverse recursion process, the set of child nodes is... The forces and torques transmitted by each branch are accumulated, which can accurately reflect the coupling effect of each branch on the parent node after the closed-loop structure is virtually opened, providing a basis for subsequent active joint torque mapping and linearization of dynamic parameters.

[0113] To verify the correctness of the above-described closed-loop structure heavy-duty robot dynamics modeling method, this embodiment uses a heavy-duty robot with a closed-loop structure as the object to verify the consistency of the established model. First, given a set of motion trajectories for active joints q1, q2, q4, q5, q6, and q7, the displacement, velocity, and acceleration of driven joints q3 and q8 are obtained according to the closed-loop constraint relationship. The results are then substituted into the closed-loop constraint equation to calculate the closed-loop residuals. If the position residual, velocity residual, and acceleration residual are all within the preset allowable range, it indicates that the established equivalent open-loop model can correctly maintain the motion consistency of the original closed-loop mechanism.

[0114] Furthermore, the active and passive joint variables are substituted into the tree-like Newton-Euler recursive equation to obtain the generalized torques of each joint in the open-chain model, and the mapping relationship between the active joint torques and the open-chain model torques is then established.

[0115] Calculate the active joint driving torque. Under the same motion state and consistent dynamic parameters, compare the theoretical driving torque calculated in this embodiment with the joint driving torque output by simulation sample by sample. The modeling verification results are as follows: Figures 3 to 8 As shown.

[0116] Figures 3 to 8 The theoretical and simulated driving torques for axes 1, 2, 4, 5, 6, and 7 under the same given motion state are compared. The horizontal axis of each figure represents the robot joint data points arranged in chronological order; the vertical axis represents the driving torque of the corresponding joint, in Nm. In the legend, the "theoretical" curve is calculated from the dynamic model of this embodiment, the "simulation" curve is the simulation output under the corresponding motion state, and the "error" curve represents the difference between the two at the same sampling point.

[0117] Figure 3Corresponding to axis 1. Both the theoretical torque and the simulated torque exhibit alternating positive and negative changes with motion, including large negative troughs and positive peaks. The two curves basically overlap in terms of major peaks and troughs and trends. The error curve shows transient deviations at the initial sampling point, and then mainly distributes around zero. This figure is used to verify the consistency of the torque amplitude, direction of change, and phase on axis 1.

[0118] Figure 4 Corresponding to axis 2. In the figure, the torque rises from the negative range to a higher positive range, exhibiting repeated peak-valley variations within the shown sampling range; the theoretical and simulation curves remain similar in the high torque range and the transition range from positive to negative. This figure is used to verify the model's representation of the larger torque response on axis 2 and its relationship with motion.

[0119] Figure 5 Corresponding to axis 4, the torque varies within a relatively small positive and negative range, exhibiting several narrow negative valleys; the extreme values ​​of the theoretical and simulated curves are similar in location and overall shape. The error curve is mainly located near zero, indicating that the model can reflect the directional changes and local peaks and valleys of the torque on axis 4 under the indicated working conditions.

[0120] Figure 6 Corresponding to axis 5, the torque exhibits a cyclical change, rising from negative to positive and then falling back to negative. The two comparative curves are basically consistent in their positive peaks, negative troughs, and connecting sections. This graph is used to examine the changes in positive and negative torque and the amplitude matching of axis 5 in different stages of motion.

[0121] Figure 7 This corresponds to axis 6. The torque magnitude on this axis is smaller than that of some of the aforementioned joints. Multiple positive peaks and negative troughs are visible in the figure. The theoretical and simulation curves remain close at these local variations. The error should be observed in conjunction with the vertical axis scale of this figure, as it reflects the model's description of small-amplitude joint torque variations.

[0122] Figure 8 This corresponds to axis 7. Under the shown conditions, the torque on this axis is primarily negative, repeatedly exhibiting local peaks near zero and large negative troughs, consistent with the overall trend of the theoretical and simulation curves. Axis 7 is directly related to the motion and torque mapping of the closed-loop branch. This figure is used to examine the correspondence between the torque response obtained after attributing the closed-loop coupling effect to the active joint and the simulation results.

[0123] Combination Figures 3 to 8 Some joints exhibit short-term deviations near the initial sampling point. This initial segment and subsequent continuous motion segments should be examined separately, and the initial conditions of both calculations should be verified. In subsequent segments, the main peaks, valleys, and trends of the theoretical and simulation curves are similar, providing verification of the consistency of the above equivalent open-chain modeling, tree-like Newton-Euler recursion, and active joint torque mapping under the shown working conditions.

[0124] Step 2: Linearization of dynamics and extraction of minimum parameter set Specifically, step S21 is executed first to construct a complete expression of dynamic parameters. For the first... A link, whose original inertial parameters typically include mass... Centroid coordinates And the inertia tensor at the center of mass:

[0125] To standardize the expression of dynamic parameters, in this embodiment, the inertia tensors at the center of mass of each link are converted to the origin of the link coordinate system using the parallel axis theorem. The displacement vector from the origin of the link coordinate system to the center of mass is:

[0126] Then the inertia tensor of the link at the origin of the link coordinate system can be expressed as:

[0127] in, for Identity matrix.

[0128] Furthermore, the mass and the position of the center of mass are combined into a first-order moment parameter:

[0129] Therefore, the first The standard dynamic parameters of a connecting rod can be written as:

[0130] By stacking all the corresponding parameters of the connecting rods in order, a complete dynamic parameter vector can be obtained:

[0131] After constructing the complete parameter vector, proceed to step S22 to establish the regression model for identification and generate the observation dataset. The active joint dynamic equations obtained from step one are:

[0132] This can be further simplified into a linear form with respect to the complete dynamic parameters, namely:

[0133] In this embodiment, at the first At each sampling moment, the corresponding active joint position, velocity, acceleration, and driving torque are recorded as follows: , , and Then there is an instantaneous regression relationship:

[0134] in:

[0135] Will The regression relationships at each sampling time point are stacked along the time direction to obtain the global observation equation:

[0136] in:

[0137] Thus, the original dynamic model is transformed into a linear regression model suitable for parameter identification, and the contribution of each dynamic parameter to the driving torque of the active joint can be analyzed within a unified matrix framework.

[0138] Thus, the original dynamic model is transformed into a linear regression model suitable for parameter identification, and the contribution of each dynamic parameter to the driving torque of the active joint can be analyzed within a unified matrix framework.

[0139] After obtaining the global observation matrix, step S23 is executed to determine the dimension of the identifiable parameters using singular value decomposition. Specifically, for the global observation matrix... Perform singular value decomposition: W=UΣV T in, V and V are left and right orthogonal matrices, respectively, and Σ is a singular value diagonal matrix, denoted as: 1≥ 2≥ ≥ ≥0 Because closed-loop coupling can cause strong linear correlations among some parameters, Σ typically contains several singular values ​​close to zero. In this embodiment, the effective numerical rank is determined based on the singular value decay inflection point or a preset threshold. Soon to be satisfied: > , +1 ≤ε in, As the number of independently identifiable parameters, This is the rank determination threshold. Therefore, it can be seen that in the complete set of dynamic parameters of the closed-chain structure heavy-duty robot, only... Each parameter contributes independently to the driving torque of the active joint, and the minimum dimension of the parameter set is . .

[0140] Will According to the effective rank block =[ 1 2], where, Corresponding to the front A non-zero singular value represents the identifiable parameter subspace; The corresponding zero singular value or near-zero singular value represents the redundant parameter subspace.

[0141] To specifically select the basic parameter column from the complete parameters, for Perform QR decomposition with column pivoting:

[0142] in, Let be a column permutation matrix. According to order Block division can be written as:

[0143] in It is an invertible matrix.

[0144] To specifically select the basic parameter column from the complete parameters, for Perform QR decomposition with column pivoting:

[0145] Permuting the matrix by columns of the complete parameter vector Rearranged as:

[0146] in: For the base parameter part; This is the redundant parameter section; The linear relationship between the redundant parameter series and the basic parameter series can be obtained from the QR decomposition results:

[0147] Therefore:

[0148] in For the column corresponding to the base parameter, This is the column corresponding to redundant parameters.

[0149] Substituting into the original regression model, we get:

[0150] Define the minimum parameter vector as:

[0151] The minimum parameter regression model is:

[0152] in:

[0153] Step 3: Design of excitation trajectory within the confined space To ensure that the excitation trajectory has good periodicity, continuity, and adjustability, in this embodiment, the first... Each active joint trajectory adopts Parameterization is performed using a truncated Fourier series. Let the trajectory period be... angular frequency is Then the first The position trajectory of an active joint can be represented as:

[0154] in, and The first The first active joint The optimization coefficients for the first harmonic. Taking the first and second derivatives of the above equation, we can obtain the corresponding velocity and acceleration trajectories as follows:

[0155]

[0156] From the above positional expression, it can be seen that when or At any time, there are:

[0157] That is, the trajectory's start and end positions naturally return to the zero pose. To further ensure the continuity of velocity and acceleration at the periodic boundaries, the following equation constraint is added in this embodiment:

[0158] Combining the above expressions for velocity and acceleration, we can further derive an equivalent form of coefficient constraint:

[0159]

[0160] This ensures that the constructed periodic excitation trajectory has continuity in position, velocity, and acceleration at the beginning and end of each cycle, facilitating repeated execution by the robot and the collection of stable experimental data.

[0161] In this embodiment, to ensure that the designed trajectory satisfies both the robot's own kinematic capabilities and the safety requirements of operation in a confined space environment, the following constraints are imposed on the trajectory parameters.

[0162] First, position, velocity, and acceleration boundary constraints are applied to the active joint. Let the first joint... The upper and lower limits of the position, velocity, and acceleration of each active joint are as follows: , and Then we have:

[0163]

[0164]

[0165] According to the program settings, active joint The position, velocity, and acceleration constraints are all checked at each discrete sampling time.

[0166] Secondly, an angular range constraint is imposed on the driven joint in the closed-loop mechanism. Let the driven joint... The allowed ranges are as follows:

[0167] In this embodiment, to simultaneously consider the safe distance between each link body and environmental obstacles, each link is discretely sampled along its length direction. Let the nth point be... The position of the parent node of the link is The current node position is Then the first A discrete sampling point can be represented as:

[0168] Let the first The radius of the link's envelope is Safety margin is Then the corresponding safety clearance is:

[0169] To ensure that the sampling point does not interfere with the environmental boundary, the following conditions must be met:

[0170]

[0171]

[0172] in Sampling points The coordinates in the base coordinate system represent the safe distance between the robot base and environmental obstacles.

[0173] Based on the constraints mentioned above, a trajectory optimization objective function is constructed. From the minimum parameter regression model established in step two, it can be seen that in the... The minimum parameter regression matrix corresponding to each sampling time point is denoted as:

[0174] By stacking the regression matrices from all sampling times row by row, we can obtain the global regression matrix:

[0175] In this embodiment, without changing the optimal trajectory, the numerical scale of the optimization process is improved, the stability of the solution is enhanced, and the results are more easily interpreted in terms of order of magnitude. The optimization objective is to minimize the logarithm of the condition number of the global regression matrix.

[0176] In this embodiment, all parameters to be optimized are denoted as:

[0177] in:

[0178] To ensure that the magnitudes of the coefficients during the initial values ​​and optimization process are not too large, the upper and lower bounds of the Fourier coefficients are first constructed based on the velocity and acceleration limits of each active joint. Let the first... The velocity and acceleration limits of each active joint are respectively and Therefore, in this embodiment, the following amplitude constraints are uniformly applied to the coefficients of each order:

[0179] in:

[0180] Subsequently, under the condition of satisfying all equality and inequality constraints, the optimal parameters are solved using a nonlinear constraint optimization method based on sequential quadratic programming, namely:

[0181]

[0182] in, ( () represents the condition number of the global regression matrix or its logarithmic form. ( () indicates active joint constraints, driven joint constraints, and collision avoidance constraints. ( The symbol ) represents the continuity constraint of velocity and acceleration at the period boundary. In this embodiment, a multi-initial-value strategy is used to perform several optimization solutions, and the solution with the smallest objective function value is selected as the final optimal solution from all feasible solutions.

[0183] The optimal parameters are obtained Rearranged into the optimal Fourier coefficient matrix and Then, the optimal periodic excitation trajectory of the active joint can be obtained:

[0184] This allows us to obtain a set of periodic motion trajectories within a confined space that satisfy both closed-loop structural constraints and site boundary constraints, while also improving the numerical quality of the minimum parameter regression matrix. This provides experimental data for subsequent regularized maximum a posteriori estimation based on CAD prior constraints. The spatial trajectory and confined environment are illustrated below. Figure 9 As shown.

[0185] Figure 9 This diagram illustrates the spatial relationship between the robot, the constrained working environment, and the designed excitation trajectory. The outer frame and the "obstacle" arrow at the top indicate the boundary of the constrained space. The cuboid labeled "obstacle" in the lower right corner represents a local obstacle near the robot. The robot body is located within this constrained environment, and the curve labeled "excitation trajectory" represents the end-effector spatial motion trajectory formed by the coordinated movements of the active joints. This diagram visually illustrates the distribution of the excitation motion within the constrained environment and its relative position to obstacles.

[0186] Combination Figure 9 When designing the trajectory, the environmental boundaries, obstacle positions, and safety margins are transformed into workspace boundary constraints and collision avoidance constraints in step three. For each candidate joint trajectory, the driven joint state is obtained using closed-loop mapping, and the positions of discrete sampling points of each link are calculated based on the pose of the complete mechanism. The clearance between the link and the environmental boundaries and obstacles is checked in conjunction with the link envelope radius. Therefore, the objects being checked include all links of the robot, and the end effector trajectory in the figure is used to illustrate the shape of the desired motion in space.

[0187] Among feasible trajectories that satisfy the range of motion of the active joint, the range of angles of the driven joint, and the aforementioned spatial constraints, trajectory parameters are selected based on the objective function of minimizing the condition number of the regression matrix, resulting in... Figure 9 The excitation motion is shown. The robot is then driven along this trajectory, and motion and torque data are collected synchronously, so that the data used in step four corresponds to a motion process that can be performed in the constrained environment shown.

[0188] Step 4: Identification of Regularized Maximum A posteriori (MAP) Estimation Parameters Based on CAD Prior Constraints In this embodiment, step two has established the minimum parameter regression model for the closed-chain heavy-duty robot, and step three has obtained the excitation trajectory that satisfies the confined space constraints. To achieve stable parameter identification under conditions of measurement noise, ill-conditioned regression matrix, and difficulty in empirically setting regularization strength, this embodiment combines the minimum parameter prior information provided by the CAD model with measured data to construct a weighted regularized maximum a posteriori estimation model, and adaptively selects the regularization coefficient through a data-driven approach. The basic idea is as follows: First, the collected joint displacement, velocity, acceleration, and driving torque data are processed by time unification, sequential rearrangement, and low-pass filtering, and then stacked to form a global regression matrix and torque observation vector; second, the minimum parameter prior value and prior covariance are obtained by mapping the original inertial parameters from the CAD model; then, a MAP objective function containing weighted residual terms and prior regularization terms is constructed, and the optimal regularization coefficient is selected using a training set-validation set partitioning strategy; finally, given the optimal regularization coefficient, the minimum parameter estimate is solved using a closed-form formula, and the identification results are reconstructed for torque and error evaluation.

[0189] Specifically, step S41 is executed first to collect and identify experimental data and construct a weighted observation model. Based on the confined space excitation trajectory obtained in step three, the closed-chain heavy-duty robot is driven to perform periodic motion, collecting data on active joint displacement, velocity, acceleration, and joint driving torque at each sampling moment. Let the total number of sampling moments be... Then the original sampled data can be represented as:

[0190] The raw data is then low-pass filtered to reduce measurement noise. Specifically, a Butterworth low-pass filter is used. Each channel undergoes zero-phase filtering.

[0191] For the At each sampling time point, the filtered and rearranged joint displacements, velocities, and accelerations are substituted into the minimum parameter regression matrix function established in step two to obtain the instantaneous regression matrix:

[0192] By stacking the regression matrices from all sampling times along the time direction, we can obtain the global regression matrix:

[0193] Accordingly, by expanding and stacking the measured joint driving torques at each sampling time column-wise, the global torque observation vector can be obtained:

[0194] To improve the contribution of high signal-to-noise ratio and large motion excitation segments in parameter identification, this embodiment further constructs a sample weighting matrix. Let the first... The noise standard deviation of each joint torque channel is Then the joint weights are taken as:

[0195] At the same time, according to the definition of sample motion intensity, the first Motion score at each sampling time:

[0196] in, Here are the acceleration weighting coefficients. After normalization, the sample weights are:

[0197] Therefore, the first The sampling time of the first sampling moment The row weights corresponding to each joint can be written as:

[0198] Arrange all row weights into a diagonal weighted matrix:

[0199] The weighted observation model can then be obtained:

[0200] This step transforms the original identification problem into a weighted minimum parameter observation problem, thereby enhancing the contribution of highly effective samples to parameter estimation and suppressing the adverse effects of noise-sensitive samples.

[0201] After establishing the weighted observation model, step S42 is executed to construct the CAD minimum parameter prior information. Let the dynamic parameter vectors of each link of the robot, given by the CAD model, be:

[0202] Then through the minimum parameter mapping function min ( This allows the original parameters to be converted into prior values ​​of the minimum parameters consistent with the minimum parameter regression model in step two:

[0203] Furthermore, to characterize the reliability of different prior values ​​of the minimum parameter, this embodiment constructs a prior standard deviation vector based on the order of magnitude of the CAD minimum parameter:

[0204] in, The system is a relative standard deviation system; 0 is the absolute lower bound, used to avoid prior accuracy degradation when certain prior parameters are close to zero. A prior accuracy vector can be further defined:

[0205] And construct the prior accuracy matrix:

[0206] in, This serves as a lower bound on the numerical values. This allows for the formation of CAD prior information consistent with the minimum parameter regression model. This prior information reflects the constraint strength of the design parameters on each minimum parameter and plays a role in subsequent regularization terms. Without numerical stabilization, the prior accuracy matrix is ​​the inverse of the prior covariance matrix; introducing a numerical lower bound corresponds to numerical stabilization of the prior covariance or its inverse matrix.

[0207] After obtaining the weighted observation model and the CAD minimum parameter prior, step S43 is executed to establish a weighted regularized maximum a posteriori estimation model with CAD prior constraints, and the regularization coefficient is adaptively selected. Let the minimum parameter vector to be identified be... Therefore, the objective function of MAP is constructed as follows in this embodiment:

[0208] The first term is a weighted data fitting term, used to measure the error between the model-predicted torque and the measured torque; the second term is a CAD minimum parameter prior regularization term, used to suppress excessive deviation of parameters from design parameters. This is the regularization coefficient, used to balance data consistency and prior consistency. To avoid... Relying entirely on empirical settings, this embodiment randomly divides the sample set into a training set and a validation set. Let the weighted regression matrix and weighted moment vector corresponding to the training set be respectively... , and , The weighted regression matrix and weighted moment vector corresponding to the validation set are respectively , and , Then define The outer optimization objective is the weighted root mean square error on the validation set, i.e.:

[0209] in:

[0210] In this embodiment, Bayesian optimization is used to search for the optimal regularization coefficient within a certain range. To improve the numerical scale of the search, the optimization variable is taken as log. 10 This allows for the adaptive selection of regularization coefficients.

[0211] To obtain the optimal regularization coefficient Then, step S44 is executed to solve for the optimal parameters in a closed loop and output the identification results. Substituting into the MAP model described in step S43, the closed-form solution with the minimum parameters is obtained as follows:

[0212] in, It is the identity matrix. This is a numerical stability term used to improve the numerical stability of matrix inversion. When the coefficient matrix conditions are poor, a pseudo-inverse method can be used to solve the problem.

[0213] In seeking Then, substitute it into the minimum parameter regression model established in step two to reconstruct the predicted joint driving torque:

[0214] This yields the minimum parameter identification results for the closed-loop heavy-duty robot, which are then used for joint torque reconstruction. The aforementioned data processing method is used to obtain the filtered results of the collected torques. The predicted torques are compared with these filtered results, and the verified results of the identified torque reconstruction are as follows: Figures 10 to 15 As shown.

[0215] Figures 10 to 15The torque reconstruction results for axes 1, 2, 4, 5, 6, and 7 are shown respectively. The horizontal axis of each graph is used to align two sets of data at the same sampling position during the verification process, and the vertical axis represents the corresponding joint driving torque in Nm. "Filtered Torque" is the result of the collected joint torque after the aforementioned low-pass filtering process, and "Predicted Torque" is the result calculated by substituting the identified minimum parameter estimate into the minimum parameter regression model. The two curves are compared under the same motion state and sampling position to verify the consistency between the identified parameters and the actual joint torque response.

[0216] Figure 10 Corresponding to axis 1. The filtered torque exhibits multiple alternations of positive and negative values ​​and local fluctuations during the verification motion. The predicted torque follows its main direction of change, maintaining a similar trend near large positive peaks and negative troughs. Differences still exist at some local fluctuations and extreme values. This figure is used to illustrate the reconstruction of the main dynamic changes of the torque on axis 1.

[0217] Figure 11 Corresponding to axis 2. The filtered torque first enters the negative range, then rises to a higher positive peak, followed by a decline and then another rise. The predicted torque is relatively close to the filtered torque in the negative torque range, the main rising segment, and near the two positive peaks, reflecting the identification model's ability to follow torque changes over a large range on axis 2.

[0218] Figure 12 Corresponding to axis 4, the torque within the verification section shown remains primarily positive, exhibiting a pattern of first increasing, then decreasing, and then increasing again. The prediction curve reflects the baseline of this positive torque and the locations of the main peaks and valleys, indicating that the identified minimum parameter can be used to reconstruct the main torque changes of axis 4 under this verification condition.

[0219] Figure 13 Corresponding to axis 5. This axis is in the negative torque range for most of the verification section, and rises to a positive value during local motion phases. The predicted torque can follow the positive and negative conversion of the filtered torque and the subsequent downward trend, maintaining a similar curve shape in the main peaks, valleys and relatively flat sections.

[0220] Figure 14 This corresponds to axis 6. The torque amplitude on this axis is relatively small, and the graph simultaneously includes positive peaks, a range of change passing through zero, and negative troughs. The predicted curve and the filtered curve are generally similar in these ranges. This graph examines the reconstruction of small-amplitude torque responses based on the torque magnitude of axis 6 itself.

[0221] Figure 15Corresponding to axis 7. The torque in the figure is generally in the negative range, with multiple negative troughs and peaks rising back to smaller negative values ​​as the motion progresses. The prediction curve follows the main trend of the filter curve, although there are still differences at local fluctuations; this figure is used to verify the torque reconstruction of the relevant active joints in the closed-loop branch after parameter identification.

[0222] Figures 10 to 15 The role of the identification results is demonstrated in three aspects: torque amplitude, positive and negative direction, and variation pattern at different joints. The predicted curve and the filtered curve are close to each other in the main variation range, indicating that the obtained minimum parameters can be used to reconstruct the main joint torque response of the validation data shown; the differences in local curves reflect prediction errors that still need to be examined. This comparison evaluates the consistency between the identified model and the measured dynamic response.

[0223] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for identifying dynamic parameters of a robot with a closed-loop structure, characterized in that, Includes the following steps: Step 1: The robot mechanism is equivalently represented as a tree-like open-chain model. Virtual open-loop is performed at the closed-loop constraint branches to establish the position, velocity and acceleration mapping relationship between the driven joint and the active joint. Combined with the pose transformation relationship between adjacent links and the Newton-Euler recursive method applicable to tree-structured robots, a unified dynamic model with respect to independent generalized coordinates is constructed. Step 2: Perform parameter linearization on the dynamic model to construct a linear regression model between the joint driving torque and the complete dynamic parameters, and combine singular value decomposition and QR decomposition to extract the minimum parameter set to form a minimum parameter regression model. Step 3: Based on the spatial constraints, joint range of motion, and collision avoidance requirements in the robot's actual working environment, the active joint trajectory is parametrically described, an excitation trajectory optimization model under confined space is established, and the optimal periodic excitation trajectory that satisfies the constraints is obtained by minimizing the condition number of the minimum parameter regression matrix. Step four: Collect robot motion data and joint driving torque data based on the excitation trajectory, preprocess the collected data and construct a weighted observation model; combine the robot CAD model to generate minimum parameter prior values ​​and prior covariance, establish a weighted regularized maximum a posteriori estimation model with CAD prior constraints, adaptively select regularization coefficients, and solve the minimum parameter estimate in closed loop under the given regularization coefficients, thereby realizing the identification of robot dynamic parameters.

2. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, In step one, after the robot mechanism with closed-chain structure is equivalently represented as a tree-like open-chain model, virtual disconnection is performed at the constraint branches in the original closed-chain loop, and the corresponding driven joints after disconnection are treated as non-independent variables determined by the active joint variables. The mapping relationship between the generalized coordinates of the complete open-chain model and the independent generalized coordinates of the active joints is established based on the closed-loop geometric constraints, and the mapping relationship between the driving torque of the active joints and the generalized torque of the open-chain model is established based on the principle of virtual work equivalence.

3. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, In step one, for adjacent links that satisfy the improved Denavit-Hartenberg frame conditions, the improved Denavit-Hartenberg parameters are used to describe their pose transformation relationship; for adjacent links that do not satisfy the improved Denavit-Hartenberg frame conditions, six geometric parameters are used ( , , , , , Describe the coordinate system Relative to coordinate system The pose transformation relationship, where... The angle of rotation about the axis of the previous joint. This represents the displacement along the axis of the previous joint. For the angle around the common normal, For displacement along the common normal, The angle of rotation about the current joint axis. This represents the displacement along the current joint axis.

4. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, The Newton-Euler recursive method described in step one includes: performing a forward recursion from the base to the end of the equivalent tree-like open-chain model to obtain the angular velocity, angular acceleration, linear acceleration at the origin, linear acceleration at the center of mass, and corresponding inertial force and torque of each link; and performing a reverse recursion from the end to the base, accumulating the forces and torques transmitted back from all child nodes of any parent node to obtain the resultant force, resultant torque, and corresponding generalized driving torque of the joint at that parent node.

5. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, Step two includes: constructing a complete set of dynamic parameters from the mass, center of mass position, and moment of inertia of each link, and using the parallel axis theorem to convert the inertial tensor at the center of mass to the origin of the link coordinate system; establishing a linear regression model between the joint driving torque and the dynamic parameters based on the complete set of dynamic parameters, and stacking them along the sampling time to form a global observation regression matrix; performing singular value decomposition on the global observation regression matrix, determining the effective numerical rank based on the distribution and decay characteristics of the singular values, and extracting the corresponding identifiable parameter subspace; performing QR decomposition on the identifiable parameter subspace, selecting linearly independent parameter columns as the corresponding columns of basic parameters based on the column pivot rearrangement results, establishing a linear mapping relationship between redundant parameters and basic parameters, thereby forming a minimum parameter vector and a minimum parameter regression model.

6. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, In step three, the active joint trajectory is parameterized using truncated Fourier series, representing the joint position trajectory as the superposition of several harmonic components, and further analyzing to obtain the corresponding velocity trajectory and acceleration trajectory; at the same time, the continuity of position, velocity, and acceleration at the start and end points of the cycle are used as equality constraints.

7. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, The trajectory constraints established in step three include: position constraints, velocity constraints, and acceleration constraints of the active joints; angular range constraints of the driven joints; workspace boundary constraints; and collision avoidance constraints based on discrete sampling points of the link. The optimization objective of the excitation trajectory is to minimize the condition number or logarithmic form of the minimum parameter regression matrix, so as to improve the sufficiency of the trajectory's excitation of the dynamic parameters and the stability of its identification.

8. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, Step four involves constructing a weighted observation model, which includes: performing time series alignment, low-pass filtering, and joint order rearrangement on the collected joint displacement, velocity, acceleration, and driving torque data; and substituting each sample into the minimum parameter regression matrix to form a global regression matrix. The global torque observation vector is obtained; a sample weighting matrix is ​​constructed based on the noise level of different joint torque channels and the motion intensity at different sampling times, and a weighted observation model is established.

9. The method for identifying dynamic parameters of a robot with a closed-loop structure according to claim 1, characterized in that, Step four involves generating the minimum parameter prior values ​​and prior covariance from the robot CAD model, including: extracting the original dynamic parameters such as the mass, center of mass position, and moment of inertia of each link of the robot, and obtaining the minimum parameter prior values ​​through the minimum parameter mapping relationship; constructing the prior standard deviation vector based on the order of magnitude of the minimum parameter prior values ​​and the preset relative error range, and thereby generating the prior accuracy matrix.

10. A system for identifying dynamic parameters of a robot with a closed-loop structure, characterized in that, The modeling module is configured to represent the robot mechanism as an equivalent tree-like open-chain model, perform virtual open-loop at the closed-loop constraint branches, establish the position, velocity and acceleration mapping relationship between driven joints and active joints, and combine the pose transformation relationship between adjacent links and the Newton-Euler recursive method applicable to tree-structured robots to construct a unified dynamic model with respect to independent generalized coordinates only. The dynamic linearization and minimum parameter set extraction module is configured to perform parameter linearization processing on the dynamic model, construct a linear regression model between the joint driving torque and the complete dynamic parameters, and extract the minimum parameter set by combining singular value decomposition and QR decomposition to form a minimum parameter regression model. The excitation trajectory design module is configured to parametrically describe the active joint trajectory based on the spatial constraints, joint range of motion, and collision avoidance requirements in the robot's actual working environment, establish an excitation trajectory optimization model under confined space, and solve for the optimal periodic excitation trajectory that satisfies the constraints with the objective of minimizing the condition number of the minimum parameter regression matrix. The parameter identification module is configured to collect robot motion data and joint driving torque data based on the excitation trajectory, preprocess the collected data and construct a weighted observation model; combine the robot CAD model to generate minimum parameter prior values ​​and prior covariance, establish a weighted regularized maximum a posteriori estimation model with CAD prior constraints, adaptively select regularization coefficients, and solve the minimum parameter estimate in a closed loop under the given regularization coefficients, thereby realizing the identification of robot dynamic parameters.