Skip to main content
QUICK REVIEW

[Paper Review] Nonlinear Model Predictive Control for Quadrupedal Locomotion Using Second-Order Sensitivity Analysis

Dong‐Ho Kang, Flavio De Vincenti|arXiv (Cornell University)|Jul 21, 2022
Robotic Locomotion and ControlEngineering7 citations
TL;DR

This paper presents a nonlinear model predictive control (NMPC) framework for quadrupedal locomotion that jointly optimizes base trajectories and footholds using second-order sensitivity analysis and a sparse Gauss-Newton solver. The method enables real-time, robust locomotion on flat terrain, gap crossing, stepping stones, and multi-robot coordination by efficiently solving optimal control problems with dynamic feasibility and disturbance rejection.

ABSTRACT

We present a versatile nonlinear model predictive control (NMPC) formulation for quadrupedal locomotion. Our formulation jointly optimizes a base trajectory and a set of footholds over a finite time horizon based on simplified dynamics models. We leverage second-order sensitivity analysis and a sparse Gauss-Newton (SGN) method to solve the resulting optimal control problems. We further describe our ongoing effort to verify our approach through simulation and hardware experiments. Finally, we extend our locomotion framework to deal with challenging tasks that comprise gap crossing, movement on stepping stones, and multi-robot control.

Motivation & Objective

  • Address the computational bottleneck of real-time nonlinear MPC in legged locomotion by enabling joint optimization of base trajectories and footholds.
  • Overcome limitations of fixed foothold heuristics in existing MPC approaches that restrict dynamic adaptability and disturbance rejection.
  • Develop a model-agnostic NMPC formulation compatible with various nonlinear dynamics models, such as the variable-height inverted pendulum and single rigid body model.
  • Enable real-time execution of complex locomotion tasks—such as gap crossing, stepping stones, and multi-robot coordination—through efficient second-order sensitivity-based optimization.
  • Verify the framework through simulation and hardware experiments on the Unitree A1 and Laikago robots, demonstrating robustness to external disturbances and dynamic terrain adaptation.

Proposed method

  • Formulate the dynamics of quadruped locomotion using an implicit, differentiable function G_k(x_k, x_{k+1}, u_k, p) = 0, where p represents time-invariant footholds.
  • Define a finite-horizon optimal control problem (OCP) with a cost function J(X, U) subject to stacked dynamics constraints G(X, U) = 0.
  • Employ second-order sensitivity analysis to compute exact derivatives of the dynamics and cost functions, enabling high-accuracy optimization.
  • Use a sparse Gauss-Newton (SGN) method to solve the OCP efficiently, leveraging sparsity in the Hessian and Jacobian matrices for real-time performance.
  • Integrate task-specific penalty terms into the cost function: a soft constraint for gap crossing (L_gc) and a negative Gaussian for stepping stones (L_ss), both tuned via K_8, K_9, K_10.
  • Extend the framework to multi-robot control by adding a collision avoidance term L_ca to the objective, ensuring inter-robot distances exceed 1 meter.

Experimental results

Research questions

  • RQ1Can second-order sensitivity analysis significantly improve the efficiency and robustness of NMPC for quadrupedal locomotion while enabling real-time execution?
  • RQ2How does joint optimization of base trajectory and footholds enhance dynamic feasibility and disturbance rejection compared to fixed-foottprint MPC methods?
  • RQ3To what extent can the proposed NMPC framework be generalized across different nonlinear dynamics models, such as the variable-height inverted pendulum and single rigid body model?
  • RQ4Can the framework effectively handle complex locomotion tasks like gap crossing and stepping stones using simple, tunable penalty functions?
  • RQ5Is the NMPC formulation scalable to multi-robot systems with inter-robot collision avoidance constraints, and can it be executed in real time?

Key findings

  • The NMPC framework successfully enabled real-time control of the Unitree A1 robot on flat terrain, allowing it to withstand lateral pushes and recover stability during trotting.
  • In gap crossing scenarios, the robot avoided 32 cm-wide gaps by dynamically adjusting footholds away from reference positions, as shown in simulation with the Aliengo robot.
  • For stepping stones, the framework used a negative Gaussian penalty (L_ss) to guide footholds toward target positions, achieving near-zero constraint violations in simulation.
  • The multi-robot simulation demonstrated that a centralized MPC controller could coordinate two Laikago robots in real time, avoiding collisions while executing different gaits (walking and flying trot).
  • The framework achieved real-time performance on hardware using a quadratic programming-based whole-body controller to track MPC-generated trajectories.
  • Preliminary results suggest that the method is robust and adaptable, with the potential to be extended to other dynamics models such as the single rigid body model, pending further hardware validation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.