[Paper Review] Constrained Dynamic Movement Primitives for Safe Learning of Motor Skills
This paper proposes Constrained Dynamic Movement Primitives (CDMP), a method that modifies DMPs using nonlinear optimization to enforce safety constraints via Zeroing Barrier Functions (ZBFs), ensuring collision-free trajectories even with novel obstacles. The approach guarantees forward-invariance of the safety set while preserving the geometric shape of demonstrated skills.
Dynamic movement primitives are widely used for learning skills which can be demonstrated to a robot by a skilled human or controller. While their generalization capabilities and simple formulation make them very appealing to use, they possess no strong guarantees to satisfy operational safety constraints for a task. In this paper, we present constrained dynamic movement primitives (CDMP) which can allow for constraint satisfaction in the robot workspace. We present a formulation of a non-linear optimization to perturb the DMP forcing weights regressed by locally-weighted regression to admit a Zeroing Barrier Function (ZBF), which certifies workspace constraint satisfaction. We demonstrate the proposed CDMP under different constraints on the end-effector movement such as obstacle avoidance and workspace constraints on a physical robot. A video showing the implementation of the proposed algorithm using different manipulators in different environments could be found here https://youtu.be/hJegJJkJfys.
Motivation & Objective
- To address the lack of formal safety guarantees in standard Dynamic Movement Primitives (DMPs), which can lead to collisions during task generalization.
- To enable safe generalization of demonstrated motor skills to new start and goal configurations in environments with novel obstacles.
- To integrate operational constraints—such as obstacle avoidance and workspace boundaries—into DMPs with formal safety certification using ZBFs.
- To maintain the qualitative geometric shape of the original demonstrated trajectory while satisfying safety constraints.
- To provide a computationally tractable, optimization-based framework that modifies DMP forcing weights to ensure constraint satisfaction.
Proposed method
- Formulates a nonlinear optimization problem to adjust the DMP's forcing function weights to satisfy a user-defined Zeroing Barrier Function (ZBF).
- Uses a ZBF to mathematically certify that the DMP trajectory remains within a predefined safety set (e.g., obstacle-free workspace).
- Applies collocation-based trajectory discretization to represent the continuous-time DMP dynamics for numerical optimization.
- Solves the resulting non-convex optimization problem using off-the-shelf solvers like IPOPT to compute perturbed forcing weights.
- Ensures forward-invariance of the safety set by enforcing the ZBF condition at discrete collocation points along the trajectory.
- Preserves the original DMP's dynamical structure while introducing constraint compliance through optimized forcing function adjustments.
Experimental results
Research questions
- RQ1Can DMPs be modified to guarantee safety in novel environments with previously unseen obstacles?
- RQ2How can formal safety guarantees be integrated into DMP-based motor skill learning without compromising trajectory shape or generalization?
- RQ3What optimization framework enables effective perturbation of DMP forcing weights to satisfy ZBF constraints?
- RQ4To what extent can CDMP maintain the geometric fidelity of demonstrated trajectories while ensuring obstacle avoidance?
- RQ5How does the number of collocation points affect computational efficiency and constraint enforcement accuracy?
Key findings
- The CDMP method successfully generates collision-free trajectories in environments with novel obstacles, as demonstrated in both simulation and physical robot experiments.
- The algorithm preserves the qualitative shape of the original DMP trajectory while satisfying safety constraints, as shown in whiteboard drawing tasks with obstacle constraints.
- Experiments on a Kinova Gen3 and Mitsubishi Electric Assista robot confirmed that CDMP produces feasible, safe trajectories in real-world settings.
- The method demonstrated robustness in a wall-hopping task and a chess-piece movement task, where standard DMPs failed due to collisions.
- Computational time increased with the number of collocation points, but higher resolution (e.g., n=50) led to better constraint enforcement than coarser discretizations (e.g., n=10).
- The approach enables safe generalization of motor skills to new start and goal poses without requiring retraining or heuristic tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.