A Passivity-Based Variable Impedance Controller for Incremental Learning of Periodic Interactive Tasks

Matteo Dalle Vedove, Edoardo Lamon, Daniele Fontanelli, Luigi Palopoli, Matteo Saveriano

This paper, recently published by researchers from the University of Trento and the Istituto Italiano di Tecnologia, presents a novel control framework that allows collaborative robots to learn periodic tasks (like wiping or polishing) through direct physical interaction with a human, all while guaranteeing the system remains stable and safe.

TL;DR

The authors propose a variable impedance control strategy that uses "energy tanks" and optimization to allow robots to learn periodic tasks incrementally from human guidance. By monitoring energy flow, the robot can distinguish between a teacher's intentional guidance and external disturbances, enabling a smooth transition from a compliant "student" to a stiff, autonomous "expert."

What Problem Does This Paper Address?

In modern "intelligent manufacturing," robots need to be quickly reconfigured for new tasks. Programming by Demonstration (PbD)—where a human physically guides the robot—is the most intuitive way to do this. However, two major hurdles remain:

  1. Stability (Passivity): When a controller's stiffness or damping changes over time (as it must during teaching), the system can inadvertently "generate" energy, leading to unstable, jerky, or dangerous movements. Ensuring "passivity"—meaning the robot only consumes or dissipates energy—is critical for safety.
  2. Intent Recognition: A robot needs to know the difference between a human teacher trying to show it a new path (where it should be compliant) and an accidental collision or disturbance (where it should maintain its path or stop safely).

Methods

The researchers developed a multi-layered architecture to tackle these issues:

  • Variable Impedance Control via QP: The core controller treats the robot like a mass-spring-damper system. The stiffness is modulated using a Quadratic Programming (QP) optimization. This allows the robot to balance two goals: exerting a specific force (e.g., 5N for wiping) and following a learned path.
  • Energy Tanks & Power Constraints: To ensure passivity, the authors implement "energy tanks." These virtual reservoirs track the energy exchanged with the environment. If the tank is empty, the robot cannot increase its stiffness. Uniquely, they also add power constraints to the QP, which limits the rate at which energy is extracted, resulting in much smoother interactions than previous methods.
  • Incremental Learning (DMPs & AFO): The robot's trajectory is encoded using Periodic Dynamic Movement Primitives (DMPs). To handle the timing of the task, an Adaptive Frequency Oscillator (AFO) estimates the period of the human's demonstration on-the-fly.
  • Autonomy Level Regulator: A state variable ($\gamma$) determines the robot's "confidence." When a human injects energy into the tank by guiding the robot, $\gamma$ drops, making the robot compliant. As the robot learns and the tracking error decreases, $\gamma$ rises to 1, making the robot stiffer and more autonomous.

Datasets

The paper does not use standard public datasets. Instead, the framework was validated using a custom experimental setup:

  • Hardware: A Universal Robot UR5e (6 DoF) equipped with a BOTA SenONE force-torque sensor and a 3D-printed handle with a dish sponge.
  • Scenarios: The robot was taught to clean the edge of a table, perform a circular wiping motion on a wooden board, and polish a complex T-slot aluminum profile requiring 3D re-orientation.

Key Insights and Ideas

  • Energy Flow as a Discriminator: The most clever "aha moment" is using the energy tank's power flow to distinguish between teaching and disturbances. By low-pass filtering the tank's power signal, the robot can ignore high-frequency "noise" from rough surfaces but quickly react when a human teacher "pumps" energy into the system to guide it.
  • Decoupled Power Limits: The authors split the power constraints for position and orientation. This is vital because the scales of errors in meters vs. radians are vastly different; treating them as a single constraint often leads to one dominating the other.
  • Safety through Optimization: Instead of hard-coding safety rules, embedding passivity constraints directly into the QP solver ensures that the robot physically cannot choose a stiffness that would violate safety bounds.

Key Results

  • Rapid Convergence: For planar wiping tasks, the system converged to the desired motion in approximately 20 seconds (about 4 to 5 full demonstrations).
  • High Precision: During autonomous execution, the robot maintained a tracking error within 2mm and regulated the contact force to within a 5N error range of the target.
  • Robustness: The system successfully transitioned back to "learning mode" even when the environment was perturbed (e.g., moving the board the robot was wiping) or when the human intervened mid-task.

Limitations and Future Work

  • Orientation Lag: Learning tasks that require complex rotations (like the T-slot profile) is significantly slower than planar tasks. This is partly due to the "virtualization" required to make a position-controlled robot like the UR5e behave like a force-controlled one.
  • Knowledge Retention: The current system is "incremental" but not yet fully "continual." When moving to a completely new task, the authors note that previous demonstration knowledge is currently discarded.
  • Future Integration: The authors plan to more tightly couple the DMP learning with the AFO to speed up convergence in complex 3D environments.

Reference: Dalle Vedove, M., et al. "A Passivity-Based Variable Impedance Controller for Incremental Learning of Periodic Interactive Tasks." arXiv:2408.10580v1 [cs.RO], 2024.

Summary updated

BibTeX
@inproceedings{vedove2024passivity,
  author = {Matteo Dalle Vedove and Edoardo Lamon and Daniele Fontanelli and Luigi Palopoli and Matteo Saveriano},
  title = {{A Passivity-Based Variable Impedance Controller for Incremental Learning of Periodic Interactive Tasks}},
  booktitle = {Case},
  year = {2024},
  doi = {10.1109/case59546.2024.10711399},
}
Figure