Introduction

With the widespread integration of robots into modern manufacturing systems, their performance has become a decisive factor in determining both production efficiency and product quality. As a result, there is a growing emphasis on improving the positioning accuracy and overall manufacturing precision of robotic systems. A robot’s positioning accuracy is typically characterized by two key metrics: absolute positioning accuracy and repeatability. The former denotes the robot’s ability to reach a designated spatial target accurately, while the latter reflects its consistency in returning to the same location across repeated operations1. Repeatability is primarily governed by the mechanical design and fabrication quality of the robot. In contrast, absolute accuracy is significantly affected by discrepancies between the robot’s actual and nominal geometric parameters, which arise from factors such as machining tolerances, assembly misalignments, and long-term wear. These discrepancies are collectively referred to as geometric parameter errors, which have been reported to contribute up to 90% of the total absolute positioning error in industrial robots2. Therefore, precise calibration of geometric parameters is critical for enhancing positioning accuracy, and has become a focal point of research in robotic optimization. To address this challenge, extensive efforts have been directed toward developing advanced modeling techniques, intelligent optimization algorithms, and effective error compensation strategies to support high-precision robotic applications.

To calibrate robotic geometric parameters effectively, one must address the challenge of solving a high-dimensional and nonlinear optimization problem. Extensive research has been conducted in this domain, leading to various algorithmic approaches aimed at improving positioning accuracy. These approaches can be broadly categorized into four main types: gradient-based optimization, filtering-based estimation, step-size adaptive methods, and swarm intelligence-based strategies.

Gradient-based optimization algorithms minimize the error function by leveraging gradient information, with the nonlinear Least Squares (NLS) and Levenberg–Marquardt (LM) methods being the most widely used. Mao et al.3 introduced a separable NLS algorithm to mitigate joint deformation and convergence issues, achieving a 92.47% improvement in positioning accuracy under variable loading conditions. Wang et al.4 incorporated spherical constraints into an NLS framework to simultaneously account for geometric and end-effector deformation errors. Deng et al.5 proposed a Chebyshev-interpolated LM (CILM) algorithm for robotic smoothing systems, significantly enhancing absolute positioning precision in optical component processing. Li et al.6 further improved calibration accuracy by integrating an unscented Kalman filter (UKF) with a variable step-size LM algorithm, reporting a 19.51% enhancement over the best-performing LM-based method.

Filtering-based optimization methods focus on real-time compensation and dynamic parameter estimation. Techniques such as the Extended Kalman Filter (EKF), Particle Filter (PF), and UKF have been extensively applied. Liu et al.7 employed an EKF approach supported by an optical tracking system for improved target tracking accuracy. Deng et al.8 developed an adaptive residual EKF that alleviated gradient vanishing issues and improved identification performance. Du et al.9 integrated a hybrid filtering strategy combining the UKF with iterative PF to facilitate online calibration with high autonomy. Gao et al.10 proposed a UKF enhanced by adaptive process noise covariance to overcome the limitations of linearized models in capturing high-order system dynamics.

Step-size adaptive methods employ flexible adjustment strategies to improve convergence speed. A representative example is the Beetle Antennae Search (BAS) algorithm. Li et al.11 proposed a robot arm calibration method by fusing EKF with a quadratic-interpolated BAS, effectively enhancing convergence and accuracy. Similarly, Chen et al.12 developed a calibration technique based on an improved Beetle Swarm Optimization (BSO) algorithm, specifically tailored for industrial drilling and riveting tasks.

Swarm intelligence-based methods emulate collective biological behaviors, exhibiting robust global search capability. Particle Swarm Optimization (PSO), Genetic Algorithm (GA), and Squirrel Search Algorithm (SSA) are prominent representatives. Cao et al.13 proposed a hybrid method combining EKF, dual quantum-behaved PSO, and an adaptive neuro-fuzzy inference system (ANFIS). Liu et al.14 integrated an adaptive GA with simulated annealing to minimize motion uncertainty. Ma et al.15 introduced a Lévy flight–assisted SSA framework to optimize measurement poses and reduce end-effector error.

Despite their respective advantages, each approach faces inherent limitations due to the complex, nonlinear, and highly coupled nature of robotic kinematic calibration problems. A summary of these limitations is presented in Table 1.

Table 1 Main drawbacks of robot current calibration methods.

Existing approaches for robot kinematic parameter calibration can be broadly categorized into four main classes: gradient-based methods, filtering-based estimators, adaptive step-size algorithms, and swarm intelligence techniques.

Gradient-based methods, such as the LM algorithm, are widely adopted for their fast convergence. However, they are often sensitive to initial conditions and prone to entrapment in local minima. Filtering-based estimators, including the EKF and UKF, offer improved adaptability for online calibration, yet typically rely on Gaussian noise assumptions and accurate prior models. Adaptive step-size algorithms, such as BAS and BSO, enhance robustness in convergence, though they can suffer from instability in parameter tuning. Recently, swarm intelligence techniques, such as GA, PSO, and SSA, have attracted considerable interest due to their global optimization capabilities. Despite their potential, these algorithms are still challenged by premature convergence, population stagnation, and insufficient local exploitation in high-dimensional spaces.

To address these limitations, several studies have explored hybrid frameworks that combine traditional optimization with intelligent strategies. For instance, the integration of Kalman filtering with heuristic search algorithms has shown promise in balancing global exploration and local estimation. Nevertheless, limited research has focused on reconstructing population structures via interpolation-based mechanisms or mitigating overshooting and instability issues inherent in LM-type methods through dynamic momentum correction.

In this work, a novel Adaptive Momentum Levenberg–Marquardt Cascaded B-spline Interpolation Particle Swarm Optimization (AMLM-BIPSO) algorithm is proposed for calibrating robot geometric parameters. The PSO algorithm serves as the foundational framework owing to its simplicity, strong global search ability, and proven effectiveness across various engineering optimization problems. By incorporating B-spline interpolation into the PSO update mechanism, we introduce a smooth, continuous adjustment strategy that is algorithm-agnostic and potentially extensible to other metaheuristics such as GA, DE, or SSA. This design offers a generalized pathway for enhancing population diversity and search stability.

The main contributions of this study are as follows:

  1. (a)

    Momentum-corrected Levenberg–Marquardt: A dynamic momentum term is incorporated into the LM update rule to account for historical trends and local curvature, thereby suppressing overshooting and improving parameter identification stability.

  2. (b)

    B-spline–based population interpolation: Drawing inspiration from Knowledge-based Artificial Neural Networks, B-spline interpolation is used to reconstruct the particle distribution, improving continuity in the search space, and enhancing convergence smoothness.

  3. (c)

    Cascaded optimization framework: The integration of AMLM and BIPSO leverages the strengths of both local precision and global exploration, leading to more reliable and accurate parameter calibration.

The remainder of the paper is organized as follows: Section “Kinematic and error models of robot” introduces the kinematic modeling and error formulation; Section “Identification of robot kinematic parameters” describes the proposed calibration approach; Section “Experimental verifications” presents experimental results; and Section “Conclusion” concludes the study.

Kinematic and error models of robot

The robot system used in this study is an ABB IRB 120 industrial robot, as illustrated in Fig. 1. A typical robotic operation begins with task planning, where a motion path is designed based on specified task requirements. This path is subsequently post-processed and converted into executable code, which is then deployed to the robot controller. Over time, factors such as mechanical wear, structural deformation, and thermal expansion can lead to deviations in the robot’s nominal Denavit-Hartenberg (DH) parameters, which define its kinematic structure. These deviations introduce discrepancies between the planned and actual motion trajectories, compromising both accuracy and manufacturing quality. As a result, the robot may deviate from the intended path, potentially leading to defects such as misalignment, uneven seam widths, or poor fusion quality in welding or assembly operations. To address these issues, robot calibration plays a critical role. By systematically identifying the actual DH parameters through a calibration procedure, geometric deviations can be effectively quantified and compensated. This reduces trajectory errors and enables the robot to follow the planned path more precisely, thereby improving operational accuracy, consistency, and product quality.

Fig. 1
Fig. 1
Full size image

Schematic of the coordinate systems in robot system. *Note that {B} represents the robot’s base coordinate system, {F} denotes the coordinate system at the center of the end flange, {E} refers to the coordinate system at the end of the cable encoder.

As shown in Fig. 1, when using a wire encoder for calibration, the position error of the robot’s end effector can be converted into the measurement error of the wire length. By accurately measuring the changes in wire length, the positional deviation of the robot’s end effector can be further derived and analyzed, enabling quantitative error evaluation and compensation. Thus, the following relationship holds:

$$\Delta L = \left\| {P_{BF} - P_{E} } \right\|_{2} - L_{EF}$$
(1)

where ΔL represents the deviation between the actual and theoretical cable lengths. PBF denotes the position of the robot flange end center in the robot base coordinate system, which is obtained through the robot kinematic model and includes the geometric parameter error to be identified. PE refers to the position of the cable encoder port in the robot base coordinate system, directly provided by the measurement software. LEF is the actual measured cable length, obtained directly from the encoder.

Robot calibration consists of four fundamental stages: modeling, measurement, parameter identification, and error compensation. Among these, modeling plays a crucial role in determining robot positioning accuracy. The DH model has long been the standard kinematic representation for serial robots. Consequently, this paper employs the DH convention to formulate the kinematic model. The initial kinematic parameters of the ABB IRB 120 industrial robot are provided in Table 2.

Table 2 Nominal kinematic parameters of ABB IRB 120.

The matrix Tii-1 representing the transformation between consecutive joint coordinate systems is given:

$$T_{i}^{i - 1} = \left[ {\begin{array}{*{20}c} {\cos \theta_{i} } & { - \sin \theta_{i} \cos \alpha_{i} } & {\sin \theta_{i} \sin \alpha_{i} } & {a_{i} \cos \theta_{i} } \\ {\sin \theta_{i} } & {\cos \theta_{i} \cos \alpha_{i} } & { - \cos \theta_{i} \sin \alpha_{i} } & {a_{i} \sin \theta_{i} } \\ 0 & {\sin \alpha_{i} } & {\cos \alpha_{i} } & {d_{i} } \\ 0 & 0 & 0 & 1 \\ \end{array} } \right]$$
(2)

For a six-joint robot, the overall transformation matrix defining the end-effector’s position with respect to the base frame is derived:

$$T_{6}^{0} = T_{1}^{0} T_{2}^{1} T_{3}^{2} T_{4}^{3} T_{5}^{4} T_{6}^{5}$$
(3)

The relationship between the end-effector’s position and the joint variables is given by:

$$T_{6}^{0} = \prod\limits_{i = 1}^{6} {T_{i}^{i - 1} = \left[ {\begin{array}{*{20}c} {n_{x} } & {o_{x} } & {a_{x} } & {p_{x} } \\ {n_{y} } & {o_{y} } & {a_{y} } & {p_{y} } \\ {n_{z} } & {o_{z} } & {a_{z} } & {p_{z} } \\ 0 & 0 & 0 & 1 \\ \end{array} } \right]}$$
(4)

where n = (nx, ny, nz)T, o = (ox, oy, oz)T, and a = (ax, ay, az)T are rotational column vectors, P = (px, py, pz)T is a translational column vector, that is, the end position.

Thus, the expression for the robot’s end position PBF is obtained as:

$$P_{BF} = P = T_{6}^{0} ((1:3),4)$$
(5)

where \(T_{6}^{0}\) is the homogeneous transformation matrix from frame 6 to frame 0, and T0 6((1:3),4) denotes the sub-vector consisting of the first three elements of the fourth column, which corresponds to the translational position (px, py, pz)T of the end-effector.

In deriving the kinematic parameter error vector X, it is assumed that the deviation of the robot’s positioning error is small enough such that a first-order approximation is valid. Thus, higher-order terms are neglected. Additionally, it is assumed that the transformation matrix \(T_{i - 1}^{i}\) varies smoothly with respect to the D-H parameters. Under these assumptions, the differential change in the robot end-effector’s position can be expressed linearly by the Jacobian J and the parameter error vector X, as shown in Eq. (6):

$$\begin{aligned} \delta P_{BF} & = \sum\limits_{i = 1}^{6} {\frac{{\partial P_{BF} }}{{\partial a_{i} }}\delta a_{i} } + \sum\limits_{i = 1}^{6} {\frac{{\partial P_{BF} }}{{\partial d_{i} }}\delta d_{i} } + \sum\limits_{i = 1}^{6} {\frac{{\partial P_{BF} }}{{\partial \alpha_{i} }}\delta \alpha_{i} } + \sum\limits_{i = 1}^{6} {\frac{{\partial P_{BF} }}{{\partial \theta_{i} }}\delta \theta_{i} } \\ & = JX \\ \end{aligned}$$
(6)

where δPBF is the robot positioning error, J stands for Jacobian matrix. X denotes the kinematic parameter error, which can be represented as:

$$X = (\delta a_{1,} \ldots ,\delta a_{6} ,\delta d_{1,} \ldots ,\delta d_{6} ,\delta \alpha_{1,} \ldots ,\delta \alpha_{6} ,\delta \theta_{1,} \ldots ,\delta \theta_{6} )^{T}$$
(7)

The differential model expressed in Eq. (6) is based on a first-order Taylor expansion of the forward kinematic function with respect to the D-H parameters. This formulation assumes that the deviations in the geometric parameters are sufficiently small, such that the nonlinear terms beyond the first order can be neglected. This local linearization is a common practice in robot calibration and is typically valid when the kinematic parameter perturbations remain within a limited range. However, it is acknowledged that in scenarios involving large structural deviations or joint flexibility, the linear model may not fully capture the system’s nonlinear characteristics. In such cases, the linearized model should be interpreted as an approximation that facilitates efficient computation and parameter sensitivity analysis, rather than an exact representation of the full nonlinear behavior.

Based on the principles of robot calibration, the following loss function can be formulated to optimize the D-H parameters.

$$\begin{aligned} f(X) & = \min \left[ {\frac{1}{n}\sum\limits_{i = 1}^{n} {(\Delta L_{i} (D + X)^{2} } } \right] \\ & = \min \left[ {\frac{1}{n}\sum\limits_{i = 1}^{n} {(\left\| {P_{BF} (D + X) - P_{E} } \right\|_{2} - L_{EF} )^{2} } } \right] \\ \end{aligned}$$
(8)

where D represents the nominal geometric parameters.

Identification of robot kinematic parameters

The least squares objective function is formulated based on the robot kinematic error model to derive D-H parameters that better approximate the actual values. The AMLM algorithm is employed to obtain near-optimal estimates of kinematic parameter deviations, leveraging its rapid convergence properties to swiftly approach the true D-H parameter deviations. These near-optimal estimates serve as central values for generating a candidate solution set in the BIPSO algorithm. By utilizing its global search capability, the BIPSO algorithm enhances accuracy in estimating kinematic parameter deviations. Consequently, the AMLM-BIPSO approach effectively achieves higher-precision identification of these deviations.

AMLM-based initial calibration

The traditional LM algorithm seeks a balance between gradient descent and the Newton method to solve nonlinear least squares problems, making it a common approach for identifying robot kinematic parameters. Its core mechanism lies in adjusting the damping factor (μ), ensuring that update steps exhibit both local quadratic convergence and global stability. However, in practical applications of robot geometric parameter calibration, two main issues arise. First, when the curvature of the objective function changes sharply or when local flat regions exist, single-step updates may easily lead to convergence to suboptimal local solutions or oscillatory behavior, affecting the accuracy of kinematic parameter identification. Second, the LM algorithm typically relies on local quadratic approximations, which may lose effectiveness in highly nonlinear kinematic calibration problems, particularly when the Jacobian matrix has a high condition number, leading to poor numerical stability. To address these challenges, this paper introduces momentum mechanisms and uncertainty estimation within the LM framework for robot kinematic parameter identification, enabling adaptive adjustments to the update direction, improving convergence stability, and ensuring higher accuracy in D-H parameter optimization.

In the traditional LM algorithm, the update step is:

$$\Delta x_{k} = - (J(x_{k} )^{T} J(x_{k} ) + \mu I)^{ - 1} J(x_{k} )^{T} f(x_{k} )$$
(9)

where xk represents the D-H parameters error vector. I denote the unit matrix. f(xk) is the position error vector. μ stands for the damping factor.

After introducing momentum, the corrected update step is defined as:

$$\Delta x_{k}^{\prime } = \gamma_{k} \Delta x_{k - 1} + (1 - \gamma_{k} )\Delta x_{k}$$
(10)

where γ  [0,1), is the momentum coefficient at step k, and its value is adaptively adjusted based on the current local curvature and the descent performance of the objective function.

Adjustment strategy for the momentum coefficient. When the current step exhibits good descent performance (e.g., the actual decrease is significantly higher than the expected decrease), γ can be appropriately increased to leverage the advantage of the previous direction, thereby accelerating convergence. Conversely, when the descent performance is poor, γ should be reduced, making the update rely more on the gradient information computed in the current iteration. This helps prevent the algorithm from drifting in the wrong direction.

Update γk using the following strategy:

$$\gamma_{k} = \gamma_{\max } \exp ( - \alpha \left| {\rho_{k} - 1} \right|)$$
(11)

where γmax is the predefined maximum value, such as 0.95. α is a proportional scaling factor that controls the decay sensitivity of the momentum coefficient γk. Its value is constrained to the open interval (0, 1) to ensure meaningful exponential scaling. The optimal value of α is problem-dependent. In this study, based on repeated calibration experiments using real-world robot kinematic data, α was empirically set to 0.6. A sensitivity analysis showed that the algorithm is robust within the range 0.4 ≤ α ≤ 0.8, with α = 0.6 providing a consistent trade-off between convergence speed and stability across various robot types and calibration scenarios. ρk is the error reduction ratio, determined by the following equation:

$$\rho_{k} = \frac{{f(x_{k - 1} ) - f(x_{k} )}}{{f(x_{k - 1} )}}$$
(12)

If ρk≈1, it indicates a significant error reduction, and a relatively large momentum is maintained. If ρk≈0, it suggests a slow error reduction, and the momentum is decreased to prevent oscillations.

The adaptive momentum strategy described in Eq. (11) is designed to improve the stability and convergence rate of the optimization process. The function is based on an exponential decay of the absolute deviation of the error reduction ratio ρk from 1, ensuring that γk increases when the update direction is effective (ρk ≈ 1) and decreases when the descent performance deteriorates (ρk → 0). This formulation draws conceptual inspiration from adaptive momentum methods used in deep learning, such as Adam16, RMSProp17, and Nesterov-accelerated gradient (NAG)18, which scale the learning rate or momentum based on gradient statistics. However, the proposed method differs by linking the adjustment directly to the optimization outcome (ρk) rather than gradient magnitude or variance, making it more interpretable and applicable to classical numerical optimization. Several function types, including linear, polynomial, and exponential forms, were tested in preliminary calibration experiments. The exponential function exhibited superior robustness and smoother convergence behavior, especially under ill-conditioned Jacobian matrices.

Thus, the position update formula of the AMLM algorithm is as follows:

$$x_{k + 1} = x_{x} + \Delta x_{k}^{\prime }$$
(13)

Stability analysis of the AMLM update strategy

The AMLM algorithm modifies the standard LM update by introducing a momentum term γk, which is adaptively adjusted based on the error reduction ratio ρk. For the update step to remain stable, the following stability conditions are considered:

  1. 1.

    γk [0, γmax) ensures the weight of historical updates does not dominate, avoiding divergence.

  2. 2.

    When ρk → 1, the update step is confidently accelerated in a consistent descent direction. Conversely, when ρk → 0, the update step becomes more conservative, effectively damping oscillations.

  3. 3.

    The damping factor μ dynamically adjusts the step scale, ensuring numerical stability, particularly when the Jacobian is ill-conditioned.

Under these conditions, the iterative updates behave similarly to a discrete-time dynamic system with bounded energy, exhibiting asymptotic stability in the presence of decreasing residuals.

BIPSO-based algorithm for Parameter Identification

The suboptimal solution xAMLM derived from the AMLM algorithm serves as the central reference for generating the initial population in the BIPSO algorithm. This set comprises N individuals, each characterized by dim dimensions. The initial position of each individual is determined as follows:

$$x(i,j) = x_{AMLM} (i,j) + (ub(j) - lb(j)) \cdot (2 \cdot rand - 1),\quad i = 1, \, 2, \, \ldots ,N.j = 1, \, 2, \, \ldots ,\dim$$
(14)

Here, x(i,j) denotes the position of the i-th individual in the j-th dimension. ub(j) and lb(j) represent the upper and lower deviation limits for the i-th individual along the j-th dimension, respectively. rand(·) generates random values within the interval [0,1]. Specifically, the translation-related errors (e.g., Δa, Δd) are assigned a range of ± 1 mm, and the rotation-related errors (e.g., Δθ, Δα) are bounded by ± 1°. These constraints ensure that the initial population remains within a physically plausible domain, while also providing sufficient diversity to allow global exploration.

Compute the fitness function for each particle:

$$fit_{i} = f(x(i,:))$$
(15)

where f(·) is the objective function in section “Kinematic and error models of robot”.

Update each particle’s personal best:

$$P_{k} (i,:) = \left\{ {\begin{array}{*{20}l} {x_{k} (i,:),} \hfill & {f(x_{k} (i,:)) < f(P_{k} (i,:))} \hfill \\ {P_{k} (i,:),} \hfill & {otherwise} \hfill \\ \end{array} } \right.$$
(16)

Update the global best:

$$G_{k} \leftarrow \arg \min f(P_{k} )$$
(17)

Update velocity and position using the standard PSO equations:

$$\begin{aligned} & V_{k + 1} (i,:) = \omega V_{k} (i,:) + c_{1} r_{1} (P_{k} (i,:) - x_{k} (i,:)) + c_{2} r_{2} (G_{k} - x_{k} (i,:)) \\ & x_{k + 1} (i,:) = x_{k} (i,:) + V_{k + 1} (i,:) \\ \end{aligned}$$
(18)

where ω represents inertia weight. c1-individual learning factor, c2-social learning factor. r1, r2 ~ U(0,1) are random values.

Define the interpolation points: Use the updated particle positions Xk+1 as the knots (i.e., the curve must pass through these points).

$$Pt_{j} = \{ x_{k + 1} (1,j),x_{k + 1} (2,j), \ldots ,x_{k + 1} (N,j)\}$$
(19)

Compute the Euclidean distance between consecutive points:

$$d_{j} = \left\| {x(i + 1,j) - x(i,j)} \right\|$$
(20)

Compute the cumulative chord length:

$$t_{i} = \sum\limits_{m = 1}^{i} {d_{m - 1} } ,t_{0} = 0$$
(21)

Normalize the parameters to the range [0,1]:

$$t_{i} = \frac{{t_{i} - t_{0} }}{{t_{N - 1} - t_{0} }},i = 0,1, \ldots ,N - 1$$
(22)

where tN-1 is the total accumulated chord length.

As the B-spline curve is required to pass through all given points, it is necessary to determine the control points Cm such that:

$$x(i,j) = S_{j} (t_{i} ),i = 0,1, \ldots ,N - 1$$
(23)

where the B-spline curve is represented as:

$$S_{j} (t_{i} ) = \sum\limits_{b = 0}^{N - 1} {N_{b,o} (t)} C_{b}$$
(24)

where Cm are the unknown control points. Nd,o(t) are the B-spline basis functions of degree o, defined recursively:

$$\begin{aligned} & N_{m,0} (t) = \left\{ {\begin{array}{*{20}l} {1,} \hfill & {t_{m} \le t \le t_{m + 1} } \hfill \\ {0,} \hfill & {otherwise} \hfill \\ \end{array} } \right. \\ & N_{m,o} (t) = \frac{{t - t_{m} }}{{t_{m + o} - t_{m} }}N_{m,k - 1} (t) + \frac{{t_{m + o + 1} - t}}{{t_{m + o + 1} - t_{m + 1} }}N_{m + 1,o - 1} (t) \\ \end{aligned}$$
(25)

The key equation to solve is:

$$AC = Pt$$
(26)

where A is the B-spline basis function matrix evaluated at ti. C is the vector of control points. Pt is the vector of given data points.

After solving for the control points Cm, M new interpolated points can be computed:

$$X_{{{\text{int}} erp}} (m,j) = \sum\limits_{b = 0}^{N - 1} {N_{b,o} (t_{m} )} C_{b} ,m = 1,2, \ldots ,M$$
(27)

where tm is evenly spaced interpolation parameters in the range of the knot vector. M is the number of interpolated points.

This results in M interpolated candidate solutions, enhancing the exploration capability of the PSO algorithm. Compute the fitness function for each interpolated point:

$$fit_{ - } {\text{int}} erp = f(x_{{{\text{int}} erp}} )$$
(28)

Sort the fitness values in ascending order and assign the top N values to xk+1:

$$[\sim ,indices] = sort(fit\_{\text{int}} erp,{\text{`}}ascend{\text{'}})$$
(29)
$$x_{k + 1} = x_{{{\text{int}} erp}} (indices(1:N),:)$$
(30)

Assign the minimum fitness value to Gbest:

$$G_{best} = x_{{{\text{int}} erp}} (indices(1),:)$$
(31)

where Gbest represents the final optimization result of BIPSO, which is the ultimate identified geometric parameter error of the robot.

In general, the AMLM-BIPSO algorithm enhances robot geometric parameter error identification by integrating the advantages of AMLM and BIPSO. AMLM improves local search efficiency by dynamically adjusting update corrections, mitigating overshooting and oscillations, thereby enhancing convergence stability and accuracy. Meanwhile, BIPSO reconstructs the population distribution using B-spline interpolation, ensuring continuity in the search space and enhancing global exploration capabilities. The cascading of AMLM and BIPSO effectively balances local refinement and global optimization, achieving high-precision identification of geometric parameter errors while accelerating convergence and improving overall robustness.

Table 3 outlines the detailed design of the proposed algorithm. Here, K1 and K2 represent the maximum iteration rounds for the AMLM and BIPSO algorithms, respectively. N denotes the number of sampling points, while x corresponds to the deviations in kinematic parameters. The complete initialization process and parameter settings, including particle count, node count, and learning coefficients, are provided in the pseudocode in Table 3.

Table 3 The pseudocode of the AMLM-BIPSO algorithm.

Experimental verifications

Experiment conditions

The experimental setup comprises an ABB IRB120 industrial robotic arm, which offers a repeat positioning accuracy of 0.01 mm, along with a drawstring displacement sensor featuring a resolution of 0.004 mm. Additionally, a PC and a drawstring displacement indicator are utilized, as illustrated in Fig. 2. Furthermore, the specific performance parameters of the primary equipment used in the experiment are publicly accessible in references21.

Fig. 2
Fig. 2
Full size image

Experimental system. (a) Experimental hardware; (b) Data collection software interface.

To ensure comprehensive coverage of the tested robot arm’s workspace, sampling points are strategically selected. A total of 1042 points are manually taught throughout the robot’s entire workspace, after which the sampling points are measured using a drawstring displacement sensor. A drawstring displacement indicator is employed to display the cable length while simultaneously recording the end-effector’s position coordinates, joint angle, and corresponding cable length, with the data stored on a PC. Upon completing the data acquisition process, a calibration system is applied to the collected dataset to determine the optimal kinematic parameters.

The primary focus of this study is the accuracy of robot calibration, which serves as a direct indicator of the calibrator’s effectiveness in precisely adjusting the robot19,20. To assess calibration performance, root mean square error (RMSE), standard deviation (STD), and maximum error (MAX) are utilized as key evaluation criteria:

$$\begin{aligned} & MAX = \mathop {\max }\limits_{1 \le i \le n} \left\{ {\sqrt {(L_{i} - L_{i}^{ * } )^{2} } } \right\} \\ & STD = \frac{1}{n}\sum\limits_{i = 1}^{n} {\sqrt {(L_{i} - L_{i}^{ * } )^{2} } } \\ & RMSE = \sqrt {\frac{1}{n}\sum\limits_{i = 1}^{n} {(L_{i} - L_{i}^{ * } )^{2} } } \\ \end{aligned}$$
(32)

To demonstrate the advantages of the proposed algorithm, a comparative analysis is conducted against several cutting-edge algorithms, as presented in Table 4. For models M1 to M9, each dataset consists of six joint angles and the measured distance from the robot end-effector to a fixed target point. From each dataset, 120 samples are randomly selected under a uniform distribution to create a test case, and this process is repeated ten times to generate ten distinct cases, minimizing potential data bias. Each test case follows an 80%-20% split for training and validation to assess model performance. The results, including mean values and standard deviations for each model, are systematically recorded to ensure objective reporting. For each model in every test case, training terminates when the objective function’s reduction between consecutive iterations falls below 0.001 or when the iteration count surpasses 60. For the cascade method, the former iteration runs 30 times, followed by the latter iteration running 30 times.

Table 4 Comparative study of algorithms.

All experimental results reported in Section “Experimental verifications” are obtained using the exact algorithmic parameters detailed in Sections “AMLM-based initial calibration” and “Stability analysis of the AMLM update strategy”. As shown in the pseudocode of Table 3, the AMLM module employs an adaptive decay parameter α = 0.6 and maximum momentum coefficient γmax = 0.95. The stopping condition is defined by a convergence threshold of 30 iterations per stage. For BIPSO, the number of particles is set to100, and the B-spline interpolation involves 100 control nodes. The initial population is centered around the AMLM output (as per Eq. 14), with bounds of ± 1 mm for translational parameters and ± 1° for angular parameters. These settings, explicitly stated in Table 3, are consistently applied throughout all test cases, ensuring transparency, reproducibility, and a fair basis for performance comparison.

In practical robot calibration, actuator limitations—such as joint motion range, torque saturation, and mechanical tolerances—play an important role in determining the feasibility of optimization results. In implementation, the optimization process explicitly incorporated parameter bound constraints based on physical actuator capabilities and manufacturer specifications. Specifically, the geometric parameter deviations were constrained within ± 5 mm for translational components and ± 8° for rotational parameters, ensuring the identified D-H deviations remain within realistic and executable bounds. These constraints not only preserve mechanical safety and avoid joint singularities, but also reflect real-world tolerances due to assembly and machining errors. By embedding these bounds into the search space of those algorithms, so the calibration remains applicable to real industrial settings. Future work will explore the integration of full actuator models, such as joint velocity and acceleration constraints, to further improve robustness in dynamic or online calibration tasks.

The proposed AMLM-BIPSO algorithm (M9) is constructed by cascading two enhanced components: an a AMLM algorithm and a BIPSO. To evaluate the effectiveness of this two-stage framework, the following comparative setup is designed: Single-algorithm baselines: M1 (EKF), M2 (LM), and M3 (PSO) represent classical filter-, gradient-, and swarm-based methods, respectively. Single enhancements: M7 and M8 are the respective improvements of M2 and M3. M7 is the AMLM method, while M8 is the BIPSO method. Cascade-based benchmarks: M4, M5, and M6 are recent hybrid methods combining filtering and optimization techniques, representing typical multi-stage calibration frameworks. Proposed method: M9 integrates AMLM and BIPSO into a unified cascade, enabling joint refinement of local precision and global search. The comparisons between M9 and M1–M3 highlight the advantage of the proposed enhancements; comparisons with M4–M6 assess the performance relative to other cascade frameworks; and comparisons with M7 and M8 evaluate the added value of cascading over individual enhancements.

Performance assessment alongside advanced contemporary methods

The experiment evaluates the performance of the proposed method in comparison with state-of-the-art approaches. Table 5 presents the kinematic parameters calibrated using AMLM-BIPSO, while Table 6 summarizes the calibration results and computation times for methods M1–M9. Table 7 presents the Wilcoxon signed-ranks test on iteration. Figures 3 and 5 illustrate the accuracy of the compared methods post-calibration. Specifically, Fig. 3 examines calibration accuracy and total computation time across different approaches, Fig. 4 visualizes the training progress of various calibration methods, and Fig. 5 depicts the residual position errors after applying different calibration techniques. The key findings derived from the experimental results are summarized as follows:

  1. (a)

    The AMLM-BIPSO method, denoted as M9, demonstrates a significant improvement in calibration accuracy. After calibration, the RMSE, Std, and Max of M9 are reduced to 0.332, 0.272, and 0.840, respectively, compared to their pre-calibration values of 2.177, 2.006, and 3.99. This corresponds to accuracy improvements of 84.75%, 86.44%, and 78.95%, respectively. These substantial enhancements indicate the high effectiveness of the AMLM-BIPSO method in error suppression and accuracy optimization, providing a robust technical foundation for the geometric parameter calibration of robotic systems.

  2. (b)

    Among the evaluated methods (M1–M8), M9 demonstrates the highest accuracy in robot calibration. As presented in Table 6 and Fig. 3, M9 achieves an RMSE of 0.332, a Std of 0.272, and a Max of 0.840. Compared to the most accurate alternative, M7, which has an RMSE of 0.372, a Std of 0.306, and a Max of 0.911, M9 improves accuracy by 10.75%, 11.11%, and 7.79%, respectively. These findings underscore the effectiveness of the proposed method in improving robot calibration accuracy. Statistical significance analysis. To further validate the observed performance improvements, The Wilcoxon signed-rank test was conducted between the proposed AMLM-BIPSO method (M9) and each of the baseline methods (M1–M8), based on the RMSE results across ten test cases. As shown in Table 7, all comparisons yielded p-values less than 0.05, indicating that the improvements achieved by M9 are statistically significant. These results confirm the robustness of the proposed method in enhancing calibration accuracy.

    Fig. 3
    Fig. 3
    Full size image

    Evaluation of calibration accuracy and total time cost across different approaches. (a) RMSE; (b) Std; (c) Max; (d) Time.

  3. (c)

    As shown in Table 6 and Fig. 3, M9, the proposed AMLM-BIPSO cascade method, demonstrates better computational efficiency than M3 (140.216), M5 (120.643), and M8 (160.258), while being slightly less efficient than M1 (89.635), M2 (87.512), M4 (92.147), M6 (106.215), and M7 (92.156). The lower time cost of M1 and M2 suggests that single methods can be computationally lightweight, whereas the significantly higher costs of M3 and M8 indicate that some single methods impose a substantial computational burden. Among cascade methods, M9 achieves comparable efficiency to M4 and M6 but performs better than M5. These results suggest that although the proposed M9 method incurs a moderate increase in computation time due to its cascaded structure, this increase is significantly lower than that of other single methods such as M3 and M8. More importantly, the time cost of M9 remains comparable to that of other cascaded methods (M4–M6), while delivering superior accuracy and convergence speed. This indicates that the trade-off between computational efficiency and calibration precision is well-balanced in the proposed AMLM-BIPSO algorithm.

  4. (d)

    M9 exhibits a significantly higher convergence efficiency compared to other calibration approaches. As shown in Fig. 4, the RMSE-position error of M9 decreases rapidly within the first few iterations and stabilizes at a lower error level than the other methods. In contrast, single methods such as M1, M2, M3, M7, and M8 exhibit slower convergence rates and higher final errors, indicating their limited calibration effectiveness. Among the cascade methods (M4, M5, and M6), M9 still achieves faster convergence and lower final RMSE, demonstrating its superior optimization capability. These results highlight the effectiveness of M9 in improving calibration accuracy while maintaining high convergence efficiency. Figure 4 illustrates the training progress of various calibration methods in terms of RMSE over iterations. From a dynamic system perspective, this curve reflects the transient behavior of the optimization process. For the proposed M9, the RMSE decreases rapidly in the initial iterations and stabilizes after approximately 15 iterations, indicating a settling time of around 15 steps. Additionally, the curve exhibits a low overshoot, as the RMSE consistently decreases without significant fluctuations above the final steady-state error. In contrast, some baseline methods (e.g., M2 and M8) display longer settling times and noticeable oscillations, suggesting less stable convergence behavior. This analysis confirms that the proposed method achieves fast and stable convergence, which is critical for efficient and reliable robot calibration.

    Fig. 4
    Fig. 4
    Full size image

    Training progress of various calibration approaches.

  5. (e)

    To ensure accurate robot calibration, M9 is employed for kinematic parameter identification, with the results presented in Table 5. Additionally, 120 measurement points are collected from an ABB IRB120 industrial robot. After completing the calibration process, a comparative analysis of the calibration outcomes for different methods is conducted, as illustrated in Fig. 5. The results indicate a significant reduction in robot positioning error post-calibration. Among all methods (M1–M8), M9 achieves the highest calibration accuracy, demonstrating the effectiveness of the proposed approach.

  6. (f)

    As shown in Table 6 and Figs. 3, 4, and 5, M7 (AMLM), an improved version of M2 (LM), demonstrates notable enhancements in both calibration accuracy and convergence efficiency through the introduction of adaptive momentum. By incorporating this mechanism, M7 effectively accelerates convergence while reducing calibration errors compared to M2. The results indicate that M7 achieves a lower RMSE and faster error reduction, particularly in the early iterations, highlighting its improved optimization capability. These findings confirm that the integration of adaptive momentum into the LM algorithm enhances its performance, making M7 a more effective calibration approach.

  7. (g)

    As shown in Table 6 and Figs. 3, 4, and 5, M8 (BIPSO) is an improved version of M3 (PSO), incorporating B-spline interpolation, inspired by the KAN Neural Network, to enhance population distribution reconstruction. This modification improves the search capability by ensuring continuity in the fitness landscape, thereby reducing dependence on discrete particle positions. As a result, M8 achieves higher calibration accuracy and a faster convergence rate compared to M3. However, the introduction of interpolation necessitates additional particle computations, leading to an increased time cost. Despite this trade-off, the enhanced optimization performance of M8 demonstrates the effectiveness of integrating B-spline interpolation into the PSO framework for improved robot calibration.

  8. (h)

    M9, a cascade of M7 (AMLM) and M8 (BIPSO), achieves superior calibration accuracy and faster convergence than either method alone. As shown in Table 6 and Figs. 3, 4, and 5, M9 leverages the adaptive momentum of M7 and the B-spline interpolation of M8, further enhancing both accuracy and convergence efficiency. However, the increased computational complexity results in a higher time cost. Despite this, the improved calibration precision and efficiency demonstrate the effectiveness of M9 in high-precision robot calibration.

Table 5 Kinematic parameters of the robot after AMLM-BIPSO-based calibration.
Table 6 Calibration performance and total execution time of M1–M9.
Table 7 The Wilcoxon signed-rank test results.
Fig. 5
Fig. 5
Full size image

Residual position errors following different calibration approaches.

Discussion on potential error sources

Although the proposed AMLM-BIPSO algorithm demonstrates a high correlation between experimental calibration results and theoretical predictions, several potential sources of error may still affect the final accuracy. First, the mechanical wear and thermal deformation of the robot joints may cause time-dependent variations in the kinematic structure, which are not fully captured during static calibration. Second, sensor noise and resolution limits—particularly from the drawstring displacement sensor—introduce measurement uncertainty that propagates through the identification process. Third, manual teaching errors in the data collection phase can introduce initial pose deviations, potentially affecting the reliability of the training dataset. Lastly, modeling assumptions such as small-angle approximations and neglecting dynamic effects (e.g., inertial, or frictional forces) may also contribute to residual discrepancies. Despite these sources of error, the proposed method exhibits strong robustness and calibration precision, as evidenced by significant improvements in RMSE, STD, and MAX error metrics. Future work may consider incorporating dynamic modeling or real-time feedback to further mitigate these uncertainties.

Conclusion

This paper proposes an AMLM-BIPSO algorithm for robot calibration. Standard calibration experiments validate its effectiveness. The key conclusions are summarized as follows:

  1. 1.

    AMLM improves calibration accuracy and convergence speed. By introducing adaptive momentum into the traditional LM algorithm, AMLM considers historical update steps to dynamically adjust the optimization direction. This enhancement effectively suppresses overshooting, accelerates convergence, and improves the accuracy of robotic parameter identification.

  2. 2.

    BIPSO enhances search capability and calibration performance. By incorporating B-spline interpolation into the standard PSO algorithm, BIPSO reconstructs the population distribution, ensuring continuity in the fitness landscape and reducing reliance on discrete particle positions. This modification significantly increases calibration accuracy and convergence efficiency.

  3. 3.

    The AMLM-BIPSO cascade further improves calibration precision and convergence. By combining AMLM’s fast convergence with BIPSO’s enhanced global search capability, the proposed cascade method achieves superior calibration performance. Compared to state-of-the-art methods, AMLM-BIPSO improves calibration accuracy by 10.75%, 11.11%, and 7.79% in RMSE, Std, and Max error reduction, respectively.

In conclusion, AMLM-BIPSO effectively enhances robot calibration accuracy and efficiency, making it a promising solution for high-precision robotic applications. Although the proposed AMLM-BIPSO algorithm is experimentally validated on an ABB IRB120 6-DOF serial industrial robot, its structure is not specific to this platform. The method relies solely on the forward kinematic model and D-H parameterization, which are commonly used in most serial manipulators. Therefore, the proposed approach can be generalized to other industrial robots with similar serial kinematic chains, provided that: (1) the robot follows the D-H convention; (2) geometric errors are the dominant contributors to positioning inaccuracy; and (3) enough end-effector measurements can be obtained for parameter identification. In systems with different configurations (e.g., SCARA, parallel robots), the modeling framework may need to be adapted, but the two-stage optimization structure remains applicable.