Balancing a Double Inverted Pendulum in 2D or 3D

This Demonstration gives an example of control theory. The naturally unstable double inverted pendulum is attached to a movable cart. You can disable the balancing control force and watch the chaotic behavior of the double pendulum, or you can vary the control force to keep the pendulum in balance.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


[1] A. Moylan, "Stabilized Inverted Pendulum," Wolfram Blog—A Wolfram Web Resource. (Jul 31, 2013)
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.