The double pendulum is a simple mechanical system that, in theory, can exihibit signs of chaos. In this lab, you will use two interconnected ‘compound pendulums’ and investigate the degree to which their combined behavior is nonlinear and chaotic. You should think of this lab as a follow-on to Lab 1, where you investigated the behavior of a single compound pendulum swinging at large angles.
This lab is self-scheduled. You will have some time during class to get started, and you should complete data collection by Friday, May 2nd. This lab will be held in Singer Hall 246 using 4 lab computers. Once your group starts working at one station, it is recommended that you complete the entire lab at that station. You have access to SH 246 at any time of day.
This lab makes use of two aluminum bars. The first aluminum bar — labeled the Upper Pendulum — is attached to a fixed stand, while the second bar — labeled the Lower Pendulum — is attached to the lower end of the upper pendulum. Each attachment point is a Vishay Spectrol 157-11103 potentiometer, which provides a voltage reading that is expected to scale, hopefully linearly, with the angle of rotation of the shaft. The potentiometers are already wired up and connected to the data collection device.

In addition to the pendulum itself, this lab involves the use of a release mechanism that will allow you to reliably repeat experiments. The release mechanism takes the form of a simple hand-driven screw on which the lower pendulum can rest in a configuration of your choice, as shown below. Dynamic experiments are started by retracting the screw and letting the pendulum fall with zero initial speed.

Data collection is carried out using the Analog Discovery 3, a multi-purpose data collection device that here provides power and ground to the potentiometers and reads the analog output from them into an oscilloscope software on the lab workstations.
This lab uses Digilent Waveforms, similar to Lab 1. A collection of settings and variable names in Waveforms is called a ‘workspace’; download the workspace for this lab at the following locations:
Waveforms has already been installed on the lab computers. Should you need to install it on your personal computer, you can download it here. A reference manual is available here.

There are a few different ways of recording data using Waveforms.
test-0001.csv, test-0002.csv. The system will automatically increment names and — if you select ‘Manual’ execution — collect this data whenever you click on Save in the ‘Logging’ panel. It may be a good idea to use this method for calibration.

Just like lab 1, you will need to calibrate the two pendulums. For this purpose, you have a 360-degree protractor. Use this portractor to record the voltage values for the following fifteen angles, measured counterclockwise with zero being the stable, at-rest position. Collect data for 5 seconds when calibrating.
Remember that you need one calibration set for each pendulum for a total of 15x2=30 calibration csv files.
| No. | Angle |
|---|---|
| 1 | 0 |
| 2 | 10 |
| 3 | 30 |
| 4 | 60 |
| 5 | 90 |
| 6 | 120 |
| 7 | 150 |
| 8 | 170 |
| 9 | 190 |
| 10 | 210 |
| 11 | 240 |
| 12 | 270 |
| 13 | 300 |
| 14 | 330 |
| 15 | 350 |

Set the horizontal and vertical scaling and offset in such a way that you can view the interesting dynamical behavior ‘in one go’. This means that you may have to change the ‘Base’ setting on the ‘Time’ panel and the ‘Offset’ and ‘Range’ settings on the ‘Channel’ panels, as shown below.


However, you should start with the default settings in the workspace files you downloaded, and hopefully you won’t need to change anything.
The motion of a compound double pendulum can be described using just two coordinates: $\theta_1$ and $\theta_2$ as shown in the diagram below.

Since the pendulums are rigid bodies, it is sufficient to track the motion of their centers of mass. We can write their positions as

and their velocities, after differentiating with respect to time, are:

With this information at hand, we can write the potential and kinetic energies of the system, which then yields an expression for the Lagrangian. …
The Euler-Lagrange equation

can then be used for each coordinate, where the term n.c.f refers to non-conservative body forces, in this case, friction. We will use, for the friction, a simple term of the form

where ‘c’ is a constant friction coefficient that could be different for each constituent pendulum.
There are four tasks, each of which involve collecting data (which you must do in the lab) and analyzing it (which you can do at home).
Choose an initial condition for which you see multiple 360-degree turns of the lower pendulum and no 360-degree turns of the upper pendulum. Count the number, direction, and order of 360-degree turns of the lower pendulum. For example, a complete record of one experiment could be:
-360+360+360-360For this part, you are advised to use the protractor to note down the initial angles.
Present your data either in table format or visually.
The potentiometers only report angular position, not angular velocity. For one set of initial conditions — different from the previous sections — use a program such as MATLAB’s diff function to calculate the angular velocity from the angular position by doing simple numerical differentiation to first order. Generate a phase plot in which you show the angular position on the horizontal axis and the angular velocity on the vertical axis. You may choose to do this for an initial conditions with no 360-degree turns if you wish.
Choose two initial conditions.
For each initial condition, record the initial angles using the protractor (even though you have already carried out calibration). Then, compare the behavior of the physical pendulum with a numerical solution of the governing equations with the same initial condition. You are welcome to modify the code available here for this purpose, or you can write your own solution. You will have to choose a suitable value for the fruction coefficient of each pendulum.
By tuning the chosen values of the two friction coefficients, how close an agreement are you able to bring between the numerical solutions and the physical data? You may wish to use accurate values of the mass and length of the pendulums, and to ensure that all terms in the equation are in the correct units.
Plot your results in any suitable form of your choice.