In this example we show how an inverted pendulum sitting on top of a cart can be controlled using an LQR controller. The workflow to design the state controller is described in the worksheet "LQRDesign". The control strategies used in this model, together with others, are explored in more detail in the application State-Feedback and Observer-Based Control Design.