You are on page 1of 4

Smart physics with smartphone sensors

E. Ballester1, J.C. Castro-Palacio2, L. Velázquez-Abad3, M.H. Giménez1, J.A. Monsoriu1, L.M. Sánchez Ruiz1
1
Escuela Técnica Superior de Ingeniería del Diseño (ETSID), Universitat Politècnica de València, Spain
2
Departement Chemie, Physikalische Chemie, Universität Basel, Switzerland.
3
Departamento de Física, Universidad Católica del Norte, Antofagasta, Chile.
lmsr@mat.upv.es

Abstract— Smartphones’ acceleration sensors have got Engineering and Physics degrees. We go through a series of
useful applications in standard physical situations. We have examples while we comment on various works published
taken advantage of its capabilities in a number of Physics recently in the literature which include our own contributions.
experiments and perform them in a series of examples within
classical mechanical and kinematic situations such as free and The outline of this work is the following. First we briefly
damped oscillations due to Earth’s gravity. By properly introduce the acceleration sensor and the Android application
connecting the smartphones other data may be collected and to handle it, basically those we have used in our experiments.
situations studied such as rotational motion. These experiences Subsequently, three examples of free, damped and coupled
have been carried out at the Higher Technical School of Design oscillations, respectively, are explained. In a next section, an
Engineering (ETSID in Spanish) of the Universitat Politècnica of example of rotational motion of a cylindrical body is presented.
València (Spain) and through these examples students learn Finally, some conclusions and outlook are commented.
amenable applications of the capabilities of their smartphones,
that facilitate their interest and motivation in introductory and II. ACCELERATION SENSOR
first-year university Physics courses. The smartphones’ accelerometer sensor of is a micro-
electro-mechanical system based on three mutually
Keywords— Laboratory Experiences, Approaches to Student-
perpendicular silicon circuits, each one oscillating in one
Centered Education, Teaching & Learning Experiences in
Engineering Education, First and Second Year Program
direction as a ball hanging on a spring whose movement is
Introduction restricted to one direction. The shift in the position of the
moving body is usually measured by a capacitive effect.
The measurement of the acceleration sensors can be
I. INTRODUCTION registered with the free smartphone application Accelerometer
Monitor ver 1.5.0. This application takes 348 kB of SD card
The use of portable devices in all the teaching levels of
memory and can also be downloaded from Google play
Physics has increased very fast in the past decade. Various
website [10]. This application shows the acceleration
experiments using digital cameras [1], webcams [2], optical
components ax, ay, and az on x, y and z - axes at each time step.
mouse of computers [3], wiimote [4], and other game console
The resolution of the sensor in the measurement of the
controllers [5] have been reported. For instance, physical
acceleration is įa = 0.01197 m/s² and the average sampling
processes can be followed and analyzed by using a simple
time is įt=0.02 s. This application also allows saving an output
digital camera. The recorded videos can be used to measure
file, from which the data can be retrieved for further analysis.
time intervals, distances and trajectories of moving objects.
Also wireless devices, such as the wiimote, are used in Physics The output of the mobile application with the acceleration
teaching. These devices bear a three-axis accelerometer which data is collected in an ASCII file. First, a heading with some
communicates with the game console by a bluetooth device. information such as "saving start date and time", "sensor
resolution" and "sensor vendor", can be found. Following the
More recently, smartphones have been incorporated into the
heading, the sensor measurements are shown. The first three
variety of portable devices in Physics teaching [6-9].
columns indicate the acceleration in the three perpendicular
Smartphones integrate in one device many capabilities which
axis, x (perpendicular to the device, positive to the right), y
were apart previously. These capabilities may include a
(along the device, positive upward) and z (perpendicular to x
camera, a microphone, a speaker, an accelerometer sensor, a
and y-axis, with positive direction as coming out
magnetic field sensor, and an ambient light sensor.
perpendicularly from the device display).
In this contribution, we focus on the accelerometer sensor
Once the applications have been downloaded to the mobile
of the smartphones and its applications to the study of
device, a small test can be performed to proof their correct
phenomena within the topic of Mechanics where the quantity
working. When the mobile is left quiet on a horizontal surface,
“acceleration” plays a central role. These experiences have
the output curves for the acceleration must exhibit values very
been carried out at the Higher Technical School of Design
close to zero for x and y-axes, and around 9.8 m/s² for the z-
Engineering (ETSID in Spanish) of the Technical University of
axis.
Valencia (Universitat Politècnica de València UPV, Spain).
This is a very basic topic in all General Physics courses for

978-1-4799-3922-0/14/$31.00 ©2014 IEEE


III. FREE AND DAMPED OSCILLATIONS In Figure 2, the experimental data of the acceleration are
Very recently we studied the free and damped oscillations shown along with a fit to equation (1) using the Levemberg-
of a smartphone with its acceleration sensor [6]. We will recall Marquardt algorithm [11]. The parameters resulting from the
here the main aspects of the experiments. In Figure 4a, a fit are shown in table 1. Similar results as in Figure 2 were
photograph of the experimental setup is shown. In this figure obtained in reference [6], where the values of the periods
the following elements are present: (1) the smartphone, (2) cart, calculated from the fitted frequencies and from the direct
(3) air track, (4) spring, (5) photometer and (6) fixed end. The measurement of the time with photometer were compared
smartphone used in the experiments was an LG-E510 bearing yielding a very good agreement. The discrepancy was less
an Android version 2.3.4. The mass of the phone and the cart than ͳΨ for most cases.
were 124.0 g and 180.6 g, respectively. The data was collected
with the Accelerometer Monitor application whose features
were commented above in this document. The force constant of
the spring was ሺͳͺͻ േ ͹ሻȀ݉.
The acceleration versus time can be represented in terms of
a sinusoidal function,

 ܽሺ‫ݐ‬ሻ ൌ ‫ି ݁ܦ‬ఊ௧ ‫݊݅ݏ‬ሺ߱‫ ݐ‬൅ ߮ሻ ,   

where ‫ ܦ‬is the initial amplitude of the acceleration, ߛ is the


linear damping constant, ߱ is the angular frequency, and ߮ is
the phase constant. A damped oscillation can be also observed
on the display of the smartphone in Figure 1b.
To initiate the free oscillation experiment the air supply of
the air track is switched on. This allows a layer of air between
the cart and the air track to decrease the friction. Under these
conditions the motion of the cart is started with almost no
friction (ߛ ൌ Ͳሻ. In order to study damped harmonic
oscillations (ߛ ് Ͳሻ, the air supply was decreased in the air
track. This causes some friction to appear between the glider
and the air track.

Fig 2. Experimental acceleration data (open circles) and fitted curve (solid
line) for the free (top) and damped (bottom) harmonic motion.

Table 1. Fit of the experimental acceleration data to equation

Free Damped
D (m/s2) ͳǤʹͲͶ േ ͲǤͲͲ͸ ͲǤͻ͸͹ േ ͲǤͲͲͻ
ߛ (s-1) 0 ͲǤʹͷͺ േ ͲǤͲͲͶ
߱ (rad/s) ʹͳǤͷͶ͸ േ ͲǤͲͲͷ ͳ͹Ǥ͸͹ͳ േ ͲǤͲͲͳ
߮ ሺ‫݀ܽݎ‬ሻ ʹǤͶ͹ͻ േ ͲǤͲͲͻ െͲǤ͸ʹͻ േ ͲǤͲͲͷ
R2 0.9968 0.9927

IV. COUPLED OSCILLATIONS


In order to study coupled oscillations, we have used an air
track and two smartphones coupled by springs [7]. In Figure 3,
the elements of the setup are shown as follows: (1) and (2) are
the smartphones, (3) the photometer, (4) digital counter of the
Fig 1. a) Photograph of the experimental setup with the smartphone moving photometer, (5) air supplier, (6) the connecting spring, and (7)
with free oscillations. b) A close-up of the smartphone moving with damped the right-hand fixed end.
oscillatons.
V. ROTATIONAL MOTION
Next we will illustrate an example of rotational motion. In
the following experiment, we use a cylindrical body and a
smartphone which is attached to one of its sides. Figure 5a
shows a photograph of the mounting. In Figure 5b, a
schematic representation of the setup is shown.
The purpose of the experiment is to measure the linear
Fig 3. Experimental setup to study coupled oscillations. velocity of the center of mass of the cylindrical body of radius
R=7.0 cm by means of measuring its angular velocity, ߱,
For this purpose, a smartphone was mounted on each cart. using the smartphone. The rotation axis of the smartphone is
The mobile (1) is a Smartphone LG-E510 and the mobile (2) is the same as that of the cylindrical body. By giving a small
a smartphone Samsung Galaxy S1GT-i9000. The mass of each push to the cylindrical body it starts moving along the distance
cart was ݉ ൌ ሺͷͲͲǤͷ േ ͲǤͳሻ݃. The force constant of each of L=50 cm with approximately a constant velocity of its center
the three springs was ݇ ൌ ሺͶ͹Ǥͳ േ ͲǤʹሻܰ݉ିଵ . The of mass. In this experiment, the ܽ௫ and ܽ௬ components of the
acceleration oscillations of carts 1 and 2 can be described by acceleration vary with time while the ܽ௭ component is zero.
the sum of the symmetric and antisymmetric oscillations, Both ܽ௫ and ܽ௬ components measured by the sensor of the
ଵ smartphone can be fitted to the following sinusoidal functional
ܽଵ ൌ െ ሾ‫ܣ‬ଵ ߱ଵଶ •‹ሺ߱ଵ ‫ ݐ‬൅ ߮ଵ ሻ ൅ ‫ܣ‬ଶ ߱ଶଶ •‹ሺ߱ଶ ‫ ݐ‬൅ ߮ଶ ሻሿǡ   form,


ܽଶ ൌ െ ሾ‫ܣ‬ଵ ߱ଵଶ •‹ሺ߱ଵ ‫ ݐ‬൅ ߮ଵ ሻ െ ‫ܣ‬ଶ ߱ଶଶ •‹ሺ߱ଶ ‫ ݐ‬൅ ߮ଶ ሻሿǡ   ܽሺ‫ݐ‬ሻ ൌ ‫ܣ‬௥ ‫݊݅ݏ‬ሺ߱௥ ‫ ݐ‬൅ ߠሻ  

where ‫ܣ‬ଵ and ‫ܣ‬ଶ are the amplitudes, ߱ଵ and ߱ଶ the normal where ‫ܣ‬௥ is the amplitude, ߱௥ is the angular velocity and ߠ the
angular frequencies, and ߮ଵ and ߮ଶ the phase constants, for phase constant. The results of the fitting of the acceleration
the symmetric and antisymetric modes, respectively. The data to above equation are ‫ܣ‬௥ ൌ ሺͷǤ͸͵ േ ͲǤͲͷሻm/s2, ߱௥ ൌ
above equations reduce to the symmetric and antisymmetric ሺͶǤͳͶͶ േ ͲǤͲͲ͵ሻrad/s, and ߠ ൌ ሺͶǤͶͷ േ ͲǤͲʹ) rad. The curve
cases for ‫ܣ‬ଶ ൌ Ͳ and ‫ܣ‬ଵ ൌ Ͳ, respectively. More details on the of the acceleration ܽ௫ is shown in Figure 6. The parameters
derivation of equations (2) and (3) can be found in Reference and their uncertainties have been obtained by using the non-
[7]. In Figure 4, an arbitrary oscillation of the carts is shown. linear fitting algorithm of Levenberg-Marquardt [11]. We are
The open circles indicate the experimental acceleration data also assuming that the friction force between the surface and
and the red solid line, the fit to equations (2) and (3). A very the body is enough to keep it rolling and never sliding. Under
good fit is observed. this condition, the velocity of the center of mass can be
calculated as ‫ݒ‬௖௠ ൌ ߱௥ ܴ =ሺͲǤ͵ͳ͹ േ ͲǤͲͲͷሻ m/s.

Fig 4. Acceleration of the carts 1 (top) and 2 (bottom) for an oscillation Fig 5. a) Photograph of the cylindrical body and the smartphone during the
resulting from the combination of symmetric and asymmetric modes experiment. b) Schematic representation of the setup.
by means of a pulley. Other sensors such as the light ambient
sensor and the magnetic field sensor can be also integrated to
Physics teaching experiments.
ACKNOWLEDGMENT
The authors would like to thank the Institute of Education
Sciences, Universitat Politècnica de València (Spain), for the
support of the Teaching Innovation Group, MoMa.
REFERENCES
[1] J. A. Monsoriu, M. H. Giménez, J. Riera, and Ana Vidaurre, “Measuring
coupled oscillations using an automated video analysis technique based
on image recognition,” European Journal of Physics, vol. 26, pp. 1149-
1155, 2005.
Fig 6. The experimental acceleration data (open circles) and the curve fit (red [2] S. Shamim, W. Zia, and M. S. Anwar, “Investigating viscous damping
solid line) for the Uniform Circular Motion Experiment. using a webcam,” American Journal of Physics, vol. 78, pp. 433-436,
2010.
The results obtained with the smartphone acceleration [3] T. W. Ng and K. T. Ang, “The optical mouse for harmonic oscillator
sensor where compared with the results obtained from a video experimentation,” American Journal of Physics, vol. 73, pp. 793-795,
2005.
recording of the center of mass of the cylindrical body. The
[4] S. L. Tomarken, D. R. Simons, R. W. Helms, W. E. Johns, K. E.
elapsed time along the distance ‫ ܮ‬ൌ ሺͲǤͷͲ േ ͲǤͲͳሻ m is Schriver et al., “Motion tracking in undergraduate physics laboratories
measured from the recording, resulting ‫ ݐ‬ൌ ሺͳǤͷͺ േ ͲǤͲͳሻs. with the Wii remote,” American Journal of Physics, vol. 80, pp. 351-
Then, the velocity of the center of mass, denoted in this case 354, 2012.
ƍ ƍ
as, ‫ݒ‬௖௠  was calculated as ‫ݒ‬௖௠ ൌ ‫ܮ‬Ȁ‫= ݐ‬ሺͲǤ͵ʹ͹ േ ͲǤͲͲ͵ሻ m/s. [5] M. Vannoni and S. Straulino, “Low-cost accelerometers for physics
experiments,” European Journal of Physics, vol. 28, pp. 781-787, 2007.
The discrepancy of ͵Ǥ͵Ψ indicates the good agreement
[6] J. C. Castro-Palacio, L. Velázquez-Abad, M. H. Giménez, and J. A.
between both variants. Monsoriu, “Using the mobile phone acceleration sensor in Physics
experiments: free and damped harmonic oscillations,” American Journal
VI. CONCLUSIONS AND OUTLOOK of Physics, vol. 6, pp. 472-475, 2013.
There is a number of works on the smartphone acceleration [7] J. C. Castro-Palacio, L. Velázquez-Abad, F. Giménez, and J. A.
sensor which demonstrate the feasibility of using this sensor in Monsoriu, “A quantitative analysis of coupled oscillations using mobile
accelerometer sensors,” European Journal of Physics, vol. 34, pp. 737-
Physics teaching experiments, mostly in the topic of 744, 2013.
Mechanics which is present in all Introductory and General [8] J. A. Sans, F. J. Manjón, A. L. J. Pereira, J. A. Gómez-Tejedor, and J. A.
Physics Courses. In this work we have shown examples for Monsoriu, “Oscillations studied with the smartphone ambient light
several types of one-dimensional motions where the sensor,” European Journal of Physics, vol. 34, pp. 1349-1354, 2013.
acceleration plays an important role in characterizing the [9] J. A Gómez-Tejedor, J. C Castro-Palacio, and J. A. Monsoriu, “The
acoustic Doppler effect applied to the study of linear motions,”
systems. They include oscillatory and circular motions. The European Journal of Physics, vol. 35, 025006, 2014.
methodology for the study of one-dimensional oscillations can [10] Google Play, https://play.google.com/store/apps
be easy extended to two-dimensional oscillations. On the other [11] D. Marquardt, “An algorithm for least-squares estimation of nonlinear
hand, the study of the rotational motion can be easily extended parameters,” SIAM Journal of Applied Mathematics, vol. 11, pp. 431-
to the study of the uniformly accelerated circular motion by 441, 1963.
using for example, a rotator disc connected to a hanging body

You might also like