Next Article in Journal
Unsupervised Remaining Useful Life Estimation of Tool-Holder Bearings from Sparse-Autoencoder Reconstruction Error and Exponential Degradation Modeling
Previous Article in Journal
A Spectral-Linear Trajectory Representation for Guided Diffusion-Based Manipulator Motion Planning in Constrained Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Robot Dynamic Parameter Identification Based on Nonlinear Friction and Hierarchical Iterative Optimization

School of Mechatronics Engineering, Henan University of Science and Technology, Luoyang 471003, China
*
Author to whom correspondence should be addressed.
Machines 2026, 14(7), 783; https://doi.org/10.3390/machines14070783
Submission received: 2 June 2026 / Revised: 7 July 2026 / Accepted: 7 July 2026 / Published: 13 July 2026
(This article belongs to the Section Automation and Control Systems)

Abstract

Accurate identification of manipulator dynamic parameters is a fundamental prerequisite for high-precision robotic control and optimized operational performance. Conventional mainstream identification schemes primarily adopt ordinary least squares (OLS) and weighted least squares (WLS) algorithms to solve dynamic parameters, yet these methods fail to fully incorporate nonlinear friction models and cannot satisfy physical feasibility constraints (PFCs). To address such limitations, this paper proposes a hierarchical iterative optimization identification framework for robot dynamic parameters integrated with nonlinear friction modeling. First, nonlinear joint friction parameters are pre-identified to lay a solid foundation for physically feasible base inertial parameter estimation. Second, the inertial torque and friction torque of the manipulator are decoupled and modeled separately. The robot dynamic equation is linearized while preserving the inherent nonlinear characteristics of joint friction, upon which a closed-loop iterative identification architecture is constructed to achieve high-precision dynamic parameter solving. The proposed algorithm strictly enforces physical feasibility constraints and supports compatibility with multiple nonlinear friction models, which substantially improves identification accuracy and ensures the identified parameters align closely with the actual physical properties of the robotic system. On this basis, a physics-informed long short-term memory recurrent neural network (PI-LSTM) is introduced to further suppress residual identification errors. Multiple groups of verification experiments are conducted on a JAKA Mini Cobo six degrees of freedom (6-DOF) collaborative manipulator platform. Comparative analyses against state-of-the-art identification algorithms and friction modeling strategies validate the practicality and superior performance of the proposed method.

1. Introduction

Robots have been widely deployed across industrial production scenarios in recent years. They drastically elevate manufacturing efficiency, reduce operators’ labor intensity, and provide critical technical support for advancing industrial automation. Nevertheless, practical robotic applications still face several prominent bottlenecks. First, motion precision deteriorates noticeably at both high and low joint velocities, restricting robot deployment in high-accuracy working tasks. Second, traditional industrial setups adopt physical isolation between humans and robots. Although this mode maximizes operator safety, it inflates equipment investment costs and hinders further productivity improvements. Third, human–robot collaboration (HRC) lacks direct physical interaction capability, which severely compromises collaboration flexibility. Real-time external force/torque sensing devices are therefore mandatory to realize safe physical human–robot contact during operation.
Under the conventional human–robot separation paradigm, collaborative manipulation relies on real-time joint torque perception to guarantee safe interaction. However, in unstructured environments, continuous dynamic robot motions and manipulator posture reconfiguration constantly alter the reference joint torque values, introducing severe interference to force-sensing precision. The literature [1] demonstrates that terrain-adaptive foot placement and pose optimization redistribute the full robot load; without precise calibration of dynamic friction and inertial parameters, time-varying baseline drift will contaminate raw force measurement signals. Accordingly, high-fidelity dynamic parameter identification serves as the core basis for eliminating torque deviations induced by motion planning and enabling reliable force perception in human–robot interaction.
Resolving the above challenges hinges on accurate robot dynamic models, which play an irreplaceable role in advanced control algorithm design [2], collision detection [3], physical human–robot interaction [4,5], and multi-robot cooperative control [6]. A precise dynamic model is also an indispensable prerequisite for boosting manipulator control performance and guaranteeing motion accuracy. Unfortunately, robot manufacturers rarely supply complete, high-fidelity dynamic models to end users. Meanwhile, dynamic parameters extracted via computer-aided design (CAD) software exhibit substantial deviations from those of physically deployed robots. Consequently, experimental identification has become the most reliable pathway to acquire accurate robot dynamic parameters [7].
Existing experimental dynamic identification approaches fall into two primary categories: model-free and model-based identification. Model-free dynamic identification eliminates the requirement for predefined precise manipulator mathematical models. Using measured joint position and motor current signals, the entire robotic system is treated as an unknown nonlinear multi-input, multi-output (MIMO) system for identification. Representative model-free techniques include multilayer perceptron compensators [8], Gaussian process regression [9,10], radial basis function network compensators [11], and adaptive neural optimization frameworks [12,13]. Such methods feature strong flexibility, avoid cumbersome mathematical derivation, and can be readily adapted to diverse robot platforms. However, compared with model-based identification, model-free approaches consume excessive computational resources while delivering lower identification precision. Furthermore, the identified black box system cannot fully reflect all physical effects during robot operation [14], and reliable estimation of inertial parameters cannot be guaranteed. These drawbacks render model-free methods unsuitable for high-precision parameter-dependent tasks, such as state observer design.
Model-based dynamic identification generally consists of four core steps: dynamic modeling, excitation trajectory optimization, parameter regression, and model validation. For dynamic modeling, the Newton–Euler formulation stands as the classic and most widely adopted method to derive manipulator dynamic equations. Specialized symbolic modeling toolboxes, including SYMORO [15] and OpenSYMORO [16], can rapidly linearize dynamic equations and greatly streamline modeling workflows. Gautier and Khalil [17] proposed an efficient modeling strategy that extracts dominant variables and their internal correlations within dynamic models while minimizing the number of parameters required to characterize system behavior, laying a fundamental groundwork for subsequent parameter identification.
Base parameter sets have been extensively adopted in model-based dynamic identification, as they significantly enhance identification efficiency and accuracy while simplifying the overall identification pipeline. Even so, this technique carries obvious limitations: the linear joint friction model conventionally adopted fails to capture the nonlinear friction behavior present in real-world operation, leading to degraded identification precision. To mitigate this issue, Han et al. [4] adopted the nonlinear Coulomb–viscous friction model [18], while Dong et al. [19] employed the Tustin friction model. Both models deliver more realistic representations of friction dynamics and improve parameter identification performance. Additionally, the Stribeck friction model [20,21,22] is widely utilized to characterize low-speed joint friction in manipulators. By incorporating these nonlinear friction formulations, researchers can accurately describe manipulator dynamic properties and lay a solid foundation for high-precision parameter identification.
From an experimental implementation perspective, excitation trajectory design constitutes a critical prerequisite for accurate robot dynamic identification, and trajectory rationality directly determines the reliability of identification outcomes. To fully excite the system regression matrix and maximize parameter estimation accuracy, excitation trajectories must undergo rigorous optimization. Fifth-order polynomial excitation trajectories [23] represent a prevalent effective solution, featuring few tunable parameters, simple computation, and zero velocity/acceleration boundary conditions at trajectory start and end points. These properties satisfy the smooth motion requirements of manipulators and align well with practical identification experiments. To suppress data acquisition noise and improve identification robustness, periodic Fourier series trajectories [24,25] have been proposed and applied; such trajectories possess stable frequency bands and demonstrate distinct advantages in data collection and post-processing. Over the past decade, fifth-order periodic Fourier series excitation trajectories have garnered growing research attention, as they integrate the merits of fifth-order polynomial profiles and periodic Fourier trajectories with superior smoothness and data processing compatibility. Common optimization metrics for excitation trajectories include the condition number of the full regression matrix [26], sub-regression matrix condition numbers [27], and the logarithmic determinant of the regression matrix [28]. In summary, optimized excitation trajectory design represents a fundamental and effective method to improve experimental dynamic identification accuracy.
Accurate dynamic parameter estimation constitutes the core stage of manipulator dynamic identification. Conventional parameter estimation algorithms include least squares [17], maximum likelihood estimation [25], and Kalman filtering [29]. While these methods enable rapid parameter solving, they suffer from notable deficiencies: (1) estimation results are highly susceptible to measurement noise and outliers; (2) the identified minimal parameter set often violates physical feasibility constraints; (3) enforcing physical constraints may degrade identification accuracy and push estimated parameters to the boundaries of physically feasible regions; (4) robot motion speed, system bandwidth, and mechanical structural limitations prevent full excitation of the regression matrix; and (5) most identification algorithms are built upon linear friction models, exhibiting poor compatibility with nonlinear friction formulations.
Current research schemes still possess evident drawbacks. The majority of existing methods only resolve isolated subproblems or achieve partial identification objectives, lacking comprehensive solutions to all core technical challenges. Few studies jointly integrate nonlinear friction models, iterative optimization strategies, and geometric calibration methods to solve manipulator base dynamic parameters. Most reported dynamic identification approaches fully linearize the entire dynamic model, which the existing literature verifies cannot accommodate nonlinear friction descriptions and fails to balance accurate friction nonlinearity characterization and identification precision.
The OLS-FBPE (Ordinary Least Squares Feasible Base Parameter Estimation) framework proposed by Sousa & Cortesão enforces linear matrix inequality (LMI)-based physical constraints on single-step least squares regression to filter unphysical inertial parameters. Nevertheless, the original OLS-FBPE architecture suffers from two critical flaws: (1) linear friction coefficients and inertial parameters are coupled within a single regression matrix, making it impossible to decouple strong nonlinear friction residuals from inertial identification bias, and (2) only linear Coulomb–viscous friction models are supported, with no compatibility for low-speed Stribeck nonlinear friction effects. To overcome these bottlenecks, this paper proposes a dual-layer hierarchical iterative optimization architecture that decouples offline nonlinear friction pre-identification and constrained inertial parameter regression with closed-loop residual feedback iteration, constructing a nested optimization loop absent from single-shot OLS-FBPE and weighted FBPE variants.
The remainder of this paper is organized as follows. Section 2 elaborates on robot dynamic modeling and related fundamental theoretical background. Section 3 details the proposed hierarchical iterative dynamic parameter identification algorithm. Section 4 validates the effectiveness of the proposed method via physical experiments. Section 5 summarizes the core contributions of this work and outlines future research directions, followed by concluding remarks.

2. Robot Dynamic Modeling and Fundamental Theories

The Newton–Euler recursive formulation is universally adopted to establish the dynamic model of an n degrees of freedom serial robot, expressed as:
τ = M ( q ) q ¨ + V ( q , q ˙ ) q ˙ + G ( q ) + τ f
where q denotes joint position, τ denotes joint driving torque, τ f denotes joint friction torque, M ( q ) denotes the symmetric positive definite mass matrix, V ( q , q ˙ ) represents the centrifugal and Coriolis force vector, and G ( q ) stands for the gravitational torque vector.
The linear Coulomb–viscous friction model is widely adopted for joint friction characterization in traditional robot dynamic modeling [30]. This model features a simple linear structure where friction torque varies proportionally with joint velocity, and it introduces no extra unknown terms during regression matrix construction for identification. However, it cannot capture the intrinsic nonlinear characteristics of joint friction, and model uncertainty inevitably induces identification errors. The mathematical expression of the classical Coulomb–viscous friction model reads:
F f i = q ˙ i F v i + sign ( q ˙ i ) F c i + B i = q ˙ i     sign ( q ˙ i )     1 F v i F c i B i T
where F v i denotes the viscous friction coefficient, F c i represents the Coulomb friction coefficient, and B i stands for the joint friction offset coefficient.
Equation (1) is linearized and converted into the product of a regression matrix and a standard dynamic parameter set, which is expressed as follows:
τ = γ s ( q , q ˙ , q ¨ ) β s
where γ s ( q , q ˙ , q ¨ ) n   ×   n s refers to the regression matrix, n is the number of joints, n s represents the quantity of parameters in the standard parameter set, and β s n   ×   n s denotes the standard dynamic parameters of the whole robot. According to the linear Coulomb–viscous friction model (2), each link has 14 standard dynamic parameters, consisting of 11 inertial parameters and three friction parameters. β s i represents the standard dynamic parameters of the i link. The standard dynamic parameter set of each link i is given as follows: β s = I x x i   I x y i   I x z i   I y y i   I y z i   I z z i   m i r x i   m i r y i   m i r z i   m i   I a i   F c i   F v i   B i T , i = 1 , 2 , , 6 . Where I x x i   I x y i   I x z i   I y y i   I y z i   I z z i denotes six components of the inertia tensor, m i r x i   m i r y i   m i r z i stands for the first-order moment of the inertia of link i , m i refers to the mass of link i , and I a i represents the rotational inertia of joint axis i .
To reduce the dimensionality of parameters to be solved, the full standard parameter set can be simplified into a minimal base parameter set, and Equation (3) is re-linearized as:
τ = γ b ( q , q ˙ , q ¨ ) β b
where γ b ( q , q ˙ , q ¨ ) n   ×   n b is the reduced regression matrix corresponding to base parameters, n b refers to the number of independent base parameters, and β b n   ×   n b denotes the vector of actual base inertial parameters. The mapping relation between standard and base parameters satisfies β b = Q T β s , where Q T is a constant permutation matrix.
The dynamic characteristics derived from standard and base parameter sets are theoretically equivalent. Given m groups of sampled motion data, Equation (4) can be rewritten in batch matrix form:
Γ = Φ b ( q , q ˙ , q ¨ ) β b + κ
where Γ , Φ b , and κ are the observation vector, observation matrix, and error vector, respectively, and they are defined as follows:
Γ = τ 1 T τ 2 T τ m T T
Φ b = γ b 1 ( q 1 , q ˙ 1 , q ¨ 1 ) γ b 1 ( q 2 , q ˙ 2 , q ¨ 2 ) γ b m ( q m , q ˙ m , q ¨ m )
The base parameter vector can be preliminarily estimated via the least squares method:
β b = argmin β b Γ Φ b β b
The closed-form analytical solution of least squares is:
β b = ( Φ b T Φ b ) 1 Φ b T Γ
The residual error vector after parameter fitting is calculated as:
κ = Γ Φ b β b
To ensure the physical feasibility of the solved base parameters, Equation (8) is transformed into an optimization problem constrained by linear matrix inequalities, which is the OLS-FBPE algorithm:
β b = argmin β b Γ Φ b β b 2 2 s . t : J β i 0 I a i 0 F c i 0 F v i 0 i = 1 , 2 , 3 , , n
J β i 4   ×   4 is defined as:
J ( β i ) = 1 2 tr ( I i ) E 3 I i L i L i T m i
where I i = I x x i I x y i I x z i I x y i I y y i I y z i I x z i I y z i I z z i , L i = m i r x i m i r y i m i r z i , and E 3 is the 3   ×   3 identity matrix. Equation (12) can be equivalently transformed into a non-strict linear matrix inequality by subtracting an infinitesimal positive scalar from the diagonal elements. Thus, Equation (12) can be regarded as a semi-definite programming optimization problem, which can be solved using the YALMIP [31] toolbox in MATLAB2023.

3. Robot Parameter Identification Method

3.1. Nonlinear Friction Identification

As shown in Equation (2), the classical linear Coulomb–viscous friction model cannot fully capture joint nonlinear friction behaviors and will introduce large identification bias. Multiple studies have verified that viscous friction has a power law nonlinear correlation with joint velocity. Ref. [4] defines viscous friction as a power function of angular velocity, forming the nonlinear Coulomb–viscous friction model:
F f i ( q ˙ i ) = q ˙ i α i sign ( q ˙ i ) F v i + sign ( q ˙ i ) F c i + B i = ( q ˙ i α i sign ( q ˙ i )   sign ( q ˙ i )   1 ) F v i F c i B i T
where α 0 , 1 , and the sign function is defined as:
sign ( q ˙ i ) = 1 , q ˙ i > 0 0 , q ˙ i = 0 1 , q ˙ i < 0
Nevertheless, the nonlinear Coulomb–viscous model still fails to describe startup and low-speed friction characteristics of joints, so the standard Stribeck friction model is adopted for a more accurate friction torque expression:
F f i ( q ˙ i ) = F c i sign ( q ˙ i ) + ( F s i F c i ) ( q ˙ i / q ˙ s i ) 2 sign ( q ˙ i ) + F v i q ˙ i
where q ˙ s i is an empirical parameter representing the Stribeck velocity, and F s i is the maximum static friction force.
According to the analysis in the literature [21], exponential velocity terms can better describe nonlinear viscous friction. Meanwhile, replacing the discontinuous arctan ( ) function with the arctangent function eliminates model discontinuity at velocity reversal points. On this basis, an improved Stribeck friction model is proposed in this paper:
F f i ( q ˙ i ) = F c i 2 π arctan ( K v i , q ˙ i ) + ( F s i F c i ) ( q ˙ i / q ˙ s ) 2 2 π arctan ( K v i , q ˙ i ) + F v i q ˙ i α i
where α i denotes the power exponent of nonlinear viscous friction, and K v i is the smoothing coefficient of the arctangent term.
To calculate the robot’s friction torque separately, we analyze the composition of the robot’s joint torque. From Equation (1), it can be observed that the inertial torque depends only on the robot’s acceleration, while the Coriolis and centrifugal torques depend on the robot’s joint velocity and satisfy V q , q ˙ q ˙ = V q , q ˙ q ˙ . The gravitational term is only affected by the robot’s joint angles. To eliminate the inertial, Coriolis, centrifugal, and gravitational torques, a trajectory satisfying the joint friction torque is constructed as follows:
q ˙ i ( t ) = v i γ , t T 4 Δ t 2 q ˙ i ( t ) = k 11 t + k 12 ,     T 4 Δ t 2 < t < T 4 + Δ t 2 q ˙ i ( t ) = v i γ , T 4 + Δ t 2 t 3 T 4 Δ t 2   q ˙ i ( t ) = k 21 t + k 22 ,   3 T 4 Δ t 2 < t < 3 T 4 + Δ t 2 q ˙ i ( t ) = v i γ ,     3 T 4 + Δ t 2 t T Δ t 2 q ˙ i ( t ) = k 31 t + k 32 ,   T Δ t 2 < t < T + Δ t 2 q ˙ i ( t ) = v i γ , T + Δ t 2 t 3 T 2
where T is the full trajectory period; q i is the angular position of joint i ; v i γ represents the constant velocity magnitude of the u-th velocity group for joint i ; U is the total number of velocity groups set for friction testing; and Δ t stands for the duration of velocity switching phases.
To ensure smooth switching of the robot joint velocity, the following constraints are designed:
v i γ = k 11 t + k 12 , t = T 4 Δ t 2 k 11 t + k 12 = 0 ,     t = T 4 v i γ = k 21 t k 22 ,     t = 3 T 4 Δ t 2 k 21 t + k 22 = 0 ,     t = 3 T 4 v i γ = k 31 t + k 32 , t = T Δ t 2 k 31 t + k 32 = 0 ,     t = T
where k 11 , k 12 , k 21 , k 22 , k 31 , and k 32 are the coefficients of the velocity trajectory during the three commutation phases, as shown in the trajectory in Figure 1.
The dynamic model (1) theoretically indicates that inertial torque is coupled with joint acceleration, gravitational torque is solely dependent on joint angles, and Coriolis torque is jointly determined by joint position and velocity. When joints move at strictly constant velocity, joint acceleration equals zero, eliminating all inertial torque contributions. The Coriolis term satisfies the symmetric identity C ( q i , q ˙ i ) q ˙ i = C ( q i , q ˙ i ) ( q ˙ i ) . Assuming that friction torque exhibits odd symmetry F f ( q ˙ ) = F f ( q ˙ ) , friction torque retains identical magnitude with reversed sign upon velocity reversal. If inertial, Coriolis, and gravitational torque components are fully eliminated or counterbalanced, pure friction torque can be isolated under constant velocity motion. For zero joint acceleration and reversed joint velocity, measured joint torque satisfies:
τ ( q , q ˙ , 0 ) τ ( q , q ˙ , 0 ) = C ( q , q ˙ ) q ˙ + G ( q ) + F f ( q ˙ ) ( C ( q , q ˙ ) ( q ˙ ) + G ( q ) + F f ( q ˙ ) ) = 2 F f ( q ˙ )
where the joint friction torque can be calculated as F f ( q ˙ ) = τ ( q , q ˙ , 0 ) τ ( q , q ˙ , 0 ) / 2 .
Velocity continuity is enforced by setting joint angular velocity to zero at trajectory start and end points. The first half of each trajectory cycle is used to collect forward-direction friction torque data, while the latter half captures reverse-direction friction torque measurements. This trajectory framework is executed to sample joint torque signals across multiple discrete velocity levels for each joint. With m groups of velocity setpoints, the acquired discrete friction torque dataset is denoted as τ f i = [ F f ( q ˙ i 1 ) F f ( q ˙ i m ) ] T . In this work, the interior-point optimization method is adopted to identify nonlinear friction parameters, with physical feasibility constraints embedded within the optimization objective:
arg min ( F c i , F v i , B i , α i , K v i ) F f i τ f i   s . t . F c i > 0 F v i > 0 α i > 0 K v i > 0 i = 1 , 2 , , n

3.2. Inertial Parameter Identification

Equation (5) Γ = Φ b ( q , q ˙ , q ¨ ) β b + κ demonstrates that dynamic model identification can be formulated as a multi-output multivariate linear regression problem, where Γ acts as the response vector, Φ b ( q , q ˙ , q ¨ ) represents the design regression matrix, β b corresponds to the regression coefficient vector, and κ denotes the Gaussian noise error term with the following covariance property:
C κ κ = E ( κ κ T ) = Λ
where E ( ) denotes the mathematical expectation operator, and Λ is an n   ×   n diagonal matrix whose diagonal entries equal the noise variance of each joint’s driving torque measurement.
The stacked observation matrix and torque response vector are constructed from sampled motion data following Equation (5), and the base parameter vector β b is solved via the standard least squares closed-form solution:
β b = Φ b T Φ b 1 Φ b T Γ
The variance of each estimated base parameter is extracted as the diagonal entries of the covariance matrix:
σ β b 2 = diag Φ b T Φ b 1
where d i a g ( ) denotes the operator extracting diagonal elements from a matrix. Equation (18) presents the ordinary least squares solution minimizing the L2 norm of residuals; however, this estimator yields suboptimal parameter variance performance. Weighted least squares (WLS) is introduced to optimize parameter variance distribution, which requires prior estimation of the noise covariance matrix Λ .
First, compute the residual vector representing the deviation between model-predicted torque and measured torque:
= Γ Φ b β b = E Φ b Φ b T Φ b 1 Φ b T Γ
where has the dimension of m n   ×   1 . It can be rearranged into matrix E with dimension n   ×   m , whose rows store residuals of each joint.
The value of Λ can be estimated by E as follows:
Λ i i = E i 2 m p ς = d i a g ( 1 Λ i i )
where Λ i i is the i diagonal element of Λ , E i represents the i row of matrix E, and represents the L2 vector norm. Notably, Λ can be applied to the Kalman filter design of external force observers, and ς serves as the weighting coefficient of WLS.
After estimating Λ , the weighted least squares solution for base parameters is derived as:
β b = Φ b T M 1 Φ b 1 Φ b T M 1 Γ
where M is an m n   ×   m n block-diagonal matrix with m copies of Λ distributed along its main diagonal. The parameter variance under weighted least squares is expressed as:
σ β b 2 = diag Φ b T M 1 Φ b 1
To prevent solved dynamic parameters from converging to the boundaries of physically feasible regions, the optimization objective is augmented with a reference parameter solution term to guide parameter estimation toward physically realistic values. The complete constrained optimization formulation is defined as:
arg min ( β r ( WLS ) ) υ τ r υ γ b r β r ( WLS ) 2 2 + β r ( WLS ) β 0 2 2 s . t . i = 1 , 2 , 3 , , n I i > 0 tr ( I i ) 2 E I i L i L i T m i > 0
where β 0 denotes the reference dynamic parameter, and 2 represents the Euclidean L2 distance metric.
A refined geometric inertial parameter distance metric proposed in [32,33] is further incorporated into the cost function to improve constraint robustness:
arg min ( β r ( WLS ) ) υ τ r υ γ b r β r ( WLS ) 2 2 + β d 0 ( β r ( WLS ) , β 0 ) 2 s . t . i = 1 , 2 , 3 , , n I i > 0 tr ( I i ) 2 E I i L i L i T m i > 0 d 0 ( β r ( W L S ) , β 0 ) = m i m i 0 m i 0 2 + m i 0 L i L i 0 2 + 1 2 log ( l i 0 1 2 l l i 0 1 2 ) F 2 l i = J + m c I c i T L i L i T m i

3.3. Robot Dynamic Parameter Identification

To achieve high-precision dynamic parameter estimation, a hierarchical iterative optimization framework is proposed, which decouples the robot dynamic model into two independent components: inertial torque terms and friction torque terms:
τ r + τ f = M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) + τ f ( q ˙ ) = ϕ b r ξ r + τ f ( q ˙ )
where τ r and τ f represent inertial torque and friction torque, respectively, ϕ b r is the regression matrix excluding all friction-related terms, and ξ r denotes the minimal inertial base parameter vector stripped of friction coefficients.
The full base parameter vector β b can be partitioned into two disjoint subsets: inertial base parameters β r and friction parameters β f . Equation (5) is, therefore, rewritten in block form:
Γ = Φ b ( q , q ˙ , q ¨ ) β r   β f T
The pure inertial torque signal with friction components eliminated is isolated as:
τ r = τ τ f = ϕ b ξ r 0 T
Conversely, nonlinear friction torque can be recovered from measured torque and predicted inertial torque:
τ f = τ τ r = τ ϕ b r ξ r
The hierarchical iteration loop adopts dual joint convergence criteria combining torque RMSE threshold and friction parameter deviation threshold, with a hard maximum iteration limit to avoid infinite loop:
(1)
Torque residual RMSE threshold: ε R M S E = 0.05   N m per joint; total six-joint sum threshold ε t o t a l = 0.3   N m .
(2)
Friction parameter deviation threshold: ε R M S E = 10 3 , defined as the L2 norm difference of the full Stribeck friction parameter vector between two consecutive iterations.
(3)
Hard maximum iteration count: max i t e r = 50 iterations; iteration terminates automatically once reaching max i t e r even if criteria unmet.
The detailed identification workflow is summarized as follows. The core principle of the hierarchical iterative algorithm integrates identification residuals generated in each iteration back into friction or inertial torque calculations, enabling progressive error correction through repeated alternating identification of friction and inertial parameters. The primary optimization objective is to minimize overall torque identification residuals, achieving tight fitting between model predictions and measured torque data and ensuring that the solved dynamic model faithfully reflects the physical motion characteristics of the physical robot. Convergence evaluation is performed using torque RMSE and friction parameter deviation metrics after each round of inertial and friction parameter regression. Iterative correction cycles continue until both convergence criteria are satisfied, yielding high-fidelity full dynamic parameter sets.

3.4. Friction Compensation

During robot dynamic parameter identification, the Stribeck friction model encapsulates coupled Coulomb, viscous, and static friction effects, featuring strong nonlinear attenuation, hysteresis, and time-varying behavior at low joint velocities. Reliable friction compensation must simultaneously satisfy two core requirements: capturing temporal motion features consistent with friction hysteresis and adhering to fundamental physical friction laws to avoid unphysical model outputs.
Conventional compensation strategies suffer from inherent drawbacks. Analytical Stribeck models rely on precisely calibrated physical friction parameters and lack adaptability to time-varying friction drift and complex nonlinear coupling under variable working conditions. Standard data-driven LSTM networks can capture temporal friction hysteresis but lack embedded physical constraints, frequently generating physically implausible friction torque predictions. Additionally, pure data-driven neural networks must relearn all core Stribeck nonlinear features from scratch, leading to slow training convergence and poor generalization performance, especially within low-speed regions dominated by pronounced Stribeck effects. Vanilla RNN and GRU architectures fail to model long-term temporal friction dependencies, as joint Stribeck friction states rely on historical velocity sequences spanning 5–8 control cycles, and standard RNNs suffer irreversible gradient vanishing during backpropagation over long time series.
To address the above limitations, this paper adopts a physics-informed LSTM (PI-LSTM) network for Stribeck friction compensation, which unifies physical prior modeling and data-driven temporal sequence fitting and delivers three key advantages. First, core physical features of the Stribeck friction model are embedded into the network input layer, guiding the model to prioritize critical friction characteristics, eliminate redundant feature learning, accelerate training convergence, and boost fitting accuracy within low-speed nonlinear operating regions. Second, hard physical constraint penalties are integrated into the composite loss function to enforce network outputs to comply with fundamental friction physical laws, eliminating the invalid unphysical predictions typical of purely data-driven neural networks. Third, lightweight optimization of input feature construction and loss function formulation balances temporal sequence fitting performance and real-time computational efficiency for practical engineering deployment. The proposed PI-LSTM retains the adaptive capacity of standard LSTM for time-varying friction while introducing physical interpretability, overcoming the inherent defects of both analytical friction models and unconstrained recurrent neural networks. The architecture achieves high-precision, robust Stribeck friction compensation and provides an advanced temporal modeling paradigm for robot dynamic parameter identification.
The ablation study in Table 1 compares friction compensation RMSE across PI-RNN, PI-GRU, and PI-LSTM trained on identical datasets. PI-LSTM reduces overall torque RMSE by 19.7% relative to PI-RNN and 11.3% relative to PI-GRU, with a 27.2% error reduction specifically within low-speed Stribeck nonlinear regions compared with PI-RNN. The dedicated forget–input–output gate structure of LSTM enables selective retention of historical motion features critical for modeling friction hysteresis, a capability lightweight recurrent units (RNN/GRU) cannot replicate.

3.4.1. Temporal Characteristics of the Friction Model

Conventional LSTM networks only ingest angular velocity and acceleration sequences as raw inputs and must independently learn friction nonlinearity during training. In contrast, PI-LSTM embeds explicit Stribeck physical prior features directly into the input vector to guide model learning, with the full input feature vector defined as:
X ( t ) = { q ˙ ( t i ) } i = 1 k , sign ( q ˙ ( t 1 ) ) , e | q ˙ ( t 1 ) | v s 2 , { q ¨ ( t i ) } i = 1 k T
where t denotes the discrete current time step; k 5 , 8 is the LSTM input sequence length aligned with robot control cycles to fully cover the temporal dependency window of friction hysteresis; { q ˙ ( t i ) } i = 1 k and { q ¨ ( t i ) } i = 1 k represent angular velocity and acceleration sequences over the preceding k time instants, i = 1 , 2 , , k ; sign ( q ˙ ( t 1 ) ) encodes friction direction physical prior information; e | q ˙ ( t 1 ) | v s 2 embeds the Stribeck nonlinear attenuation prior term; and v ˙ s is the empirical characteristic Stribeck velocity guiding the network to focus on low-speed friction dynamics, and the total input feature dimension equals 2 k + 2 .
PI-LSTM maintains the standard gating architecture of vanilla LSTM, with physical guidance solely implemented via customized input feature construction. The complete network update formulations are presented below:
(1)
Forget gate:
f t = σ ( W f [ X ( t ) , h t 1 ] + b f )
where W f n h × ( k + n h ) is the forget gate weight, b f n h is the forget gate bias, h t 1 n h is the hidden state of the previous moment, n h is the number of hidden layer neurons, and σ ( ) refers to the activation function.
(2)
Input gate:
i t = σ ( W i [ X ( t ) , h t 1 ] + b i ) C ˜ t = tanh ( W C [ X ( t ) , h t 1 ] + b C )
where W i , W C n h × ( k + n h ) denote weight matrices of the input gate or cell state, b i , b C n h represent corresponding bias terms, and tanh ( ) is the hyperbolic tangent function.
(3)
Cell state update:
C t = f t C t 1 + i t C ˜ t
where denotes the Hadamard product and C t 1 is the cell state of the previous moment.
(4)
Output gate:
o t = σ ( W o [ X ( t ) , h t 1 ] + b o ) h t = o t tanh ( C t )
where W o n h × ( k + n h ) and b o n h are output gate weights.
(5)
Final output of LSTM:
τ ^ f ( t ) = W h h t + b h
where τ ^ f ( t ) is the preliminary predicted friction torque of PI-LSTM.
The composite loss function of PI-LSTM integrates weighted fitting loss and physical constraint penalty loss to eliminate unphysical torque outputs characteristic of unconstrained LSTM networks, formulated as:
L total = L MSE + λ L phy
where λ 0.1 , 0.3 is the physical constraint weight, balancing fitting accuracy and physical characteristics to avoid fitting deviation from excessive constraints or invalid weak constraints. L MSE denotes basic temporal mean square error loss ensuring fitting precision. L phy stands for physical constraint loss composed of three core terms, complying strictly with Stribeck friction laws.
The baseline fitting loss L MSE quantifies the squared deviation between PI-LSTM predicted friction torque and measured friction torque:
L MSE = 1 N k t = k + 1 N τ f , meas ( t ) τ ^ f ( t ) 2
where N is the total number of time series samples and τ f , meas ( t ) is the measured Stribeck friction torque. It is obtained by subtracting inertia and damping terms from the measured joint driving torque:
τ f , meas ( t ) = τ meas ( t ) J q ¨ ( t ) B q ˙ ( t )
where J is the moment of inertia and B is the viscous damping coefficient.
The physical constraint loss term L phy aggregates three independent penalty components: direction constraint loss, amplitude limit constraint loss, and Stribeck nonlinear characteristic constraint loss, formulated as:
L phy = L dir + L limit + L stribeck
where L dir stands for direction constraint loss, L limit is amplitude constraint loss, and L stribeck is Stribeck nonlinear constraint loss. The detailed mathematical definitions of each penalty term are:
L dir = t = k + 1 N max 0 , τ ^ f ( t ) sign ( q ˙ ( t ) ) L limit = t = k + 1 N max 0 , | τ ^ f ( t ) | τ f , max L stribeck = t = k + 1 N max 0 , | τ ^ f ( t ) | | q ˙ ( t ) | + ε C
For direction constraint loss L dir , a positive penalty is imposed when τ ^ f ( t ) sign ( q ˙ ( t ) ) > 0 to penalize friction torque predictions opposing physical friction direction; zero penalty is applied when the sign relation satisfies physical friction rules. For amplitude constraint loss L limit , penalties equal the excess magnitude when predicted friction torque exceeds the maximum physical friction limit τ f , max , with zero penalty for valid torque magnitudes. For Stribeck nonlinear constraint loss L stribeck , ε = 10 6 is a small regularization constant to avoid division by zero, and C is an empirical constant defining the maximum allowable friction torque per unit angular velocity. At low angular velocities, the ratio τ ^ f t / q ˙ t + ε tends to exceed C , activating the penalty term to force the network to output larger friction torque values at low speeds consistent with the Stribeck effect; the penalty vanishes only when the friction magnitude satisfies the required low-speed nonlinear growth property.

3.4.2. Convergence Analysis of Physics-Constrained Loss Function

The composite loss function L t o t a l   = L M S E   + λ L L p h y   consists of a strictly convex MSE fitting term and three convex penalty functions within L L p h y . Given the bounded feasible domain of measured friction torque τ f , max   τ f , m a x , τ f , m a x , the full loss function satisfies strong convexity with a uniform lower bound. Under Adam gradient descent training with bounded learning rates, the training loss sequence decreases monotonically and converges uniquely to the global optimal solution, eliminating local minimum traps prevalent in purely data-driven LSTM training.

3.4.3. Final Compensation Formula

After completing PI-LSTM offline training, the network is embedded into the robot real-time control loop. It receives real-time joint angular velocity, angular acceleration, and embedded Stribeck physical prior features as inputs and outputs that predict friction torque τ ^ f ( t ) . The final friction-compensated driving torque command for joint motor control is defined as:
τ comp ( t ) = τ cmd ( t ) τ ^ f ( t )
where τ cmd ( t ) denotes the raw torque command output from the motion controller, and τ comp ( t ) represents the friction-compensated driving torque directly issued to joint motors to realize high-precision Stribeck friction compensation. The complete robot dynamic parameter identification workflow is visualized in Figure 2, and the full hierarchical iterative identification logic is formalized in Algorithm 1.
Algorithm 1 Hierarchical Iterative Dynamic Parameter Identification
Input:   Excitation   trajectory   data   q , q ˙ , q ¨ , τ m e a s ,   friction   identification   trajectory   dataset ,   convergence   thresholds   ε R M S E ,   ε p a r a ,   max i t e r = 50 .
Output:   Optimized   nonlinear   friction   parameters   F c i , F v i , α i , K v i ,   physical - feasible   inertial   base   parameters   β r .
1: // Layer 1: Offline Nonlinear Friction Pre-Identification.
2: Generate constant-velocity bidirectional friction trajectory per joint.
3 :   Calculate   pure   friction   torque   τ f   via   τ q , q ˙ , 0 τ q , q ˙ , 0 = 2 τ f .
4: Solve improved Stribeck parameters via constrained interior-point optimization.
5 :   Initialize   iteration   counter   k = 0   residual   RMSE   R M S E o l d = + .
6 :   while   k < max i t e r   and   R M S E o l d > ε R M S E   and   p a r a d e v > ε p a r a do.
7: // Layer 2: Constrained Inertial Parameter Regression.
8 :   Subtract   identified   τ f   from   measured   torque :   τ r = τ m e a s τ f .
9 :   Construct   friction-free   regression   matrix   Φ b r   from   τ r signal.
10 :   Solve   weighted   least   squares   with   LMI   physical   feasibility   constraints   to   get   β r (Proposed-FBPE).
11 :   Compute   predicted   total   torque   τ p r e d = Φ b r β r + τ f .
12 :   Calculate   joint   torque   residual   R M S E n e w = R M S E τ m e a s , τ p r e d .
13 :   Compute   friction   parameter   deviation   p a r a d e v = θ f , k θ f , k 1 2 .
14: // Closed-loop residual feedback to Layer 1.
15 :   If   R M S E n e w < R M S E o l d :   update   friction   dataset   with   residual   bias ,   re - optimize   Stribeck   parameters   θ f , k + 1 .
16 :   R M S E o l d = R M S E n e w ,   k = k + 1 .
17: end while.
18: Train PI-LSTM with converged friction residual dataset for dynamic friction compensation.
19 :   return   θ f , k , β r .

4. Experimental Results and Analysis

4.1. Robot Kinematics Description

The identification test platform adopted in this work is a JAKA Mini Cobo six degrees of freedom serial collaborative manipulator, as shown in Figure 3. This robot achieves a repeat positioning accuracy of ± 0.1 mm, a rated payload of 3 kg, and a maximum working radius of 580 mm, making it widely applicable to industrial assembly, welding, polishing, and other precision manufacturing tasks. Dynamic modeling of the manipulator relies on homogeneous coordinate transformation matrices for each rigid link, so kinematic modeling is completed using the modified Denavit–Hartenberg (MD-H) convention. The link coordinate frame layout of the manipulator is illustrated in Figure 4, defined by four standard MD-H parameters: link twist angle α i 1 , joint rotation angle θ i , link offset d i , and link length a i 1 . The complete MD-H parameter table is provided in Table 2.
The experimental platform is the torque-sensorless JAKA Mini Cobo collaborative robot. Joint driving torque is indirectly calculated from measured motor phase current signals via the torque conversion formula:
τ i = k r i k t i i i
where k r i , k t i , and i i represent gear ratio, motor torque constant, and current vector, respectively.
Equation (46) only accounts for electromagnetic output torque of the drive motor and ignores nonlinear friction inside harmonic reducers, introducing systematic measurement bias at low joint velocities, as thoroughly validated in reference [34]. For gear-driven robots without external joint torque sensors, reducer hysteresis and static friction offset contaminate raw torque estimation signals and directly degrade the accuracy of friction parameter identification. This paper implements a two-stage compensation scheme to eliminate reducer friction interference: first, static friction offset of each joint reducer is calibrated under zero-velocity stationary conditions, with the constant offset subtracted from raw torque estimates; second, reducer viscous friction terms correlated with angular velocity are integrated into the joint global friction model during the initial friction pre-identification stage, and their coefficients are solved synchronously alongside link Stribeck friction parameters.

4.2. Robot Excitation Trajectory Design

Excitation trajectory design encompasses two core tasks: selecting an appropriate trajectory formulation and optimizing trajectory coefficients to maximize regression matrix excitation. This work adopts fifth-order periodic Fourier series trajectories to elevate the signal-to-noise ratio of sampled measurement data. Repeated cyclic sampling and signal averaging mitigate random acquisition noise and simplify filter cutoff frequency selection in subsequent data preprocessing. The complete trajectory mathematical formulation is defined as:
q i ( t ) = k = 1 N ( a k i ω f k sin ( ω f k t ) b k i ω f k cos ( ω f k t ) ) + l = 0 5 c l i ( t ( y 1 ) t f ) l   q ˙ i ( t ) = k = 1 N a k i cos ( ω f k t ) + k = 1 N b k i sin ( ω f k t ) + l = 0 5 c l i l t ( y 1 ) t f l 1 q ¨ i ( t ) = k = 1 N a k i ω f k sin ( ω f k t ) + k = 1 N b k i ω f k cos ( ω f k t ) + l = 0 5 c l i l ( l 1 ) [ t ( y 1 ) t f ] l 2 t f = 2 π / ω f y = t / t f
where y denotes trajectory cycle times, ω f is the fundamental frequency, N is the harmonic order of the Fourier series, which is normally set to five, and y is the cycle count. a k i , b k i , and c l i are undetermined coefficients of the Fourier excitation trajectory.
To guarantee robot operational safety, joint angular position, velocity, and acceleration along excitation trajectories must be constrained within mechanical hardware limits. Additionally, joint velocity and acceleration must equal zero at trajectory start and end instants to satisfy smooth motion boundary conditions. Traditional trajectory optimization minimizes the regression matrix condition number; this paper adopts a more computationally efficient objective function referenced in the literature [7] as the optimization cost metric:
J = i = 1 n b j = 1 m i β 2
Thus, the excitation trajectory can be expressed as:
q i min q i ( t ) q i max q ˙ i min q ˙ i ( t ) q ˙ i max q ¨ i min q ¨ i ( t ) q ¨ i max q i ( t s ) = q i ( t e ) = 0 q ˙ i ( t s ) = q ˙ i ( t e ) = 0 q ¨ i ( t s ) = q ˙ i ( t e ) = 0
where q i min , q i max , q ˙ i min , q ˙ i max , q ¨ i min , and q ¨ i max denote the minimum and maximum joint position, velocity, and acceleration, respectively. t s and t e stand for the start and end time.
In experimental testing, the excitation trajectory optimization problem is solved via the C-implemented NLOPT nonlinear optimization library, and the final optimized excitation trajectory profile is visualized in Figure 5.

4.3. Data Filtering

A combined filtering strategy integrating average filtering, Butterworth filtering, and zero-phase filtering, supplemented by smoothing processing, is adopted to complete data filtering. Firstly, average filtering is used to preprocess the original signal; secondly, the minimum order and normalized cutoff frequency of the filter are solved via the buttord function, and the Butterworth filter coefficients are calculated using the butter function; thirdly, zero-phase bidirectional filtering of the signal is realized by means of the filtfilt function, which effectively reduces phase delay and distortion of the signal; and finally, smoothing processing of the filtered data is completed by the smooth function with locally weighted scatterplot smoothing (LOWESS).
The squared magnitude frequency response of an N-order Butterworth low-pass filter is defined as:
| H ( j ω ) | 2 = 1 1 + ω ω c 2 N
where | H ( j ω ) | 2 is the square of the filter amplitude frequency response, ω denotes cutoff angular frequency, and N represents filter order.
The mathematical formulations for forward and backward zero-phase filtering stages are:
y f w ( n ) = k = 0 N 1 h ( k ) x ( n k )
Backward filter:
y b w ( n ) = k = 0 N 1 h ( N 1 k ) x ( n k )
where y is the filtered output signal, h denotes filter coefficient, x is the input signal to be filtered, and N stands for filter order.
Based on frequency domain analysis of sampled robot motion signals, the system sampling frequency is configured to 50 Hz. The passband cutoff frequency is set to 1 Hz, the stopband cutoff frequency is 5 Hz, the maximum passband ripple is limited to 1 dB, and the minimum stopband attenuation is set to 15 dB. The filtering performance on joint torque signals is illustrated in Figure 6. Comparative analysis confirms that the proposed composite filter effectively suppresses high-frequency measurement noise, yielding smooth torque waveforms free of random jitter while fully preserving the overall trend and key dynamic features of the original raw signal, verifying the validity and practical applicability of the multi-stage filtering pipeline.

4.4. Friction Parameter Identification

Prior to executing the full hierarchical iterative dynamic parameter identification algorithm, pre-identification of joint nonlinear friction parameters is mandatory. Following the single-joint friction torque acquisition methodology outlined in Section 3.1, each joint of the six degrees of freedom manipulator is independently driven across a wide range of discrete constant velocities to collect comprehensive friction characteristic measurement data. Multiple repeated identification trials are conducted at each velocity setpoint to improve data robustness. The full set of joint velocity test points (unit: deg/s) includes: 0.0001, 0.0008, 0.01, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.3, 1.5, 1.7, 1.8, 2.3, 2.6, 2.8, 3.3, 3.7, 4.1, 4.5, 5.5, 6, 8.7, 10, 13.3, 16, 21, 24, 32, 37, and 45.
The friction pre-identification trajectory cycle duration is set to 12 s. Only data sampled during steady constant velocity motion phases are retained for friction parameter regression; acceleration and deceleration transient segments are discarded to eliminate interference from inertial and Coriolis torque components. Accurate friction torque calculation requires paired sampling points with identical joint angular position and equal-magnitude, opposite-direction joint velocity. Qualified paired measurement points are averaged to reduce random sampling errors. After data acquisition and preprocessing, the interior point convex optimization method is deployed to solve the full set of improved Stribeck friction parameters. The friction model fitting results are visualized in Figure 7, and the complete solved friction coefficient values for all six joints are summarized in Table 3.
To quantitatively validate that the proposed improved Stribeck friction model outperforms the nonlinear Coulomb–viscous model and standard discontinuous Stribeck model, total six-joint friction fitting RMSE values for all candidate models are computed and listed in Table 4. The cumulative RMSE of the linear Coulomb–viscous friction model equals 3.149, the standard discontinuous Stribeck model yields a total RMSE of 3.284, the arctangent-smoothed standard Stribeck model achieves 2.552, and the fully improved Stribeck model proposed in this paper attains a minimum cumulative RMSE of 2.179. The proposed improved Stribeck friction model delivers superior fitting performance and aligns most closely with the actual nonlinear friction behavior of manipulator joints. Based on these verified friction parameter results, the hierarchical iterative dynamic parameter identification workflow is executed to solve full inertial base parameters.
  • Model 1 is linear Coulomb–viscous (baseline); Model 2 is standard Stribeck with a discontinuous sign function; Model 3 is standard Stribeck + arctangent velocity smoothing (only the sign replacement is modified); and Model 4 is full improved Stribeck (arctangent smoothing + power law viscous q ˙ α ).

4.5. Parameter Identification Results

Figure 8 visually compares torque fitting curves generated by competing identification algorithms. Blue solid curves represent measured raw joint torque data; red curves denote torque predictions from the proposed hierarchical iterative constrained algorithm (Proposed-FBPE). Compared with Method 1 (WLS-FBPE, black curves) and Method 2 (LS-FBPE, green curves), the Proposed-FBPE torque predictions exhibit the tightest alignment with measured torque waveforms and superior overall fitting performance. Under high-torque operating conditions, Method 1 and Method 2 display obvious trajectory deviation and pronounced accuracy degradation, while the proposed algorithm maintains consistent fitting precision across the full torque operating range.
To quantitatively evaluate the identification performance of the hierarchical iterative optimization algorithm proposed in this paper, we deploy the aforementioned nonlinear friction identification scheme together with the two-layer iterative optimization framework to calibrate the complete dynamic parameters of the manipulator. Following the layered identification logic, we first extract friction components from joint torque measurements for nonlinear friction parameter estimation and then conduct constrained regression on inertial parameters with iterative residual correction. After the iteration process meets the preset convergence thresholds, we obtain a full set of calibrated dynamic parameters. All detailed numerical results of the identified inertial and friction coefficients are collated and presented in the table below for subsequent quantitative comparison with benchmark algorithms. The specific identification results are shown in Table 5.
Six mainstream identification strategies are selected for side-by-side comparative evaluation, namely, LS, WLS, unconstrained Proposed, LS-FBPE, WLS-FBPE, and the proposed Proposed-FBPE algorithm. Among them, LS-FBPE, WLS-FBPE, and Proposed-FBPE incorporate linear matrix inequality physical feasibility (PFC) constraints during regression, while LS, WLS, and the unconstrained Proposed algorithm perform parameter estimation without physical bound restrictions. All six methods utilize identical preprocessed experimental excitation trajectory datasets to guarantee fair comparison, and working condition VT1 is adopted as the benchmark scenario to quantify algorithm performance and validate the superiority of the proposed framework.
Table 6 records the per-joint torque fitting RMSE and cumulative total RMSE of each algorithm. Lower RMSE values indicate smaller discrepancies between model-predicted torque and actual measured torque, which means the identified dynamic model better matches the real physical characteristics of the manipulator. Under working condition VT1, the total RMSE of the unconstrained Proposed algorithm reaches 27.329, whereas the total RMSE values of the standard least squares and weighted least squares methods are 39.542 and 35.505, respectively. This evident gap demonstrates that the hierarchical iterative optimization architecture can effectively suppress systematic modeling errors and deliver much higher identification precision. The dual-layer nested iteration design continuously eliminates the offset between theoretical torque outputs and practical robot dynamic responses, enabling the calibrated model to accurately reflect real motion characteristics under diverse operating states.
Identification algorithms satisfying PFC constraints yield remarkably improved results compared with unconstrained ones. Under the VT1 condition, the total RMSE of LS-FBPE drops by 6.516 against LS, WLS-FBPE decreases by 6.029 versus WLS, and Proposed-FBPE falls by 2.431 relative to Proposed. PFC constraints standardize parameter estimation, making identified parameters conform better to actual robotic dynamic properties and boosting identification accuracy and reliability.
To further verify the universal compatibility of the Proposed-FBPE algorithm with various friction models and quantitatively prove the advantages of nonlinear friction modeling over linear counterparts, a series of comparative experiments are carried out. For the sake of experimental fairness, the identical Proposed-FBPE identification framework is adopted for all four friction models. Traditional LS and WLS methods show prominent defects when combined with nonlinear friction expressions, as they cannot decouple nonlinear friction residuals from inertial parameter bias. The four friction models adopted in the contrast tests are the linear Coulomb–viscous model (Equation (2)), the nonlinear Coulomb–viscous model (Equation (13)), the standard Stribeck model (Equation (14)), and the improved Stribeck model proposed in this paper (Equation (15)).
The cumulative six-joint RMSE results under trajectory VT1 are listed in Table 7. The comparison results clearly reveal that all nonlinear friction models achieve lower total torque error than the linear Coulomb–viscous model under the same identification framework. Throughout the whole iterative calibration process, the hierarchical iterative correction logic remains consistent for all four friction models. The superior capacity of nonlinear friction models to describe low-speed Stribeck hysteresis and velocity-dependent viscous nonlinearity greatly reduces identification residuals, which is the core source of accuracy elevation.

4.6. Model Verification

To further validate the generalization ability and practical reliability of the dynamic model calibrated via the Proposed-FBPE algorithm, an independent set of verification trajectories separate from the excitation trajectories is designed, as shown in Figure 9. The data acquisition sampling frequency remains consistent with that used during parameter identification. The dynamic model solved from excitation trajectory data is employed to predict joint torque under the new verification motion profile, and predicted torque curves from different algorithms are contrasted against measured torque signals. The torque curve of the proposed Proposed-FBPE method exhibits far better coincidence with measured values than the curves of WLS-FBPE and LS-FBPE, which intuitively confirms the stable practical performance of the identified dynamic model on unseen motion trajectories. Detailed torque comparison curves for all joints are presented in Figure 9.
Table 8 quantifies the per-joint and cumulative RMSE of each identification algorithm under the independent verification working condition VT2. After introducing PFC constraints, the total RMSE of Proposed-FBPE is 22.324, while the total RMSE of LS and WLS reach 31.272 and 28.628, respectively. The repeated closed-loop residual correction in the hierarchical iteration framework continuously diminishes the mismatch between model calculation and real robot dynamics, granting the calibrated model strong generalization performance on unknown motion trajectories.

5. Conclusions

In this paper, a hierarchical iterative dynamic parameter identification method integrated with nonlinear friction pre-calibration is proposed for serial manipulators. The presented framework organically combines nonlinear friction modeling, closed-loop iterative residual correction, and linear matrix inequality physical feasibility constraints, ensuring all solved dynamic parameters conform to the intrinsic physical properties of the manipulator system. The improved Stribeck friction model established in this paper accurately reproduces the complex low-speed nonlinear friction behaviors of robot joints, and the PI-LSTM network is further deployed to compensate residual dynamic uncertainties and further shrink identification errors. The two-layer nested iterative loop gradually reduces overall torque RMSE and enables stable convergence of nonlinear friction coefficients according to dual convergence criteria. Multiple groups of contrast experiments conducted on the JAKA Mini Cobo six degrees of freedom collaborative manipulator demonstrate the effectiveness and outstanding superiority of the proposed algorithm. Compared with conventional LS and WLS identification approaches, the proposed hierarchical iterative scheme achieves remarkably higher torque fitting precision. Comparative tests across multiple friction models also validate that the improved Stribeck model can characterize actual joint friction more precisely than linear and classic nonlinear friction alternatives. Moreover, the designed PI-LSTM friction compensation module effectively suppresses time-varying friction residuals and model mismatches introduced during parameter identification, which further improves the overall accuracy of the calibrated dynamic model.

Author Contributions

Conceptualization, X.K.; methodology, X.K.; investigation, X.K. and S.L.; experimentation, X.K., S.L. and E.Z.; data curation, X.K. and S.L.; formal analysis, X.K. and E.Z.; writing—original draft preparation, X.K.; visualization, X.K.; writing—review and editing, X.K. and S.L.; supervision, S.L. and E.Z.; project administration, S.L. and E.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Natural Science Foundation of China (Grant No. 51775048) and the Major Science and Technology Special Project of Henan Province (Grant No. 171100210300).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chen, L.; Ye, S.; Sun, C.; Zhang, A.; Deng, G.; Li, T. Optimized Foothold Planning and Posture Searching for Energy Efficient Quadruped Locomotion over Challenging Terrains. In Proceedings of the 2020 IEEE International Conference on Robotics and Automation (ICRA), Paris, France, 31 May–31 August 2020. [Google Scholar]
  2. Xiao, B.; Yin, S. Exponential tracking control of robotic manipulators with uncertain dynamics and kinematics. IEEE Trans. Ind. Inform. 2018, 15, 689–698. [Google Scholar] [CrossRef] [Scilit]
  3. Li, Y.; Li, Y.; Zhu, M.; Xu, Z.; Mu, D. A nonlinear momentum observer for sensorless robot collision detection under model uncertainties. Mechatronics 2021, 78, 102603. [Google Scholar] [CrossRef] [Scilit]
  4. Han, Y.; Wu, J.; Liu, C.; Xiong, Z. An iterative approach for accurate dynamic model identification of industrial robots. IEEE Trans. Robot. 2020, 36, 1577–1594. [Google Scholar] [CrossRef] [Scilit]
  5. Yao, B.; Zhou, Z.; Wang, L.; Xu, W.; Liu, Q.; Liu, A. Sensorless and adaptive admittance control of industrial robot in physical human−robot interaction. Robot. Comput.-Integr. Manuf. 2018, 51, 158–168. [Google Scholar] [CrossRef] [Scilit]
  6. Dehio, N.; Smith, J.; Wigand, D.L.; Mohammadi, P.; Mistry, M.; Steil, J.J. Enabling impedance-based physical human–multi–robot collaboration: Experiments with four torque-controlled manipulators. Int. J. Robot. Res. 2022, 41, 68–84. [Google Scholar]
  7. Jin, J.; Gans, N. Parameter identification for industrial robots with a fast and robust trajectory design approach. Robot. Comput.-Integr. Manuf. 2015, 31, 21–29. [Google Scholar] [CrossRef] [Scilit]
  8. Hu, J.; Xiong, R. Contact force estimation for robot manipulator using semiparametric model and disturbance Kalman filter. IEEE Trans. Ind. Electron. 2017, 65, 3365–3375. [Google Scholar] [CrossRef] [Scilit]
  9. Gijsberts, A.; Metta, G. Real-time model learning using incremental sparse spectrum gaussian process regression. Neural Netw. 2013, 41, 59–69. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Huang, S.; Chen, J.; Zhang, J.; Zhu, Z.; Zhou, H.; Li, F.; Zhou, X. Robust estimation for an extended dynamic parameter set of serial manipulators and unmodeled dynamics compensation. IEEE/ASME Trans. Mechatron. 2021, 27, 962–973. [Google Scholar] [CrossRef] [Scilit]
  11. Urrea, C.; Pascal, J. Design, simulation, comparison and evaluation of parameter identification methods for an industrial robot. Comput. Electr. Eng. 2018, 67, 791–806. [Google Scholar] [CrossRef] [Scilit]
  12. Urrea, C.; Pascal, J. Parameter identification methods for real redundant manipulators. J. Appl. Res. Technol. 2017, 15, 320–331. [Google Scholar] [CrossRef] [Scilit]
  13. Son, N.N.; Anh, H.P.H.; Chau, T.D. Adaptive neural model optimized by modified differential evolution for identifying 5-DOF robot manipulator dynamic system. Soft Comput. 2018, 22, 979–988. [Google Scholar]
  14. Nguyen-Tuong, D.; Peters, J. Model learning for robot control: A survey. Cogn. Process. 2011, 12, 319–340. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Khalil, W.; Creusot, D. Symoro+: A system for the symbolic modelling of robots. Robotica 1997, 15, 153–161. [Google Scholar] [CrossRef] [Scilit]
  16. Khalil, W.; Vijayalingam, A.; Khomutenko, B.; Mukhanov, I.; Lemoine, P.; Ecorchard, G. OpenSYMORO: An open-source software package for symbolic modelling of robots. In Proceedings of the 2014 IEEE/ASME International Conference on Advanced Intelligent Mechatronics, Besançon, France, 8–11 July 2014; pp. 1206–1211. [Google Scholar]
  17. Gautier, M.; Khalil, W. Direct calculation of minimum set of inertial parameters of serial robots. IEEE Trans. Robot. Autom. 1990, 6, 368–373. [Google Scholar] [CrossRef] [Scilit]
  18. Xu, T.; Fan, J.; Fang, Q.; Zhu, Y.; Zhao, J. Robot dynamic calibration on current level: Modeling, identification and applications. Nonlinear Dyn. 2022, 109, 2595–2613. [Google Scholar] [CrossRef] [Scilit]
  19. Dong, J.; Xu, J.; Zhou, Q.; Zhu, J.; Li, Y. Dynamic identification of industrial robot based on nonlinear friction model and LS-SOS algorithm. IEEE Trans. Instrum. Meas. 2021, 70, 1–12. [Google Scholar] [CrossRef] [Scilit]
  20. Huang, Y.; Ke, J.; Zhang, X.; Ota, J. Dynamic parameter identification of serial robots using a hybrid approach. IEEE Trans. Robot. 2022, 39, 1607–1621. [Google Scholar] [CrossRef] [Scilit]
  21. Zhang, L.; Wang, J.; Chen, J.; Chen, K.; Lin, B.; Xu, F. Dynamic modeling for a 6-DOF robot manipulator based on a centrosymmetric static friction model and whale genetic optimization algorithm. Adv. Eng. Softw. 2019, 135, 102684. [Google Scholar] [CrossRef] [Scilit]
  22. Swevers, J.; Al-Bender, F.; Ganseman, C.G.; Projogo, T. An integrated friction model structure with improved presliding behavior for accurate friction compensation. IEEE Trans. Autom. Control. 2000, 45, 675–686. [Google Scholar] [CrossRef] [Scilit]
  23. Atkeson, C.G.; An, C.H.; Hollerbach, J.M. Estimation of inertial parameters of manipulator loads and links. Int. J. Robot. Res. 1986, 5, 101–119. [Google Scholar] [CrossRef] [Scilit]
  24. Park, K.J. Fourier-based optimal excitation trajectories for the dynamic identification of robots. Robotica 2006, 24, 625–633. [Google Scholar] [CrossRef] [Scilit]
  25. Swevers, J.; Ganseman, C.; Tukel, D.B.; de Schutter, J.; Van Brussel, H. Optimal robot excitation and identification. IEEE Trans. Robot. Autom. 2002, 13, 730–740. [Google Scholar]
  26. Calafiore, G.; Indri, M.; Bona, B. Robot dynamic calibration: Optimal excitation trajectories and experimental parameter estimation. J. Rob. Syst. 2001, 18, 55–68. [Google Scholar] [CrossRef]
  27. Bonnet, V.; Fraisse, P.; Crosnier, A.; Gautier, M.; González, A.; Venture, G. Optimal exciting dance for identifying inertial parameters of an anthropomorphic structure. IEEE Trans. Robot. 2016, 32, 823–836. [Google Scholar] [CrossRef] [Scilit]
  28. Swevers, J.; Verdonck, W.; Naumer, B.; Pieters, S.; Biber, S. An experimental robot load identification method for industrial application. Int. J. Robot. Res. 2002, 21, 701–712. [Google Scholar] [CrossRef] [Scilit]
  29. Gautier, M.; Poignet, P. Extended Kalman filtering and weighted least squares dynamic identification of robot. Control Eng. Pract. 2001, 9, 1361–1372. [Google Scholar] [CrossRef] [Scilit]
  30. Jia, J.; Zhang, M.; Li, C.; Gao, C.; Zang, X.; Zhao, J. Improved dynamic parameter identification method relying on proprioception for manipulators. Nonlinear Dyn. 2021, 105, 1373–1388. [Google Scholar] [CrossRef] [Scilit]
  31. Sousa, C.D.; Cortesão, R. Physical feasibility of robot base inertial parameter identification: A linear matrix inequality approach. Int. J. Robot. Res. 2014, 33, 931–944. [Google Scholar] [CrossRef] [Scilit]
  32. Lee, T.; Park, F.C. A geometric algorithm for robust multibody inertial parameter identification. IEEE Robot. Autom. Lett. 2018, 3, 2455–2462. [Google Scholar] [CrossRef] [Scilit]
  33. Lee, T.; Wensing, P.M.; Park, F.C. Geometric robot dynamic identification: A convex programming approach. IEEE Trans. Robot. 2019, 36, 348–365. [Google Scholar] [CrossRef] [Scilit]
  34. Jin, B.; Sun, C.; Zhang, A.; Ding, N.; Lin, J.; Deng, G.; Zhu, Z.; Sun, Z. Joint Torque Estimation toward Dynamic and Compliant Control for Gear-Driven Torque Sensorless Quadruped Robot. In Proceedings of the 2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Macau, China, 3–8 November 2019. [Google Scholar]
Figure 1. Robot friction model identification trajectory.
Figure 1. Robot friction model identification trajectory.
Machines 14 00783 g001
Figure 2. Flowchart of robot parameter identification.
Figure 2. Flowchart of robot parameter identification.
Machines 14 00783 g002
Figure 3. Robotic arm involved in identification.
Figure 3. Robotic arm involved in identification.
Machines 14 00783 g003
Figure 4. Manipulator link coordinate system.
Figure 4. Manipulator link coordinate system.
Machines 14 00783 g004
Figure 5. Excitation trajectory.
Figure 5. Excitation trajectory.
Machines 14 00783 g005
Figure 6. Torque filtering graph.
Figure 6. Torque filtering graph.
Machines 14 00783 g006
Figure 7. Identification results of the nonlinear friction model.
Figure 7. Identification results of the nonlinear friction model.
Machines 14 00783 g007
Figure 8. Comparison of the results of various algorithms.
Figure 8. Comparison of the results of various algorithms.
Machines 14 00783 g008
Figure 9. Verification and comparison of the operation results of various algorithms.
Figure 9. Verification and comparison of the operation results of various algorithms.
Machines 14 00783 g009
Table 1. Ablation test.
Table 1. Ablation test.
Model ArchitectureTotal Friction Compensation RMSE (6 Joints)Low-Speed Region RMSE (<0.5 rad/s)Training Epoch to Converge
PI-RNN2.6471.023142
PI-GRU2.3820.891116
PI-LSTM2.1790.74587
Table 2. Modified D-H parameters of the robotic arm.
Table 2. Modified D-H parameters of the robotic arm.
Joint θ i / deg d i / mm a i / mm α i / deg
Joint 1 θ 1 1870−90
Joint 2 θ 2 62100
Joint 3 θ 3 0090
Joint 4 θ 4 2100−90
Joint 5 θ 5 0090
Joint 6 θ 6 15900
Table 3. Friction coefficient parameter.
Table 3. Friction coefficient parameter.
Friction ParameterJoint 1Joint 2Joint 3Joint 4Joint 5Joint 6
F c i 6.3214.8317.7811.0331.6011.109
F v i 7.1678.3418.5162.5363.1752.327
B i 2.3265.2953.4825.6981.8963.439
α i 1.0360.5890.6780.4691.0060.853
k v i 225.245325.565456.368558.961769.659865.974
Table 4. Joint friction model error.
Table 4. Joint friction model error.
JointModel 1Model 2Model 3Model 4 (Proposed)
Joint 10.4250.5260.3810.323
Joint 20.9560.7210.6320.551
Joint 30.6650.7260.5840.495
Joint 40.2560.3530.3300.314
Joint 50.4650.6950.4470.374
Joint 60.3820.2630.1780.122
Sum3.1493.2842.5522.179
Table 5. Results of the identification of robot dynamics parameters.
Table 5. Results of the identification of robot dynamics parameters.
IdentifiersValueIdentifiersValueIdentifiersValue
L z z 1 / ( k g m 2 ) 3.532 L z z 3 / ( k g m 2 ) 1.698 L x z 5 / ( k g m 2 ) 0.228
F v 1 / ( N m s rad 1 ) 5.698 m 3 r x 3 / ( k g m ) 2.324 L y z 5 / ( k g m 2 ) 0.432
F c 1 / ( N m ) 7.865 m 3 r y 3 / ( k g m ) −0.005 L z z 5 / ( k g m 2 ) 0.227
F d 1 / ( N ) −3.357 F v 3 / ( N m s rad 1 ) 6.853 m 5 r x 5 / ( k g m ) 1.695
ξ s 1 52.869 F c 3 / ( N m ) 9.142 m 5 r y 5 / ( k g m ) −0.658
L x x 2 / ( k g m 2 ) −4.452 F d 3 / ( N ) −5.147 F v 5 / ( N m s rad 1 ) 3.652
L x y 2 / ( k g m 2 ) 0.152 ξ s 3 32.496 F c 5 / ( N m ) 4.028
L x z 2 / ( k g m 2 ) 0.098 L x x 4 / ( k g m 2 ) 0.224 F d 5 / ( N ) −1.658
L y z 2 / ( k g m 2 ) 0.007 L x y 4 / ( k g m 2 ) 0.191 ξ s 5 22.283
L z z 2 / ( k g m 2 ) 3.228 L x z 4 / ( k g m 2 ) 0.752 L x x 6 / ( k g m 2 ) −1.217
m 2 r x 2 / ( k g m ) 3.357 L y z 4 / ( k g m 2 ) 0.126 L x y 6 / ( k g m 2 ) −4.196
m 2 r y 2 / ( k g m ) 0.095 L z z 4 / ( k g m 2 ) 0.163 L x z 6 / ( k g m 2 ) 0.145
F c 2 / ( N m ) 8.346 m 4 r y 4 / ( k g m ) 0.228 L z z 6 / ( k g m 2 ) 0.136
F d 2 / ( N ) −5.896 F v 4 / ( N m s rad 1 ) 1.364 m 6 r x 6 / ( k g m ) 4.327
ξ s 2 22.493 F c 4 / ( N m ) 3.258 m 6 r y 6 / ( k g m ) 3.142
L x x 3 / ( k g m 2 ) −0.847 F d 4 / ( N ) −2.596 F v 6 / ( N m s rad 1 ) 2.119
L x y 3 / ( k g m 2 ) 0.096 ξ s 4 22.465 F c 6 / ( N m ) 3.237
L x z 3 / ( k g m 2 ) 0.358 L x x 5 / ( k g m 2 ) 0.049 F d 6 / ( N ) −3.259
L y z 3 / ( k g m 2 ) 0.074 L x y 5 / ( k g m 2 ) 0.252 ξ s 6 15.563
Table 6. RMSE of the verification results.
Table 6. RMSE of the verification results.
ValidationMethodsJoint 1Joint 2Joint 3Joint 4Joint 5Joint 6Sum
VT1LS3.2565.2956.2658.3559.2627.14539.542
WLS3.0324.3565.4436.8768.9936.80535.505
Proposed2.3453.3224.7895.0977.3455.43127.329
LS-FBPE2.5953.5665.9976.2158.6685.98533.026
WLS-FBPE2.4573.1234.7535.9418.0765.12629.476
Proposed-FBPE1.5872.9733.8714.7417.1254.60124.898
Table 7. Verification results of various friction models.
Table 7. Verification results of various friction models.
AlgorithmValidation TrajectoryFriction ModelThe Sum of Joint RMSE ( N m )
Proposed-FBPEVT1Model 138.365
Model 236.524
Model 335.763
Model 433.229
Table 8. Verification of the root mean square error of the results again.
Table 8. Verification of the root mean square error of the results again.
ValidationMethodsJoint 1Joint 2Joint 3Joint 4Joint 5Joint 6Sum
VT2LS4.2116.4055.3237.8728.8836.90539.599
WLS3.0153.9924.9726.8838.8676.76934.498
Proposed2.4583.2114.0754.9176.8095.04326.873
LS-FBPE2.3283.0935.4376.1268.5455.74331.272
WLS-FBPE2.3522.9064.6845.8707.8594.95728.628
Proposed-FBPE1.3652.4382.9604.0756.5834.90322.324
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ku, X.; Li, S.; Zhu, E. Robot Dynamic Parameter Identification Based on Nonlinear Friction and Hierarchical Iterative Optimization. Machines 2026, 14, 783. https://doi.org/10.3390/machines14070783

AMA Style

Ku X, Li S, Zhu E. Robot Dynamic Parameter Identification Based on Nonlinear Friction and Hierarchical Iterative Optimization. Machines. 2026; 14(7):783. https://doi.org/10.3390/machines14070783

Chicago/Turabian Style

Ku, Xiangchen, Sen Li, and Erzhou Zhu. 2026. "Robot Dynamic Parameter Identification Based on Nonlinear Friction and Hierarchical Iterative Optimization" Machines 14, no. 7: 783. https://doi.org/10.3390/machines14070783

APA Style

Ku, X., Li, S., & Zhu, E. (2026). Robot Dynamic Parameter Identification Based on Nonlinear Friction and Hierarchical Iterative Optimization. Machines, 14(7), 783. https://doi.org/10.3390/machines14070783

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop