The spring pendulum is a focal point of inquiry in physics. Classical smartphone experiments use the accelerometer to collect data to further investigate spring pendulum phenomena. However, due to strong error propagation, the damping of the movement cannot be analyzed with this data. The advent of LiDAR-enabled smartphones presents a novel avenue for dissecting the nuances of this classical physics phenomenon.

While the practice of analyzing spring pendulums with smartphone accelerometers is well established,1 the introduction of LiDAR sensor technology in smartphones opens new avenues of exploration.

LiDAR, an acronym for Light Detection And Ranging, is a technology used for measuring distances with high precision. It operates by emitting pulses of infrared laser light toward the target. Upon striking the object, the light pulses are reflected and captured by the LiDAR sensor. The sensor accurately determines the distance between itself and the target by calculating the time it takes for the light pulses to return. Unlike traditional measuring methods, LiDAR operates in real time and reliably and accurately measures distances, making it a powerful tool for various applications.

This description is among the first published smartphone experiments using the LiDAR sensor.2 The accelerometer data usually collected in this experiment is somewhat abstract and may pose comprehension challenges for some students.3 In contrast, the LiDAR sensor, which measures distance instead of acceleration, might present a more intuitive alternative. This demonstrates the potential of smartphone-embedded LiDAR sensors for physics education, providing a novel approach to probing classical physics phenomena.

A spring pendulum consists of a mass (like a smartphone) attached to a spring, which is fixed at one end, allowing the mass to exhibit translational motion. The equation of the motion for a damped spring pendulum can be expressed as
(1)
with A as maximum amplitude, λ as the decay rate, ω as the angular frequency, δ as the initial phase, and d0 as the distance between the smartphone and the ground in equilibrium. Since we have an underdamped oscillation, we can assume
(2)
with D as the spring constant and m as the mass attached to the pendulum.
A spring pendulum system is set up, with a LiDAR-enabled smartphone attached at the end of the pendulum. We used cable ties to attach the smartphone to the spring. The smartphone is positioned with its sensor facing the ground, ready to capture the pendulum’s motion (see Fig. 1). The LiDAR sensor measures the distance between the smartphone and the ground, using the free Phyphox app.4 
Fig. 1.

Experimental setup.

Fig. 1.

Experimental setup.

Close modal

As the pendulum oscillates, the LiDAR sensor tracks the trajectory along the y-axis, vividly capturing the motion in this dimension. The exact distances measured are recorded and stored for later analysis.

The distance d at any given time t is described by Eq. (1).

We measured the mass of our smartphone, including the cable ties, and got m = 0.210 kg.

The collected data can be analyzed graphically or exported to a spreadsheet application like Microsoft Excel for thorough analysis. For the analysis, noise at the beginning and end of the experiment, which is caused by releasing and stopping the smartphone, should be removed. The different characteristics of the spring pendulum can be examined in two different ways. By interacting with the graph in the app itself, one can determine the period by selecting characteristic points such as adjacent maxima. By selecting a maximum and a minimum, the amplitude can be determined. Damping cannot be analyzed within the app. For more precise outcomes and to investigate damping effects, it is recommended to review the exported data for the identified local minima and maxima, which will yield more accurate values and facilitate the analysis of damping.

We aim to determine a spring pendulum’s spring constant and other relevant parameters using experimental data.

After exporting our data, we conducted an analysis using the Solver Add-In in Excel and the least-squares method. In addition to the column for the time and the measured deflections, we have added a column with the modeled values. These were based on the form of Eq. (1). In the next column of the table, we calculated the square of the difference between these two values. The initial values for A, λ, δ, and d0 could be roughly estimated from the graphical representation in the app. With these first estimated values, we sum up the square of the individual differences from each measured value to the modeled value. This provides us with the least-squares value, an indicator of model fit. Our first least-squares value was over 80, indicating a bad fit. After using the Solver Add-In to optimize the fit, the least-squares value dropped to 0.11, therefore indicating a good fit.

The components of the distance function could thus be read from the fitted function. The maximum amplitude was calculated to be A = 0.228 m, the decay rate λ = 0.017 s−1, the angular frequency ω = 4.575 rad/s, the initial phase δ = 1.006 rad, and the equilibrium position d0 = 0.470 m. To calculate the spring constant, we need the mass of the smartphone. After rearranging Eq. (2), we can determine
as the spring constant.
With this calculation, we have calculated all constants describing the motion of our pendulum. The measured data (blue) and the fitted data (orange) are displayed in Fig. 2. The integration of smartphone-based LiDAR technology proves valuable in measuring the damped spring pendulum’s oscillation. The data reveals the damped harmonic and pendular motion, facilitating fundamental analysis of the spring constant and other intrinsic parameters. Students often have significant difficulties understanding graphical representations.5 Obtaining the graphical representation of the pendulum’s oscillation might help foster their understanding of graphical representations: the observed oscillation is directly displayed in the graph.
Fig. 2.

The measured and fitted oscillation of the spring pendulum.

Fig. 2.

The measured and fitted oscillation of the spring pendulum.

Close modal

The merger of smartphone technology and LiDAR has opened up a new, accessible method for investigating classical physics phenomena like the damped spring pendulum. Parallel to collecting data to analyze the damped spring pendulum with the LiDAR sensor, one could investigate the (damped) simple pendulum.

1.
J.
Kuhn
and
P.
Vogt
, “
Analyzing spring pendulum phenomena with a smartphone acceleration sensor
,”
Phys. Teach.
50
,
504
505
(
2012
).
2.
A.
Bewersdorff
and
D.
Weiler
, “
Measuring the speed of light in liquids with a smartphone
,”
Phys. Teach.
60
,
516
517
(
2022
).
3.
M. E.
Munggarani
,
Y.
Supriyati
, and
I. M.
Astra
, “
Identifying high school students’ misconceptions using digital four-tier diagnostic tests in distance learning
,”
J. Phys.: Conf. Series
2019
,
012016
(
2021
).
4.
Phyphox app
, https://phyphox.org.
5.
S.
Becker
,
L.
Knippertz
,
S.
Ruzika
, and
J.
Kuhn
, “
Persistence, context, and visual strategy of graph understanding: Gaze patterns reveal student difficulties in interpreting graphs
,”
Phys. Rev. Phys. Educ. Res.
19
,
020142
(
2023
).

iPhysicsLabs are short articles featuring uses of smartphone technology in physics teaching. To submit, please email Jochen Kuhn ([email protected]) and Patrik Vogt ([email protected]).