Skip to content

Original Research

Frontiers in Robotics and AI ·

Volume 13 - 2026 | https://doi.org/10.3389/frobt.2026.1923729

Sensorless variable impedance control of robot joints with 3K gear reducers based on hybrid dynamics model and meta-policy optimization

  • Jiyu Sun1
  • Xiaoshan Gao1,2*corresponding author
  • Liang Yan1,2,3*corresponding author
  1. 1The School of Automation Science and Electrical Engineering, Beihang University, Beijing, China
  2. 2The Ningbo Institute of Technology, Beihang University, Ningbo, China
  3. 3Tianmushan Laboratory, Hangzhou, China
Article metrics0 viewsView details

Abstract

Achieving both high-precision trajectory tracking and compliant physical interaction in collaborative robot joints equipped with 3K planetary gear reducers remains challenging under torque-sensorless conditions. This paper proposes a physics-informed data-driven joint dynamics modeling method and an associated meta-policy-optimized adaptive variable impedance control scheme to address this limitation. First, a hybrid dynamics model combining lumped rigid-body dynamics with a Multilayer Perceptron (MLP) for residual loss estimation is established. By incorporating power-flow direction features, the network identifies and predicts the time-varying transmission efficiency and nonlinear friction losses of the 3K reducer across motoring and generating quadrants. Second, a model-based feedforward torque compensation scheme is designed, and a variable-gain generalized momentum observer is developed to achieve stable estimation of external interaction torques. Building upon this, a force-responsive variable-stiffness impedance control law is formulated, and a proximal policy optimization (PPO) algorithm is employed within a contextual reinforcement learning architecture to search for optimal high-level meta-parameters, enabling adaptive adjustment of impedance parameters. Multi-condition dynamic interaction simulations demonstrate that the proposed hybrid modeling approach achieves a 40% improvement in joint torque prediction accuracy compared to the conventional momentum disturbance observer (MDOB) baseline. Furthermore, the adaptive variable stiffness control law actively adjusts the joint stiffness in response to estimated external forces, satisfying the dual requirements of high-precision tracking in free space and high compliance in contact space.

Keywords

1 Introduction

Collaborative robots (cobots), composed of modular joints and links, have attracted considerable attention owing to their lightweight design, inherent safety features, and capacity to facilitate physical human–robot interaction (pHRI) (Sadrfaridpour and Wang, 2018; Vicentini, 2020; Keshvarparast et al., 2024). In pHRI scenarios, robot compliance is of paramount importance (Schumacher et al., 2019). To achieve highly compliant and safe interaction while mitigating collision risks, force control (Petrea et al., 2021; Dehio et al., 2022) and impedance control (Zhang and Xia, 2019; Yang et al., 2022; Laubscher and Sawicki, 2021) have been widely adopted to modulate the dynamic relationship between the robot and its environment. As the actuation source of cobots, the accuracy of joint-level impedance control directly determines the overall interaction performance of the manipulator (Azocar and Rouse, 2022; Zheng et al., 2021; Calanca et al., 2016). However, due to the torsional flexibility introduced by mechanical transmissions, nonlinear friction effects, and both internal and external disturbances, achieving high-performance joint compliance control remains a persistent challenge.

In recent years, substantial research efforts have been devoted to enhancing joint compliance. Albu-Schäffer et al. (Albu-Schäffer et al., 2004; Ott et al., 2004; Albu-Schäffer et al., 2007) proposed a full-state feedback controller utilizing both torque and position feedback, and employed motor inertia shaping to reduce the influence of friction. To further compensate for nonlinear disturbances, approaches such as model-free friction observers (Kim et al., 2019), low-pass-filter-based friction compensation (Tien et al., 2008), and dual-disturbance-observer-based admittance control (Wan et al., 2023) have been successively proposed. In addition, considering mechanical losses in the transmission chain, several studies have established detailed dynamic models of harmonic drive gears to capture their nonlinear behavior (Wolf and Iskandar, 2018; Yan et al., 2022). However, these purely physics-based analytical models often struggle to accurately capture the time-varying dynamic losses that evolve with operating conditions such as load, speed, and temperature. Furthermore, harmonic and RV reducers, which are commonly employed in conventional cobots, suffer from poor bidirectional transmission efficiency (Lopez Garcia et al., 2020; Zhang et al., 2023); when back-driven by external contact forces, they are prone to impedance behavior degradation, making them ill-suited for applications demanding high-transparency interaction. Consequently, 3K planetary gear transmissions, which combine a high reduction ratio with superior bidirectional efficiency, have emerged as a promising hardware alternative (Du et al., 2024).

For the control of 3K gear-driven joints, existing works have made progress but still exhibit limitations. (Dai et al., 2025) proposed an adaptive robust torque control (ARTC) scheme based on multiple torque sensors, which achieves high-precision torque tracking but at the cost of redundant physical sensors in series. (Liu et al., 2025) developed an efficiency-based accurate modeling method; however, the computation of equivalent efficiency still relies on real-time torque sensor feedback, thus failing to realize fully sensorless operation. (Zhang et al., 2024) proposed a dynamic model considering forward and backward transmission efficiencies to achieve compliant control of 3K joints, but their approach adopts a steady-state equilibrium assumption and neglects the inertial torque on the link side, precluding real-time observation of external torques and rendering the compliant performance inadequate for complex dynamic interaction tasks. Moreover, the aforementioned analytical models generally struggle to accurately capture the load-dependent nonlinear losses, and they lack a variable impedance adaptation mechanism for unknown physical interaction tasks.

To address the above limitations, this paper proposes a torque-sensorless adaptive variable impedance control scheme designed for 3K gear-driven robot joints. The main contributions of this work are as follows:

  • Hybrid dynamics modeling combining physics priors and a multilayer perceptron (MLP) for residual loss estimation: A hybrid modeling framework is proposed to address the nonlinear friction and time-varying transmission efficiency of 3K reducers that are difficult to capture analytically. The framework employs a lumped rigid-body model to preserve the fundamental inertial dynamics, while a multilayer perceptron implicitly approximates the nonlinear dissipation. This approach effectively circumvents complex parameter identification procedures and significantly improves joint torque estimation accuracy under the sensorless configuration.
  • Hybrid model-based feedforward compensation and generalized momentum observer (GMOB) for external force estimation: Feedforward torque compensation is introduced to reduce the disturbance rejection burden of the feedback controller. Meanwhile, by replacing the high-frequency-noise-sensitive angular acceleration computation with integration of the system momentum, accurate and stable estimation of external interaction torques is achieved.
  • Adaptive variable impedance control strategy based on meta-policy optimization: To overcome the limitation that fixed impedance parameters cannot simultaneously satisfy trajectory tracking precision and compliant interaction performance, a variable stiffness impedance control law based on the amplitude envelope of the estimated external torque is designed. The proximal policy optimization (PPO) algorithm is employed to search for optimal impedance meta-parameters within the physics-informed data-driven simulation environment, while the target damping term is dynamically coupled online, ensuring smoothness and stability during interaction.

The remainder of this paper is organized as follows. Section 2 establishes the hybrid joint dynamics model based on physics priors and residual compensation. Section 3 details the controller design, including model-based feedforward torque compensation, momentum observer for external torque estimation, and the meta-policy-optimized variable impedance control scheme. Section 4 validates the effectiveness of the proposed control scheme through simulation studies. Section 5 concludes the paper.

2 Driven joint dynamics modeling

For a joint module equipped with a 3K planetary gear reducer, the complex internal gear meshing causes the transmission efficiency to exhibit pronounced nonlinear characteristics that vary significantly with load, speed, and temperature (Wolf and Iskandar, 2018; Lopez Garcia et al., 2020). The conventional double-inertia flexible joint model requires an additional link-side absolute encoder (Albu-Schäffer et al., 2007), which complicates the mechanical co-design and increases cost. To address the problem of high-precision torque observation under sensorless conditions, this paper proposes a hybrid modeling framework that combines lumped dynamics with multilayer perceptron. The mechanical structure of a single joint and the joint drive system are illustrated in Figures 1, 2, respectively.

Mechanical structure of the single joint (Zhang et al., 2024).
Figure 1. Mechanical structure of the single joint (Zhang et al., 2024).
Diagram of the joint drive system.
Figure 2. Diagram of the joint drive system.

Assuming the motor rotor and the link are rigidly connected and neglecting minor elastic deformations, the lumped dynamic equation on the joint side can be expressed as Equation 1:where J nom denotes the lumped nominal inertia of the motor and link reflected to the joint side; q ̈ is the joint angular acceleration; τ m is the motor torque; τ ext is the external interaction torque; and τ fric ( q ̇ ) represents the nonlinear frictional resistance within the system.

J nom q ̈ + τ fric q ̇ + τ ext = τ m , (1)

In actual physical transmission, the torque command issued by the servo cannot be fully converted into effective torque for driving the link or resisting external forces. There exist nonlinear losses caused by reducer hysteresis, nonlinear friction, and four-quadrant variable efficiency. In this work, these losses are collectively defined as the lumped torque loss τ loss and are fitted using the multilayer perceptron. The Multi-Layer Perceptron network structure is illustrated in Figure 3. The true torque balance of the system is given by Equation 2:where τ cmd is the control torque command applied to the servo drive, and the lumped torque loss term is predicted by the multilayer perceptron M ψ as Equation 3:where M ψ is a multilayer perceptron. The inputs include the joint velocity q ̇, the estimated load torque τ load, and the power-flow direction sign ( τ load ⋅ q ̇ ). The network adopts a conventional fully connected feedforward architecture ( 3 → 64 → 32 → 1 ) with the hyperbolic tangent (tanh) activation function, ensuring first-order continuity of the torque compensation gradient in the control space.

J nom q ̈ = τ cmd − τ loss − τ ext , (2)

τ loss = M ψ q ̇ , τ load , sign τ load ⋅ q ̇ , (3)

Multi-Layer Perceptron (MLP) network structure.
Figure 3. Multi-Layer Perceptron (MLP) network structure.

A key improvement lies in the design of the input feature vector x = [ q ̇ , τ cmd , sign p ] T, in particular the introduction of a power-flow-based continuous feature operator sign p = tanh τ cmd ⋅ q ̇ ε (with ε = 0.05 as the boundary layer smoothing parameter). As a physics-informed feature engineering approach, this operator exploits the physical significance of mechanical power polarity, enabling the network to identify and decouple the motoring and generating operating regimes of the system. This reduces network parameter overhead and improves cross-quadrant fitting efficiency, thereby achieving effective prediction for the asymmetric transmission characteristics of the 3K reducer.

During the offline training phase, to simulate high-fidelity complex joint characteristics, Stribeck friction and a four-quadrant efficiency model are explicitly employed in the underlying physics environment to generate ground-truth loss values for training the network. The network is supervised using the true lumped loss torque collected under time-series operating conditions, as defined in Equation 4:where τ fric is the Stribeck dynamic friction torque, and τ eff is the theoretical effective electromagnetic torque calculated in the offline simulation environment based on the transmission efficiency model of the 3K reducer; in physical experiments, these offline dynamic loss terms can be directly substituted by the joint torque τ sensor measured by a torque sensor.

τ loss_true = τ cmd − τ eff + τ fric , (4)

Parameter optimization is performed based on the mean squared error (MSE) loss function in Equation 5:

L ψ = 1 N ∑ k = 1 N M ψ x k − τ loss_true , k 2 . (5)

To enhance the regressor’s generalization against thermal drifts and lubrication degradation, the training dataset is synthetically generated under a domain randomization (DR) scheme. Specifically, 100 frequency-swept excitation trajectories (0.1 ∼ 1.5 Hz for velocity and torque commands) are executed at a sampling rate of 1000 Hz while uniformly randomizing key joint parameters—including Coulomb/static friction ( F c , F s ), viscous damping ( σ 2 ), Stribeck velocity ( v s ), and four-quadrant efficiencies ( η nom )—within their bounded operational domains. This process yields 500,000 continuous time-series samples, which are subsequently split into an 80% training set and a 20% validation set. Regarding network architecture, hyperbolic tangent ( tanh ) activation functions are employed in the hidden layers instead of SiLU or ReLU to provide inherent mathematical saturation against anomalous transient impacts and to ensure a bias-free, odd-symmetric approximation of Coulomb friction reversals. The training converges stably across five independent random seeds (42, 123, 456, 789, 1024), and all hyperparameter configurations for the MLP regressor are summarized in Table 1.

TABLE 1. MLP training hyperparameter configuration.

MLP training hyperparameter/ItemValue/Description
Optimizer and Learning RateAdam, lr = 1 × 1 0 − 3 with exponential decay
Batch Size and Epochs1024, 1200 epochs
Activation FunctionHyperbolic tangent ( tanh )

Once the offline training phase is completed, the network parameters are frozen, and the model is deployed directly to the low-level joint servo control loop for online real-time feedforward compensation and joint torque estimation, operating without any gradient backpropagation or online parameter refinement within the control loop.

3 Controller design

3.1 Model-based feedforward torque compensation

The core objective of feedforward control is to compute the theoretical torque that the motor should provide, based on the desired trajectory, to counteract the system’s intrinsic dynamics and external disturbances, thereby achieving high-precision trajectory tracking. The feedforward torque is decomposed into a rigid-body dynamics feedforward term based on the analytical nominal dynamic equations, and a residual compensation feedforward term based on the MLP-approximated nonlinear friction and efficiency losses.

In the ideal feedforward control law design, it is assumed that the actual trajectory equals the desired trajectory. Feedforward primarily handles the self-dynamics, and unknown external interaction torques are temporarily not considered (external forces are handled by the feedback term). Under this assumption, the nominal rigid-body dynamics feedforward torque is defined as Equation 6:

τ rb = J nom q ̈ d . (6)

Furthermore, to eliminate the losses arising from nonlinear friction and time-varying transmission efficiency of the 3K reducer, the offline-trained MLP is utilized to approximate the residual compensation feedforward torque. Since the equivalent internal load on the joint side cannot be directly measured during online operation, this paper adopts the sum of the nominal rigid-body feedforward torque and the external torque estimated by the momentum observer as an approximation of the joint internal load in Equation 7:

τ ̃ load = τ rb + τ obs . (7)

Thus, the residual compensation feedforward torque is expressed as Equation 8:where q ̇ d is the desired velocity; τ ̃ load is the approximate load torque; and sign ( τ ̃ load ( t ) ⋅ q ̇ d ( t ) ) is the power-flow direction.

τ loss pred = M ψ q ̇ d t , τ ̃ load t , sign τ ̃ load t ⋅ q ̇ d t , (8)

The resultant feedforward torque is calculated by Equation 9:

τ ff = τ rb + τ loss pred . (9)

3.2 Variable-gain momentum observer for external force estimation

To realize external torque perception under sensorless conditions that rely solely on motor-side state feedback, this paper constructs an adaptive variable-gain generalized momentum observer (Ruder et al., 2014; De Luca et al., 2006). By integrating momentum, the observer avoids the computation of angular acceleration terms that are sensitive to high-frequency noise. The nominal generalized momentum of the joint is defined as Equation 10:

p = J nom q ̇ . (10)

Differentiating the momentum with respect to time and substituting the dynamic equation yields (Equation 11):

p ̇ = J nom q ̈ = τ cmd − τ loss − τ ext . (11)

By substituting the MLP-approximated lumped loss term, the effective joint driving torque is expressed as Equation 12:

τ j = τ cmd − τ loss_pred . (12)

The dynamic equation for the estimated external interaction torque r ( t ) (the observer output) is defined as Equation 13:where k obs ( t ) is the time-varying observer gain, which determines the convergence rate of the observer, p ( 0 ) is the initial momentum, and r ( t ) = τ ̂ ext ( t ) represents the estimated external interaction torque.

r t = k obs t p t − ∫ 0 t τ j s + r s d s − p 0 , (13)

Taking the derivative of both sides and substituting the momentum derivative equation yields (Equation 14):

r ̇ t = k obs t p ̇ t − τ j t − r t = k obs t τ ext t − r t . (14)

Under the quasi-static assumption for transient interactions, the time-varying gain can be approximated as a constant baseline K o. Performing the Laplace transform on the equation yields (Equation 15):

R s = K o s + K o T ext s . (15)

This indicates that the output of the momentum observer is essentially the external torque filtered through a first-order low-pass filter.

To maintain a low observation bandwidth during quasi-static operation for filtering background noise, while widening the observation bandwidth during dynamic interactions to improve the response speed of external force tracking and achieve dynamically stable estimation of diverse external interaction torques, a variable-gain adaptive law is designed as Equation 16:where K BASE = 20 (approx. 3.18 Hz) is the baseline low-frequency gain to cover the dominant frequency band of physical human–robot interactions (typically below 2 Hz) while attenuating the high-frequency quantization noise induced by encoder numerical differentiation; Λ GAIN = 1.2 is the adaptive amplification factor; and K MAX_OBS = 200 (approx. 31.8 Hz) is matched with the transient spectrum of rigid collisions (typically within 10 ∼ 30 Hz), ensuring sufficient dynamic bandwidth to capture impact torques. The input variable τ ̇ filtered is the rate-of-change obtained after differencing the estimated external interaction torque, applying dead-zone suppression, and passing through a first-order low-pass filter; I THRESH = 40 Nm/s is the threshold constant that distinguishes steady-state tracking from external force interaction.

k obs t = K BASE , | τ ̇ filtered | ≤ I THRESH min K BASE + Λ GAIN ⋅ | τ ̇ filtered | , K MAX_OBS , | τ ̇ filtered | > I THRESH , (16)

3.3 Adaptive variable impedance control based on meta-policy optimization

After establishing a hybrid dynamics model of the joint, a simulation environment is obtained that can accurately predict the system response under control torque commands and external interaction torques. Based on this environment, this section proposes a meta-policy optimization method based on reinforcement learning (PPO), aimed at resolving the conflict in which fixed impedance parameters cannot simultaneously satisfy “high-precision tracking in free space” and “high compliance in contact space.”

The impedance model is defined as Equation 17:where e = q d − q is the position tracking error, M d is the desired inertia, K p ( t ) denotes the time-varying joint stiffness, B d ( t ) represents the dynamically coupled damping coefficient, and τ obs ( t ) is the observed external interaction torque.

M d e ̈ + B d t e ̇ + K p t e = τ obs t , (17)

To realize the characteristic of “high stiffness in the absence of external forces, high compliance in the presence of external forces,” a variable stiffness control law based on external force perception is designed. To ensure continuity and smoothness of the control parameters, a variant of the sigmoid function is introduced as the stiffness modulation curve. This curve is uniquely determined by a set of meta-parameters in Equation 18:where the meta-parameter vector is ϕ = [ α , τ thresh ]; α is the sensitivity of stiffness variation, determining the steepness of the transition from rigid to compliant; τ thresh is the torque threshold that triggers compliant behavior; K max is the maximum stiffness when no external force is present;K min is the minimum stiffness for safety assurance.

K p t ; ϕ = K min + K max − K min 1 + exp α ⋅ | τ obs | − τ thresh , (18)

In the control loop, the raw external force estimate output by the momentum observer is highly susceptible to contact zero-crossing effects, producing high-frequency jitter. If directly used for stiffness adaptation, it would trigger system chattering. Therefore, an asymmetric amplitude envelope detector E ( ⋅ ) is cascaded within the stiffness adaptation law. Let the discrete time step be t k, the input signal be the absolute value of the observer torque x k = | τ obs ( t k ) |, and the detector output is defined as Equation 19:where the decay coefficient γ ∈ ( 0,1 ). This operator ensures that the stiffness adaptation achieves a instantaneous yielding response to collisions, while maintaining a prescribed exponential decay envelope as the external torque diminishes.

E | τ obs t k | = max x k , γ ⋅ E | τ obs t k − 1 | , (19)

To prevent underdamped oscillations or overdamped lag caused by drastic changes in stiffness K p, the damping parameter B d is not treated as an independent variable but is dynamically adjusted according to the critical damping ratio ξ opt as a function of stiffness in Equation 20:

B d t = 2 ξ opt M d K p t ; ϕ . (20)

The feedback component of the controller is designed to emulate a variable stiffness spring-damper system, with the feedback torque given by Equation 21:

τ fb = K p t q d − q + B d t q ̇ d − q ̇ . (21)

The optimal meta-parameter search problem is formulated as a Markov decision process (MDP) and solved using a parameter-based policy optimization approach. Unlike conventional step-based reinforcement learning, which requires the agent to read instantaneous body states at millisecond-level frequencies, this method adopts a contextual policy search architecture to achieve frequency decoupling between high-level decision-making and low-level high-frequency control. The input state vector is no longer composed of instantaneous physical quantities; instead, the dynamic conditions of the entire task episode are encoded as a global context feature vector s k in Equation 22:where C traj is the desired trajectory profile features (e.g., stationary, sinusoidal, or complex trajectory); C dist is the external disturbance type feature (e.g., no disturbance, step collision, sinusoidal excitation); and C amp is the normalized amplitude feature of the anticipated disturbance.

s k = C traj , C dist , C amp , (22)

Under this architecture, the agent observes the context feature s k at the initial time t = 0 of each task episode and performs a single forward pass through the policy network to output a set of global impedance meta-parameters as the action. This action remains constant throughout the episode of duration T ep, as represented in Equation 23:

a k = ϕ k = α , τ thresh ∈ R 2 . (23)

To ensure high-precision tracking in free space and to reduce the search space, the baseline maximum stiffness K max = 1500 Nm/rad and the critical damping ratio ξ opt = 0.707 are set as constant priors. The agent only performs dimensionality-reduced optimization over the compliance sensitivity features. The low-level variable impedance controller combines this fixed set of meta-parameters with the analytical function in (Wan et al., 2023) and the amplitude envelope detector to accomplish real-time stiffness adaptation in the high-frequency control loop.

The objective of the reinforcement learning agent is to optimize the meta-policy π θ, which achieves an optimal balance between “high-precision trajectory tracking” and “compliant physical interaction” by understanding the context distribution across different task conditions. The instantaneous reward function r t at each time step t is designed as a piecewise function in Equation 24:where w p 1 = 30000 and w p 2 = 10 are the position tracking error penalty weights in the free-space and contact regimes, respectively; w c 1 = 0.02 and w c 2 = 0.05 are the compliance deviation penalty weights; and τ safe = 1.0 Nm is the safety threshold distinguishing free-space from contact interaction. In the free-space regime, a compliance deviation penalty is introduced to prevent unprovoked stiffness softening triggered by measurement noise; conversely, in the contact regime, a severe high-stiffness penalty is imposed to enforce the meta-policy to decrease joint stiffness for compliant shock mitigation. The total return for the entire episode is defined as R = ∑ t = 0 T r t.

r t = − w p 1 q d − q 2 − w c 1 K max − K p , | τ obs | < τ safe r t = − w p 2 e pos 2 − w c 2 K p − K min | τ obs | , | τ obs | ≥ τ safe , (24)

The proximal policy optimization (PPO) algorithm (Schulman et al., 2017) is employed to iteratively update the high-level meta-policy. Since this is a parameter-based optimization task, the forward propagation of the policy network (Actor) outputs the mean of the Gaussian distribution over meta-parameters, while the standard deviation of the distribution is treated as a state-independent trainable global parameter vector that participates in synchronous optimization. The clipped surrogate objective function is defined as Equation 25:where r t ( θ ) is the probability ratio between the new and old policies, A ̂ t is the estimated advantage function, and ε = 0.2 is the policy clipping coefficient. During the offline search for policy parameters, the overall optimization objective also incorporates the mean squared error loss of the value network (Critic) and a policy entropy regularization term to encourage environmental exploration. Through multiple rounds of mini-batch gradient descent, the optimal meta-parameter set ϕ * that can generalize to diverse unknown external torque conditions is ultimately identified.

L CLIP θ = E t min r t θ A ̂ t , clip r t θ , 1 − ε , 1 + ε A ̂ t , (25)

The complete set of hyperparameters and neural network configurations for the PPO meta-policy optimization is detailed in Table 2.

TABLE 2. PPO meta-policy optimization hyperparameter configuration.

HyperparameterValue/Setting
Network architecture (Actor and Critic)2-layer MLP (64, 64) with ReLU
Optimizer and learning rateAdam, lr = 3 × 1 0 − 4 (shared)
Batch size16 episodes (48,000 steps per batch)
Update epochs per iteration4
Clip coefficient ( ϵ )0.20
Gradient clipping (L 2 max norm)0.5
Loss weighting factorsc v = 0.002 (value), c e = 0.01 (entropy)
Advantage normalizationYes (z-score)
Curriculum scheduleLinear ramp-up (first 60 iterations)
Total training iterations200 (3,200 episodes total)

Finally, the control torque is composed of the hybrid dynamics feedforward term and the adaptive impedance feedback term, as shown in Equation 26:

τ cmd = τ ff + τ fb . (26)

4 Simulation results

To clarify the physical configuration of the simulation environment, all dynamic evaluations in this section are performed on the joint drive system integrated with a link-side load inertia, directly corresponding to the mechanical schematic illustrated in Figure 2. Specifically, the mechanical plant is configured with a reflected motor rotor inertia at the joint side of J m = 0.20 kg ⋅ m 2 and a link-side equivalent load inertia of J l = 0.32 kg ⋅ m 2, which together constitute a lumped nominal system inertia of J nom = J m + J l = 0.52 kg ⋅ m 2. This configuration provides a realistic operational condition for applying external interaction torques τ ext and evaluating compliant behaviors, while avoiding the numerical integration divergence typically associated with an unladen motor shaft simulation.

4.1 Validation of hybrid dynamics modeling and MLP-based torque loss compensation

The joint torque estimation curves under the test trajectory are shown in Figure 4. It can be observed that the nominal rigid-body model (red dashed line) fails to track the abrupt changes in true torque (gray thick line) caused by variable efficiency and friction. In contrast, the hybrid dynamics model proposed in this paper (green thin line) exhibits high fidelity to the ground-truth profile.

Validation of torque estimation.
Figure 4. Validation of torque estimation.

To fairly and comprehensively evaluate the effectiveness of the proposed torque estimation method, a state-of-the-art approach proposed by (Zhang et al., 2024) is introduced as a comparative baseline. This baseline utilizes an analytical efficiency model combined with a momentum disturbance observer (MDOB) to estimate and compensate for joint losses. The statistical distributions of the Root Mean Square Error for torque estimation across multiple randomized scenarios, which include parameter drifts and hardware non-idealities, are presented in Figure 5 and summarized in Table 3.

Statistical box-plot comparison of joint torque estimation RMSE across randomized scenarios.
Figure 5. Statistical box-plot comparison of joint torque estimation RMSE across randomized scenarios.

TABLE 3. Statistical comparison of joint torque estimation RMSE across randomized scenarios.

ModelTorque prediction RMSEAccuracy improvement
Nominal rigid-body model9.9303 Nm—
(Zhang et al., 2024) (MDOB-based)3.7321 Nm62.42%
Hybrid dynamics model (proposed)1.7274 Nm82.60%

The results indicate that the nominal rigid-body model, lacking loss compensation, exhibits a wide error distribution that is insufficient for contact tasks. The method by Zhang et al. effectively reduces the estimation error. However, limited by the phase lag inherent in the observer’s low-pass filter, its error distribution still shows noticeable fluctuations. In contrast, the proposed MLP hybrid model, functioning as a direct algebraic feedforward mapping, avoids observation delays. It demonstrates a lower error median and a narrower interquartile range (IQR) across diverse testing conditions, indicating improved estimation accuracy and robustness.

4.2 Validation of external torque observation and adaptive variable stiffness control

4.2.1 Convergence analysis of meta-policy training

The average episodic return convergence curve during meta-policy training is shown in Figure 6. During the early training phase (first 30 episodes), as the agent is in the random exploration stage, unreasonable impedance configurations induce large tracking errors and safety penalties, causing a temporary decline in return values. As parameter optimization progresses, the policy network accurately establishes the control gradient, and the episodic return rapidly recovers around episode 60 and subsequently stabilizes, ultimately achieving steady convergence. This trend indicates that the high-level meta-policy has successfully learned the optimal adaptive control law, and can output reasonable impedance adaptation decisions in response to different external interaction characteristics.

PPO meta-policy optimization convergence curve.
Figure 6. PPO meta-policy optimization convergence curve.

4.2.2 Multi-condition dynamic interaction response analysis

To further verify the dynamic response performance of the momentum observer and the adaptive variable stiffness control law, this section conducts a comprehensive closed-loop simulation evaluation under two desired trajectory types—stationary (0–8 s) and sinusoidal motion (8–16 s)—each subjected to three typical external disturbance torques: sinusoidal, ramp, and step (applied during 2–4 s and 10–12 s, respectively). The system response curves are presented in Figures 7–12.

Estimation of external torque and response of variable stiffness control [Scenario: SINE]. **(A)** External torque estimation. **(B)** Variable stiffness response.
Figure 7. Estimation of external torque and response of variable stiffness control [Scenario: SINE]. (A) External torque estimation. (B) Variable stiffness response.
Estimation of external torque and response of variable stiffness control [Scenario: STEP]. **(A)** External torque estimation. **(B)** Variable stiffness response.
Figure 8. Estimation of external torque and response of variable stiffness control [Scenario: STEP]. (A) External torque estimation. (B) Variable stiffness response.
Estimation of external torque and response of variable stiffness control [Scenario: RAMP]. **(A)** External torque estimation. **(B)** Variable stiffness response.
Figure 9. Estimation of external torque and response of variable stiffness control [Scenario: RAMP]. (A) External torque estimation. (B) Variable stiffness response.
Trajectory tracking and compliant performances [Scenario: SINE]. **(A)** Position tracking. **(B)** Velocity tracking.
Figure 10. Trajectory tracking and compliant performances [Scenario: SINE]. (A) Position tracking. (B) Velocity tracking.
Trajectory tracking and compliant performances [Scenario: STEP]. **(A)** Position tracking. **(B)** Velocity tracking.
Figure 11. Trajectory tracking and compliant performances [Scenario: STEP]. (A) Position tracking. (B) Velocity tracking.
Trajectory tracking and compliant performances [Scenario: RAMP]. **(A)** Position tracking. **(B)** Velocity tracking.
Figure 12. Trajectory tracking and compliant performances [Scenario: RAMP]. (A) Position tracking. (B) Velocity tracking.

As shown in Figures 7–9, although the injected hardware non-idealities (18-bit sensor quantization error, differentiation noise envelope, and 1–2 ms communication latencies) induce microscopic high-frequency fluctuations in the torque estimation, the observer accurately captures external interaction torques. By leveraging the combined protection of the observer deadband threshold and stiffness slew-rate constraints, low-level measurement noise is effectively isolated from the control loop. Consequently, the stiffness command stably maintains the 1500 Nm/rad baseline in free space; upon experiencing an external impact, it rapidly decreases to the 100 Nm/rad safety limit to absorb the collision before recovering smoothly at a linear rate once the disturbance is removed.

As shown in Figures 10–12, during disturbance-free intervals, the actual joint position and velocity smoothly track the reference trajectories, confirming the robustness of the MLP feedforward compensation against underlying hardware noise. During physical interaction intervals, active stiffness softening allows the joint to compliantly yield in the direction of the external force, effectively damping collision impacts. Once the external force is removed, the system recovers smoothly to precise trajectory tracking without overshoot, demonstrating the noise-rejection capability and practical engineering viability of the proposed framework in the presence of realistic hardware disturbances.

5 Conclusion

This paper proposed and validated a sensorless adaptive variable impedance control scheme for compliant joints driven by 3K planetary gear reducers. The research results indicate that combining a lumped rigid-body model with a multilayer perceptron (MLP) provides an effective approach to approximate the nonlinear friction and time-varying efficiency losses of the reducer, markedly improving joint torque estimation accuracy and supporting model-based feedforward torque compensation. Coupled with the variable-gain momentum observer, the simulation results demonstrate the feasibility of achieving dynamically stable estimation of external interaction torques using motor-side encoder feedback. Furthermore, the variable impedance control law, updated via the proximal policy optimization algorithm, can adjust the joint stiffness and damping in real time according to the characteristics of the interaction forces, allowing the system to avoid hard collision impacts from the environment while preserving dynamic tracking accuracy in free space.

This paper introduced methodologies to narrow the simulation-to-reality (Sim2Real) gap. During the offline training phase, a domain randomization (DR) strategy is introduced, enabling the MLP to learn robust, generalized nonlinear dissipation characteristics across uncertain physical boundaries. During the evaluation phase, a high-fidelity simulation environment explicitly incorporating hardware non-idealities is established, where the offline-trained frozen MLP loss model and the optimal PPO meta-parameters are deployed within the control loop, successfully validating the effectiveness of the proposed control algorithm. In future work, near-line transfer learning can be adopted to bridge the remaining Sim2Real gap, enabling real-world hardware adaptation.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Footnotes

Edited by: Giacomo Moretti, University of Trento, Italy

Reviewed by: Christian Bauer, University of Stuttgart, Germany

Davide De Martini, University of Trento, Italy

Ambrus Zelei, Széchenyi István University, Hungary

Statements

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Funding

The author(s) declared that financial support was received for this work and/or its publication. This research was funded by the Natural Science Foundation of Zhejiang Province under Grant No. LD24E050005 and the National Natural Science Foundation of China (NSFC) under Grant Nos. U2570232, 52130505, and 52475047.

Data availability

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author contributions

JS: Conceptualization, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft. XG: Investigation, Methodology, Supervision, Writing – review and editing. LY: Funding acquisition, Project administration, Resources, Supervision, Writing – review and editing.

References

  1. Albu-Schäffer A., Ott C., Hirzinger G. (2004). A passivity based cartesian impedance controller for flexible joint robots – part II: full state feedback, impedance design and experiments. Proc. IEEE Int. Conf. Robot. Autom. (ICRA) 3, 2666 – 2672. doi:10.1109/ROBOT.2004.1307463
  2. Albu-Schäffer A., Ott C., Hirzinger G. (2007). A unified passivity-based control framework for position, torque and impedance control of flexible joint robots. Int. J. Robot. Res. 26, 23 – 39. doi:10.1177/0278364907073776
  3. Azocar A. F., Rouse E. J. (2022). Characterization of open-loop impedance control and efficiency in wearable robots. IEEE Robot. Autom. Lett. 7, 4313 – 4320. doi:10.1109/LRA.2022.3150523
  4. Calanca A., Muradore R., Fiorini P. (2016). A review of algorithms for compliant control of stiff and fixed-compliance robots. IEEE Trans. Mechatron. 21, 613 – 624. doi:10.1109/TMECH.2015.2465849
  5. Dai J., Chen C. Y., Zhong Y., Guo H., Yang G., Zhang C. (2025). Sensor-based adaptive robust torque control for flexible joints. IEEE Robot. Autom. Lett. 10, 3628 – 3635. doi:10.1109/LRA.2025.3543967
  6. De Luca A., Albu-Schäffer A., Haddadin S., Hirzinger G. (2006). Collision detection and safe reaction with the DLR-III lightweight manipulator arm. Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst. (IROS), 1623 – 1630. doi:10.1109/IROS.2006.282053
  7. Dehio N., Smith J., Wigand D. L., Mohammadi P., Mistry M., Steil J. J. (2022). Enabling impedance-based physical human–multi–robot collaboration: experiments with four torque-controlled manipulators. Int. J. Robot. Res. 41, 68 – 84. doi:10.1177/02783649211053650
  8. Du Q., Zhang T., Yang G., Chen C., Wang W., Zhang C. (2024). A 3k planetary gear train with a flexure-based anti-backlash carrier for collaborative robots. Mech. Mach. Theory 191, 105495. doi:10.1016/j.mechmachtheory.2023.105495
  9. Keshvarparast A., Battini D., Battaia O., Pirayesh A. (2024). Collaborative robots in manufacturing and assembly systems: literature review and future research agenda. J. Intell. Manuf. 35, 2065 – 2118. doi:10.1007/s10845-023-02137-w
  10. Kim M. J., Beck F., Ott C., Albu-Schäffer A. (2019). Model-free friction observers for flexible joint robots with torque measurements. IEEE Trans. Robot. 35, 1508 – 1515. doi:10.1109/TRO.2019.2926496
  11. Laubscher C. A., Sawicki J. T. (2021). A robust impedance controller for improved safety in human–robot interaction. ASME J. Dyn. Syst. Meas. Control 143, 091004. doi:10.1115/1.4050504
  12. Liu T., Du Q., Zhang T., Wang W., Chen C. Y., Fang Z. (2025). Accurate impedance control for robot joints with 3k gear reducers based on transmission efficiency. Proc. IEEE 20th Conf. Ind. Electron. Appl. (ICIEA), 1 – 6. doi:10.1109/ICIEA65512.2025.11149202
  13. Lopez Garcia P., Crispel S., Saerens E., Verstraten T., Lefeber D. (2020). Compact gearboxes for modern robotics: a review. Front. Robot. 7, 103. doi:10.3389/frobt.2020.00103
  14. Ott C., Albu-Schäffer A., Kugi A., Stramigioli S., Hirzinger G. (2004). A passivity based cartesian impedance controller for flexible joint robots – part I: torque feedback and gravity compensation. Proc. IEEE Int. Conf. Robot. Autom. (ICRA) 3, 2659 – 2665. doi:10.1109/ROBOT.2004.1307462
  15. Petrea R. A. B., Bertoni M., Oboe R. (2021). “ On the interaction force sensing accuracy of franka emika panda robot,” in IECON 2021 – 47th Annual Conference of the IEEE Industrial Electronics Society, 1 – 6. doi:10.1109/IECON48115.2021.9589424
  16. Ruderman M., Bertram T., Iwasaki M. (2014). Modeling, observation, and control of hysteresis torsion in elastic robot joints. Mechatronics 24, 407 – 415. doi:10.1016/j.mechatronics.2014.02.009
  17. Sadrfaridpour B., Wang Y. (2018). Collaborative assembly in hybrid manufacturing cells: an integrated framework for human–robot interaction. IEEE Trans. Autom. Sci. Eng. 15, 1178 – 1192. doi:10.1109/TASE.2017.2748386
  18. Schulman J., Wolski F., Dhariwal P., Radford A., Klimov O. (2017). Proximal Policy Optimization Algorithms.
  19. Schumacher M., Wojtusch J., Beckerle P., von Stryk O. (2019). An introductory review of active compliant control. Robot. Auton. Syst. 119, 185 – 200. doi:10.1016/j.robot.2019.06.009
  20. Tien L. L., Albu-Schäffer A., De Luca A., Hirzinger G. (2008). Friction observer and compensation for control of robots with joint torque measurement. Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst. (IROS), 3789 – 3795. doi:10.1109/IROS.2008.4651049
  21. Vicentini F. (2020). Collaborative robotics: a survey. J. Mech. Des. 143, 040802. doi:10.1115/1.4046238
  22. Wan H., Chen S., Zhang C., Chen C. Y., Yang G. (2023). Compliant control of flexible joint by dual-disturbance observer and predictive feedforward. IEEE Trans. Mechatron. 28, 1890 – 1899. doi:10.1109/TMECH.2023.3272364
  23. Wolf S., Iskandar M. (2018). Extending a dynamic friction model with nonlinear viscous and thermal dependency for a motor and harmonic drive gear. Proc. IEEE Int. Conf. Robot. Autom. (ICRA), 783 – 790. doi:10.1109/ICRA.2018.8460613
  24. Yang X., Qiang D., Chen Z., Wang H., Zhou Z., Zhang X. (2022). Dynamic modeling and digital twin of a harmonic drive based collaborative robot joint. Proc. IEEE Int. Conf. Robot. Autom. (ICRA), 4862 – 4868. doi:10.1109/ICRA46639.2022.9812458
  25. Yang Y., Wu X., Song B., Li Z. (2022). Whole-body fuzzy based impedance control of a humanoid wheeled robot. IEEE Robot. Autom. Lett. 7, 4909 – 4916. doi:10.1109/LRA.2022.3151401
  26. Zhang T., Xia J. (2019). Interconnection and damping assignment passivity-based impedance control of a compliant assistive robot for physical human–robot interactions. IEEE Robot. Autom. Lett. 4, 538 – 545. doi:10.1109/LRA.2019.2891434
  27. Zhang D., Li X., Yang M., Wang F., Han X. (2023). Non-random vibration analysis of rotate vector reducer. J. Sound. Vib. 542, 117380. doi:10.1016/j.jsv.2022.117380
  28. Zhang T., Du Q., Yang G., Wang W., Chen C. Y., Chen S. (2024). Sensorless impedance control of robot joints with 3k gear drives considering transmission efficiencies. Proc. IEEE 19th Conf. Ind. Electron. Appl. (ICIEA), 1 – 6. doi:10.1109/ICIEA61579.2024.10664908
  29. Zheng G., Lei J., Hu L., Zhang L. (2021). Fuzzy adaptive sliding mode impedance control of fracture reduction robot. IEEE Access 9, 113653 – 113665. doi:10.1109/ACCESS.2021.3099692

Citation

Sun, J., et al. (2026). Sensorless variable impedance control of robot joints with 3K gear reducers based on hybrid dynamics model and meta-policy optimization. Frontiers in Robotics and AI, Volume 13. https://doi.org/
Received
Accepted
Published
Volume
13 - 2026

Copyright

Copyright © 2026 Sun, Gao and Yan.

License: https://creativecommons.org/licenses/by/4.0/

*Correspondence: Xiaoshan Gao; Liang Yan

Article metrics

Views
0
Downloads
0
Citations
0
Shares
0