| Nonlinear Control Design Blockset | |
LQR Design for Inverted Pendulum
Chapters 2 and 4 contain examples of an inverted pendulum system. Both examples assume that an initial stabilizing LQR controller exists. This section details how that controller is generated.
Recall that, ignoring motor dynamics, the nonlinear equations of motion for the inverted pendulum system are

These equations may be linearized about the operating point y = 0 and
= 0 to yield the linear system

which is the initial stabilizing gain used in Chapters 2, "Tutorial" and 4, "Case Studies."
![]() | Nonlinear Control Design Blockset Global Variable ncdStruct |