Chammarychammary

AStanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 8: Nonlinearity

Stanford Online · 1:14:05 · 2 days ago

LQR-based techniques provide a versatile framework for optimal control that extends beyond simple state regulation to handle trajectory tracking and iterative trajectory optimization. This is achieved by reformulating problems into deviation variables, linearizing nonlinear dynamics, and applying iterative updates to refine control sequences.

  • LQR utility — The framework allows for the translation of complex control tasks into standardized problems where the goal is to optimize a cost function relative to a target trajectory .
  • Trajectory tracking — The process uses local models to force the system to follow a reference path:
    • Defining deviation variables as the difference between the actual system trajectory and a precomputed reference path .
    • Linearizing the dynamics around the reference path to create a time-varying linear model .
    • Combining a feed-forward term from the nominal control with a closed-loop feedback term to maintain the system on the desired path .
  • Iterative LQR (iLQR) — This algorithm computes optimal open-loop trajectories by refining a control sequence through successive approximations :
    • The backward pass solves Riccati-like equations to compute optimal deviation controls .
    • The forward pass propagates the system states using the true nonlinear dynamics to generate a new reference trajectory .
  • Constraint management — Unlike Successive Convex Programming (SCP), iLQR does not natively handle hard constraints on states or controls, making it less robust in highly constrained environments .
  • Differential Dynamic Programming (DDP) — This method extends iLQR by directly approximating the Bellman equation using second-order derivatives of both the system dynamics and the cost function .

How does the backward pass in DDP differ from the one used in iLQR regarding the treatment of dynamics? In what scenarios might SCP be preferred over iLQR despite the computational simplicity of the latter?