Вы находитесь на странице: 1из 4

Physics Education

FRONTLINE

Measurement of breathing rate with a smartphone magnetometer: an


engaging classroom activity in physics and biology
To cite this article: Unofre Pili 2019 Phys. Educ. 54 063001

View the article online for updates and enhancements.

This content was downloaded from IP address 54.190.231.70 on 13/10/2019 at 12:23


Frontline
Phys. Educ. 54 (2019) 063001 (3pp) iopscience.org/ped

Measurement of breathing
rate with a smartphone
magnetometer: an engaging
classroom activity in physics
and biology
Unofre Pili
University of San Carlos, Cebu City 6000, The Philippines

E-mail: ubpili@usc.edu.ph

Abstract
This article presents a simple and handy technique to measure respiration
rate that employs the magnetic field sensor of a smartphone device. On the
abdomen of the subject a tiny and very light permanent magnet is placed
and the apparently periodic field—caused by what appears to be periodic
breathing of the subject—of the magnet is recorded by the smartphone with
the help of its magnetic field sensor. The acquired magnetic field signals
allows for the measurement of the period, thus the breathing rate; the value
obtained is well within range of normal values. The activity is seen to afford
instructional significance in a physics or biology class or, to an extent, in a
clinical setting.

1. Introduction method is seen as a handy alternative for mea-


The use of the smartphone gadget in elementary suring breathing frequencies. For its being non-
experimental physics is well-explored and is invasive and unobtrusive, the method is likely on
found to be effective and reliable. For instance, par, if not relatively advantageous in comparison
its magnetic field sensor has emerged to be reli- to other methods [3, 4].
able in studying uniform motion kinematics [1]
and in measuring gravitational acceleration [2].
In this article, the same sensor is used to mea- 2.  Theoretical background
sure respiration rate. The current work appears The dependence on distance from the source to
to be pedagogically significant as an engaging field point of the strength of magnetic field is a
and creative way in demonstrating the depend­ common place physical phenomenon, from a
ence of magnetic field on distance separating the theoretical angle in particular. Experimental data
source and the field point; in biology or in any life of magnetic field has also been found to match
sciences-related courses, the activity presented well with theory [5] that expresses the strength
would suit well for a classroom-based measure- of a certain permanent magnet as a function of
ment of breathing rates. In a clinical setting, the distance.

1361-6552/19/063001+3$33.00 1 © 2019 IOP Publishing Ltd


U Pili
Hence, predictably, the strength of the magn­
etic field of a permanent magnet placed on the
abdomen of a subject will vary—because of the
little changes in distance as the subject breaths—
relative to an observation point located slightly
above the subject’s abdomen. In what would
appear as periodic variations of the magnetic field
is due to the breathing activity of the subject. This
observation suggests the possibility of measuring
respiration rates from a magnetic field time series.

3.  Experimental procedure


The experimental setup, shown in figure 1, con- Figure 1. Computer-aided hand-drawn image of the
sists of a smartphone with built-in magnetic experimental setup (image credit: Michael Jay H.
field sensor and running Physics Toolbox Sensor Roque). This image, which implies an athletic subject,
is however not as accurate since the actual subject is
Suites [6], an Android application. Further not an athlete nor an athletic one.
needed is a computer running MS Excel for data
processing, a tiny permanent magnet, and the sub- 80.0
ject. Performing the measurements of breathing 60.0
rate, we have allowed the subject to lie flat and
Magnetic field (µT)

40.0

instructed to breath as normal as possible. With 20.0

the small, cylindrical, permanent magnet now 0.0


–20.0
placed on her abdomen we brought the smart-
–40.0
phone device—its magnetic field sensor already –60.0
running via the Android application—directly –80.0
above the small magnet. The smartphone hand- –100.0

held about 4.0 cm from the magnet was oriented 1.8 6.8 11.8 16.8 21.8 26.8

in a vertical position allowing measurements of Time (s)

the x-component of the magnetic field as a func-


tion of time. The data file was then transferred, Figure 2.  Magnetic field time series associated to the
via bluetooth, to the computer for re-plotting and breathing activity of the subject.
simple data analysis.
per minute which is well within the normal range
of 12–18 breaths per minute [7].
4.  Experimental results
Figure 2 shows the magnetic field signal as a
time series indicating peaks and valleys. The 5.  Conclusions and recommendations
peaks are when the magnet is farthest from the The smartphone-based magnetic field sensor has
smartphone (subject breathing in) while the val- emerged to be a useful alternative tool for measur-
leys occur when the gadget and the magnet are ing respiration rate. The measurement obtained
closest to each other (subject breathing out). Any falls well within the range of normal values.
two successive peaks (or valleys) in the graph Furthermore, the apparent non-invasive nature
are associated to one complete breathing cycle; of the method makes it, on par, if not relatively
therefore by counting the number of pairs of two advantageous, in comparison to other methods.
successive peaks in each graph (or section of the Thus aside from pure classroom use, the technique
graph) and subsequently dividing it by the time presented in the current work is also likely useful
interval (obtained using the data cursor) between in clinical settings. But then again, the magnetic
those selected peaks (or valleys) would yield the field signal appears to be instructionally helpful
period and frequency. For a 37-year-old female among introductory physics teachers in empha-
subject, the breathing rate obtained is 16 breaths sizing the distance-dependence of magnetic field

November 2019 2 Phys. Educ. 54 (2019) 063001


Measurement of breathing rate with a smartphone magnetometer: an engaging classroom activity
to students. Indeed, this well-known phenomenon [2] Pili U and Violanda R 2018 Measurement of g
can be easily demonstrated by simply moving with a smartphone magnetometer Phys. Teach.
56 258–9
the magnet at different distances while monitor-
[3] Lazaro J, Yunyoung N, Gil E, Laguna P and
ing the magnetic field strength with the same Chon K H 2015 Respiratory rate derived
smartphone-based magnetometer. But by dem- from smartphone camera-acquired-pulse
onstrating the phenomenon via measurements photoplethysmographic signals Physiol. Meas.
of respiration rates is likely to make the activity 36 2317–33
[4] Rajesh P, Sengottuvel S, Gireesan K M P,
even more exciting, engaging, and insightful. In a
Janawadkar M P and Radhakrishnan T S
biological or physiological science class, involv- 2015 Extraction of breathing pattern using
ing toddlers, older people, and subjects involved temperature sensor on Arduino board AIP
in athletics is a nice consideration. Matter of fact, Conf. Proc. 1665 060007
for its apparent accuracy and accessibility the [5] Arribas E, Escobar I, Suarez C P, Najera A
and Belendez A 2015 Measurement of the
technique can be utilized in athletic events as well
magnetic field of small magnets with a
where information of breathing rates of athletes smartphone: a very economical laboratory
may arise randomly. practice for introductory physics practice Eur.
J. Phys. 36 065002
[6] Vieyra Softward Physics Toolbox Sensor
Acknowledgment Suites (https://play.google.com/store/
apps/details?id=com.chrystianvieyra.
The author wishes to thank the University of San physicstoolboxsuite&hl=en_US)
Carlos for its continued support. And, for allow- [7] Barrett K E, Barman S M, Brooks H L and Yuan J
ing herself to pose as subject, the author is thank- 2012 Ganong’s Review of Medical Physiology
ful to Ms Maricel Clar. 24th edn (New York: McGraw-Hill) p 619

Received 2 July 2019


Accepted for publication 7 August 2019 Unofre Pili is currently working
https://doi.org/10.1088/1361-6552/ab393f towards his PhD in physics on a
dissertation research topic in
high-temperature superconductivity.
References Teaching introductory physics at the
[1] Nuryantini A Y, Sawitri A and Nuryandin B W University of San Carlos, he is also
2018 Constant speed motion analysis using into designing accessible and
a smartphone magnetometer Phys. Educ. cost-effective introductory physics
53 065021 experiments.

November 2019 3 Phys. Educ. 54 (2019) 063001

Вам также может понравиться