Research
Real-Time Control-Constrained DDP for Underactuated Balancing of Legged Robots
Classical DDP handles nonlinear dynamics constraints well but ignores control limits, while existing constrained variants (Box-DDP, CDDP) and feasibility-driven variants (FDDP, Box-FDDP) each solve…

- arXiv
- 2608.18552
- Published
- 2026-08-19 · revised · 2026-09-03
- Authors
- SeongWon Nam, Hyunyong Lee, Hansol Kang, Jiman Park, Yeongwoo Son, Bumsu Yi, Jaeyoung Oh, Hyouk Ryeol Choi
In plain words
Classical DDP handles nonlinear dynamics constraints well but ignores control limits, while existing constrained variants (Box-DDP, CDDP) and feasibility-driven variants (FDDP, Box-FDDP) each solve only part of the problem — box constraints, indirect active-set treatment, or control limits and multiple shooting applied in alternation rather than simultaneously.
AI summary
Overview
- Research area: Optimal control and model predictive control (MPC) for legged robots, specifically constrained trajectory optimization using Differential Dynamic Programming (DDP) under strong underactuation.
- Technical level: Advanced. The paper assumes familiarity with DDP/iLQR, Bellman recursion, KKT systems, active-set methods, and projected-gradient optimization.
- Scope (one sentence): The paper introduces ABC-DDP, an Accelerated Projected Gradient-based control-constrained DDP within a multiple-shooting (feasibility-driven) MPC framework, and demonstrates it in simulation on a quadruped performing static two-leg standing, a slow catwalk, upright walking, and high-speed running at 6.0 m/s.
What This Paper Is About
Classical DDP handles nonlinear dynamics constraints well but ignores control limits, while existing constrained variants (Box-DDP, CDDP) and feasibility-driven variants (FDDP, Box-FDDP) each solve only part of the problem — box constraints, indirect active-set treatment, or control limits and multiple shooting applied in alternation rather than simultaneously. The authors' goal is a single real-time MPC solver that enforces linear control constraints (friction pyramid and force box limits) exactly while also tolerating dynamically infeasible initial trajectories, so that highly underactuated behaviors such as a quadruped balancing on two legs can be optimized online over short horizons. They use this solver to show that static two-leg standing is achievable in real-time finite-horizon MPC, contrary to the common belief that long-horizon prediction is required.
Key Contributions
- APG-based constrained DDP (ABC-DDP): Incorporates the Nonmonotone Accelerated Projected Gradient method into DDP, extending beyond the box-constrained setting of Box-DDP and the indirect active-set treatment of CDDP, and handling general linear control constraints with exact active-set identification without repeated KKT inversions.
- Unified control-constrained multiple-shooting framework: Introduces a novel virtual constraint formulation that lets control constraints and feasibility-driven multiple shooting be handled at the same time, whereas Box-FDDP alternates between a box-constrained mode and an unconstrained multiple-shooting mode.
- Static two-leg standing on a quadruped: To the authors' knowledge, the first demonstration of static two-leg standing of a quadruped robot using real-time finite-horizon MPC — balancing on a support line rather than a support polygon, analogous to a human balancing on tiptoes without stepping.
- Breadth within one solver: The same MPC framework produces slow catwalk, upright bipedal walking, and high-speed running at 6.0 m/s, all under strong underactuation in real-time simulation.
Main Findings
- Two-leg standing achieved: Static two-leg standing with fixed foot contacts was demonstrated under external disturbances, using finite-horizon MPC rather than a long-horizon or single-step QP approximation; the authors state this is the first such demonstration for a quadruped in real-time finite-horizon MPC.
- Distinct from prior contact-implicit two-leg balancing: Earlier contact-implicit MPC work (solved with Box-FDDP) produced two-leg balancing but did not exhibit static standing with fixed foot contacts, because the optimizer simultaneously planned separating, clamping, and sliding contact phases.
- Active sets from projection, not inversion: Solving the constrained DDP subproblem with APG yields the active set as a byproduct; the KKT system is then solved once per time step for the feedback gain, avoiding the repeated KKT inversions that an active-set QP approach inside every sub-iteration would require.
- Robustness to bad initialization: With the virtual constraint and FDDP-style gap updates, the nominal trajectory stays bounded around the desired trajectory even under prolonged underactuation, despite being dynamically infeasible (illustrated in the paper's Fig. 3).
- Short horizons suffice: The results contradict the assumption that underactuated balancing needs long-horizon prediction; the framework sustains underactuated conditions with short finite-horizon MPC.
- Gait-specific tuning matters: Results were obtained with distinct cost weight sets and swing/stance timings per behavior (for example swing/stance times of 0.6 s / 1.0 s for catwalk, 0.2 s / 0.24 s for upright walking, and 0.08 s / 0.1 s for running; two-leg standing has no swing/stance scheduling), on a model with body mass 37.5 kg and friction coefficient μ = 0.5.
- Evidence is simulation-only in the reported content: All results are described as real-time simulation; no hardware experiments, tracking-error statistics, or solver timings are reported in the paper content available here.
Methodology in Plain English
The robot is modeled as a single rigid body pushed by four ground reaction forces (one per foot), which is cheap enough to evaluate inside a real-time loop. Each MPC solve is an iterative DDP (iLQR-style) optimization: a backward pass computes a locally optimal feedback law along the current trajectory, and a forward pass rolls the trajectory forward and measures improvement.
The obstacle is that DDP's backward pass is an unconstrained quadratic minimization, but the forces must stay inside a friction pyramid and within vertical force limits. Instead of solving a KKT system at every inner iteration to guess which limits are active, the authors run a fast projected-gradient method (with Barzilai–Borwein step sizes, Nesterov-style momentum, a nonmonotone line-search criterion, and closed-form projections for box and friction-cone constraints) on that small subproblem. This gives the constrained feedforward step and reveals which constraints are active; only then is the KKT system assembled and solved to get the feedback gain.
A second problem is that under strong underactuation there is no good dynamically feasible trajectory to start from. Following FDDP, states and controls are treated as independent sequences with a "gap" between the integrated state and the next state, and each iteration shrinks that gap by a factor determined by a step size, so the solver gradually becomes feasible. Combining this with active constraints is the tricky part: after backtracking, the operating point is neither constrained-optimal nor unconstrained-optimal. The authors resolve it with a virtual constraint — a hyperplane normal to the gradient at the backtracked feedforward step — along which the feedback correction is allowed to move. They additionally contract the original constraint boundary by a factor β (boundary shrinkage) to keep the feedback step in a sensible region, and they project the final control onto the true constraint set before integrating. An expected-improvement test decides whether to accept a step that temporarily sacrifices cost in exchange for feasibility. The initial rollout comes from a PD-like desired-acceleration law mapped through a damped least-squares/Newton–Euler solve and then projected onto the constraint set.
Why This Matters
- Research impact: It closes a gap in the DDP literature by unifying exact linear control-constraint handling with multiple shooting in one solver, and it challenges the assumption that underactuated balancing demands long prediction horizons. It also gives a concrete, difficult benchmark (static two-leg standing on a point-foot quadruped) for comparing constrained MPC formulations.
- Real-world applications:
- Quadruped inspection and patrol robots that must recover balance or hold a narrow-support posture when a leg is unavailable, damaged, or on constrained terrain.
- Legged platforms that need to transition continuously between standing, slow careful gaits, and fast running without switching controllers.
- Two-leg or narrow-support stances as a precursor to legged mobile manipulation, where a limb is freed for a task.
- Deployable MPC software for commercial legged robots, where per-cycle computation budget dominates design choices.
- Industry relevance: The co-author affiliation with AIDIN ROBOTICS Inc. and the emphasis on real-time computation with closed-form projections, short horizons, and a single rigid-body model point toward deployment on embedded computers rather than offline trajectory optimization.
Future Directions
- Hardware validation: The reported results are simulation-based; demonstrating static two-leg standing and 6.0 m/s running on a physical quadruped, with real sensor noise and contact uncertainty, is the obvious next step.
- Compute and timing reporting: The paper content does not report per-cycle solve times or comparisons of computation cost against CDDP or Box-FDDP, so quantified real-time performance and benchmarking against those baselines remain open.
- Beyond linear constraints: The method relies on constraints with cheap closed-form projections (box, friction pyramid); extending it to constraints without such projections, or to nonlinear constraint sets, is unresolved.
- Reducing per-gait tuning: Each behavior uses a separately tuned weight set and swing/stance schedule, so unifying or automating this tuning — and testing contact-implicit or perceptive variants — would broaden applicability.
Target Audience
Robotics graduate students and researchers working on trajectory optimization and MPC for legged locomotion; control engineers implementing constrained DDP or iLQR on underactuated robots; and practitioners at legged-robot companies who need a real-time solver that treats force limits exactly and tolerates poor initial guesses. Readers without a background in DDP, KKT conditions, and projected-gradient methods will find the technical sections demanding.
Authors’ abstract
This paper presents a real-time control-constrained Differential Dynamic Programming (DDP) framework for underactuated legged robots. To address the limitation of classical DDP in handling control constraints, we propose an Accelerated Projected Gradient (APG)-based control-constrained DDP (ABC-DDP), which efficiently computes constrained solutions and identifies active sets without repeated Karush-Kuhn-Tucker (KKT) inversions. A virtual constraint is introduced to integrate…
The full abstract on arXivRelated papers
- Real-time Estimator of Actuator Control and Health (REACH) on an Eel-Inspired Soft Robot 2026-08-14 · cs.RO · Key terms of the title in common
- Real-Time Shape Control of Multi-Segment Soft Robotic Arms Using Koopman Operators with Global and Local Observables 2026-09-02 · cs.RO · Key terms of the title in common
- MOSAIC-SV: Real-Time Adaptive Identification of Vessel Dynamics for the Control and Deployment of Aquatic Robots 2026-10-02 · cs.RO · Key terms of the title in common
- Barrier-Constrained Guidance For Real-time Asynchronous VLA Execution 2026-10-10 · cs.RO · Key terms of the title in common
- Planning to Learn: Real-Time Robust Adaptive Control on the GPU with Guaranteed Future Learning 2026-10-14 · cs.RO · Key terms of the title in common