arXiv:2608.22629cs.ROAug 2026

Manuscript Offprint

arXiv:2608.22629

Enhancing Sim2Real Transfer for Torque-Controlled Robots through Real2Sim Dynamics Estimation and Reinforcement Learning

Davide Bargellini, Alex Pasquali, Andrea Govoni, Riccardo Zanella, Gianluca Palli

Davide Bargellini 1^{1} Alex Pasquali 1^{1} Andrea Govoni 1^{1} Riccardo Zanella 2^{2} and Gianluca Palli 1^{1}

Abstract—Transferring reinforcement learning policies from simulation to Real-World robots remains a major challenge, particularly when dealing with low-level torque control, where even small modelling inaccuracies can lead to unstable or unsafe behaviours. In this work, we propose a Real2Sim2Real pipeline that improves Sim2Real transfer for torque-controlled robotic arms by combining trajectory matching, parameter optimization via genetic algorithms, and domain randomization. Using the 7-DOF Franka Emika Panda robot, we first identify friction, inertia, and gravity compensation parameters by minimizing the error between real and simulated joint trajectories. These calibrated dynamics are then used to train a TQC-based reinforcement learning agent in simulation. The trained policy is evaluated in both Gazebo and MuJoCo environments, and finally deployed on the real robot. Our results demonstrate a significant improvement in tracking accuracy and policy robustness after parameter tuning, with smooth policy transfer from simulation to the Real-World across multiple target-reaching tasks. This work highlights the effectiveness of accurate physical modelling in enabling stable and generalizable torque-based reinforcement learning policies.

I. INTRODUCTION

Torque control has emerged as a promising approach to improve interaction with the environment, since it enables more precise responses to physical forces and constraints [1], [2]. However, training directly in the real world with joint torques is time-consuming, resource-intensive, and safety-critical. Simulations mitigate these limits by enabling faster and safer policy development before hardware deployment.

However, a key challenge arises when these control policies, developed in the simulated environment, are transferred to Real-World robots [3], [4]. This issue is commonly referred to as the Sim2Real transfer problem [5]. Despite the advantages of simulation, there are often discrepancies between simulated and Real-World environments, such as differences in physical parameters or contact forces, and between different simulators themselves [6]. Each simulator may implement physics and models differently, leading to variations in the results. These discrepancies create a "reality gap" [7], where control policies that perform well in simulation may fail to generalize in Real-World scenarios, leading to a decline in performance.

To mitigate this gap, recent studies have focused on improving the physical accuracy of simulations through better calibration of parameters such as dynamics, friction, and sensor feedback [8], [9], [10].

Our study focuses on optimizing the Sim2Real transfer, particularly emphasizing the development of a Reinforcement Learning (RL) agent using different policies such as DDPG [11], SAC [12], TD3 [13], and TQC [14], for the 7-axis Franka Emika Panda robot that utilizes joint torques to reach a position. This preliminary work aims to fill the gap in torque control before the robot interacts with the environment. The paper is organized as follows: Sec II summarizes the related works, while Sec. III provides a detailed overview of the methodology and the mathematical tools used. Finally, Sec. IV presents the experiments and results of the Sim2Real transfer, and Sec. V discusses the conclusions drawn from the developed work and outlines future directions.

References (22)