The equations of motion will be derived by determining the Lagrangian
\(L=T-V\) with the two generalized coordinates \(\varphi_1\) and
\(\varphi_2\) where \(T\) represents the total kinetic energy
while \(V\) is the potential energy of the system. This potential
energy is just
with \(m_1\) and \(m_2\) representing the masses of the two bobs
mounted on the tips of the two pendulum rods (which are assumed as being
weightless). As always, \(g\) represents the gravitational
acceleration.
To derive the total kinetic energy the positions of the pendulum arm
tips \((x_1,y_1)\) and \((x_2,y_2)\) are required:
To simplify things further it will be assumed that \(m_1=m_2=1\) and \(l_1=l_2=1\)
in arbitrary units yielding the following two equations of motion of the double pendulum based on
(8) and
(9):
The implementation of equations
(10) and (11) is straightforward as shown in figures 2 and 3. Both circuits require
the functions \(\sin(\varphi_1-\varphi_2)\),
\(\cos(\varphi_1-\varphi_2)\), \(\sin(\varphi_1)\), and
\(\sin(\varphi_2)\), which are generated by three distinct
sub-circuits such as the one shown in figure 4. These circuits yield
sine and cosine of an angle based on the first time-derivative of this
angle, so the simulation is not limited to a finite range for the two
angles \(\varphi_1\) and \(\varphi_2\).
It should be noted that each of the two integrators of each of these
three harmonic function generators has a potentiometer connected to its
respective initial value input. When a simulation run with given initial
values for \(\varphi_1(0)\) and \(\varphi_2(0)\) is to be
started, these potentiometers have to be set to
\(\cos(\varphi_1(0))\), \(\sin(\varphi_1(0))\) and
\(\cos(\varphi_2(0))\), \(\sin(\varphi_2(0))\), respectively.
Figure 2: Implementation of equation (10)
Figure 3: Implementation of equation (11)
Since \(\dot{\varphi}_1\) and \(\dot{\varphi}_2\) are readily
available from the circuits shown in figures 2 and 3, two of these harmonic
function generators can be directly fed with these values. The input for
the third function generator is generated by a two-input summer as shown in figure 5.
Figure 4: Generating sin(\(\varphi\)) and cos(\(\varphi\))
With \(\dot{\varphi}_1\) and \(\dot{\varphi}_2\) and thus
\(\sin(\varphi_1)\), \(\cos(\varphi_1)\), and
\(\sin(\varphi_2)\), \(\cos(\varphi_2)\) readily available, the
double pendulum can be displayed on an oscilloscope featuring two
separate \(x,y\)-inputs by means of the circuit shown in figure 6. To yield a flicker-free display,
this circuit requires a high-frequency input \(\sin(\omega t)\)
which can be obtained by two integrators in series with a summer, the
output of which is fed back into the first integrators. This circuit is
not shown here but can be found in [ULMANN 2017, p.67].
Figure 7 shows a long-term exposure
of the movements of the double pendulum starting as an inverted pendulum
with its first pendulum rod pointing upwards while the second one points
downwards.
Figure 7: Long-term exposure of a double pendulum simulation run
This simulation requires ten integrators, 15 summers, 16 multipliers,
and 17 coefficient potentiometers.