Introduction
Trajectory optimization is a cornerstone of modern robotics, providing the mathematical framework for generating sequences of movements that satisfy physical laws and safety requirements. Historically, practitioners have faced a trade-off between two primary methodologies: Differential Dynamic Programming (DDP) and Augmented Lagrangian (AL) methods. DDP is renowned for its speed, as it exploits the temporal sparsity of control problems, but it often lacks robust mechanisms for handling hard constraints such as joint limits or obstacle avoidance. Conversely, AL methods are effective at constraint handling but frequently encounter numerical instability or require complex switching logic between optimization phases.
This paper introduces a robust framework that bridges this gap. By integrating a Primal-Dual Augmented Lagrangian (PDAL) approach directly into the DDP backward pass, the authors propose a second-order, Newton-like algorithm capable of handling complex equality and inequality constraints with high numerical stability and fast convergence.
Methodology
The proposed method centers on a unified strategy that avoids the common pitfalls of penalty-based optimization. The key technical components include:
1. Primal-Dual Formulation
Unlike standard AL methods that alternate between solving for primal variables (states and controls) and dual variables (multipliers), this approach computes them simultaneously. This simultaneous update, inspired by primal-dual interior-point logic, stabilizes the optimization process and allows for more consistent convergence trajectories.
2. Proximal Method of Multipliers (PMM)
To ensure numerical robustness, the authors employ the Proximal Method of Multipliers. This technique regularizes the underlying linear systems solved during the DDP backward pass, ensuring they remain well-conditioned even when penalty parameters become large or constraints are nearly violated.
3. Relaxed Bellman Equation
The core of the DDP algorithm—the Bellman recursion—is redefined to incorporate the augmented Lagrangian terms. This modification allows the solver to "anticipate" constraints during the recursive backward pass, effectively embedding the global constraint structure into the local sub-problems.
4. Semi-smooth Newton Steps
To handle inequality constraints without the computational overhead of adding slack variables, the algorithm utilizes a semi-smooth Newton method. This allows the solver to manage the non-differentiable transitions between active and inactive constraints (e.g., a robot arm moving from free space to a joint limit) within a consistent mathematical framework.
Experimental Validation
The framework was evaluated across several simulated benchmark tasks designed to test specific mathematical and physical challenges:
- Bound-constrained LQR: A linear-quadratic regulator problem used to verify basic convergence properties under control limits.
- Car Parking: A non-holonomic system requiring complex maneuvering to reach a goal state while respecting acceleration and steering bounds. This task tests the solver's ability to handle "bang-bang" control, where inputs frequently saturate at their limits.
- UR10 Robot Tasks:
- Throwing: A high-speed motion task requiring the management of joint velocity and torque limits.
- Obstacle Avoidance: A non-convex problem where the robot must navigate around cylindrical obstacles, a scenario prone to local minima.
Key Results and Insights
The PDAL-DDP approach demonstrated several significant advantages over traditional solvers:
- Numerical Stability: By using a primal-dual system, the authors prevented the "numerical explosions" often associated with constrained DDP. The primal and dual residuals showed a consistent, sharp drop, characteristic of second-order convergence.
- High Precision: In the constrained LQR benchmark, the method reached an optimal solution with a precision of $10^{-8}$ in approximately 10 iterations.
- Efficiency through Sparsity: By avoiding slack variables, the algorithm keeps the problem size minimal, maintaining the computational efficiency inherent in the DDP structure.
- Robustness to Non-Convexity: The solver successfully navigated the UR10 robot around obstacles, demonstrating that the unified PDAL strategy can handle the complex landscapes of non-convex robotic environments without switching to secondary optimization phases (like SQP).
Conclusion and Future Work
The research presents a significant step toward a unified, high-performance solver for constrained robotics problems. While the current validation was performed in Python using the Pinocchio library, the mathematical structure is specifically designed for high-speed implementation. The authors' next objective is the integration of this algorithm into the C++ Crocoddyl library. This transition is expected to provide the computational speeds necessary for real-time Model Predictive Control (MPC) on physical hardware, bridging the gap between theoretical optimization and real-world robotic deployment.
Summary updated