Stabilized n-Link Pendulum
In the previous post in this series, we looked at how to model a stabilized inverted pendulum using the control systems design features in Mathematica 8. We were quickly able to simulate a linearly controlled cart-and-pendulum system, and show that it is stable against some fairly large perturbations.
But what about a double (or triple or quadruple… ) pendulum? A general n-link pendulum is depicted below. In this post we'll see how to derive the equations of motions for this system, find out whether we can stabilize it with a linear control scheme, and produce some animations of the results.