Save this video free

AStanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 8: LQR-Style Algorithms

Stanford Online · 1:14:05 · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

This lecture from Stanford Online's AA203 course delves into Linear Quadratic Regulator (LQR)-style algorithms for optimal control, extending beyond basic state regulation to trajectory tracking and optimization. It explains how LQR can be adapted for nonlinear systems through linearization, leading to iterative LQR (iLQR) and differential dynamic programming (DDP) for trajectory optimization, and highlights the complementary nature of LQR with PID controllers in control system hierarchies.

Key takeaways

Chapters

0:00 Recap of Optimal Control and Dynamic Programming
1:58 LQR's Role in Control System Design
5:32 Comparing LQR and PID Control
9:01 Control System Hierarchy: PID vs. LQR
12:28 LQR Problem Formulation: Linear Dynamics and Quadratic Cost
16:42 Generalized LQR Cost Function and Control Law
20:02 Further Generalizations of LQR
25:15 LQR Tuning and Design Parameters
30:56 Trajectory Tracking with LQR
38:20 LQR for Linear System Trajectory Tracking
46:56 Structure of LQR Tracking Controller
53:55 Trajectory Tracking with Nonlinear Dynamics
1:10:06 Using LQR to Compute Optimal Open-Loop Trajectories

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:06 OK, so let's get started with today's lecture. So as you remember, on Monday, we looked at the optimal control problem through a closed-loop lens whereby the object we want to optimize over is a closed loop policy. And we introduced the most fundamental algorithm that we have at our disposal to compute closed-loop optimal policies, which is referred to as dynamic programming. We derive the algorithm for a discrete time formulation of the problem. We will actually extend this derivation to continuous time next week, which will lead us to the Hamilton--Jacobi--Bellman equation and the reachability theory. And to do so, we discussed some structure, some key structure that the problem, the optimal control problem as we

0:59 formulated [INAUDIBLE] that we can leverage to derive dynamic programming equations. And then I presented the LQR as one example that allowed me to show you how to apply the dynamic programming, recursion. And in time, LQR is a problem that is of interest in its own right. Now in the second pset, you have a number of opportunities to strengthen your familiarity with dynamic programming and LQR. You have one exercise that shows how much computation you save by running dynamic programming as a solution algorithm as opposed to brute force. You have one exercise that forces you to implement from scratch an LQR algorithm. I know that you could use an AI agent

1:49 to do so, but at least for once in your life, try to do it from scratch. And then we'll transition into the material that we're going to discuss today. Specifically, we talked about LQR at the end of the last lecture. Today, rather than introducing a new concept in optimal control, we are actually going to spend an entire lecture on how we can leverage LQR in a variety of different control

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Stanford Online.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.