This Demonstration shows an animation of a driven spherical pendulum.

A free-swinging rigid pendulum is suspended inside a frame that can rotate around a vertical axis fixed by two frictionless bearings at its top and bottom. A motor at the bottom can transfer a variable torque to the frame through the magnets fixed to the rotor.

Lagrangian mechanics can be used to extract the equations of motion for this system with two degrees of freedom:

, the angular displacement of the pendulum rod from the vertical,

, the angular displacement of the frame around its axis.

The Lagrangian of the system is the difference between its total kinetic and potential energies:

;

,

where are the masses of the frame rods, the pendulum bob, and the pendulum rod, respectively, is the length of pendulum rod, and is the distance from the frame rods to the axis of the frame.

The equations of motion can be derived from the Euler–Lagrange equations

, , resulting in:

,

,

where is the driving torque of the motor at the base of the frame. Friction between the frame and its axis and the pendulum and its suspension is neglected.

See also a similar, real physical pendulum constructed at SPENDULAB at Rice University [1].

[2] A. Ertas and S. Garza, "Experimental Investigation of Dynamics and Bifurcations of an Impacting Spherical Pendulum," Experimental Mechanics, 49(5), 2009 pp. 653–662.