Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Physics Education

PAPER • OPEN ACCESS You may also like


- Determine g using Lato Lato
Measuring g using magnetic induction Edy Wibowo

- UNIVERSALITY OF THE
To cite this article: Ihab F Riad 2023 Phys. Educ. 58 035008 ACCELERATION DUE TO GRAVITY ON
THE SURFACE OF A RAPIDLY
ROTATING NEUTRON STAR
Mohammad AlGendy and Sharon M.
Morsink

View the article online for updates and enhancements. - Measuring the acceleration due to gravity
using an IR transceiver
Sohaib AbdElazem and Watheq Al-
Basheer

This content was downloaded from IP address 103.190.47.107 on 06/05/2024 at 16:43


PAPER
Phys. Educ. 58 (2023) 035008 (7pp) iopscience.org/ped

Measuring g using
magnetic induction
Ihab F Riad
Physics Department, Faculty of Science, University of Khartoum, PO Box 321, 11115
Khartoum, Sudan

E-mail: ifriad@gmail.com

Abstract
In this article we present an open source setup for measuring the acceleration
due to gravity g utilising Faraday’s law of induction. The signal is acquired
using an Arduino Uno board, then displayed and analysed using a Python
based graphical user interface. The acceleration due to gravity g is calculated
by measuring the crossing times of a bar magnet as it falls simultaneously
through a number of coils.

Keywords: magnetic induction, acceleration due to gravity, Arduino, open source

Supplementary material for this article is available online

1. Introduction where ⃗B is the magnetic field strength and ⃗A is the


When the magnetic flux piercing through a wire cross sectional area of the coil through which the
loop changes it induces an electric potential across magnetic flux pierces.
the free ends of the wire loop. This induced elec- The voltage induced by a magnet when
tric potential is known as the induced electromot- passing through a coil was investigated by a
ive force (emf) and is characterised by Faraday’s number of authors [2–9]. Some authors looked
law of induction (1): at the connections between the magnet and coil
relative velocity and the induced signal shape,
dΦB
V = −N , (1) amplitude and width. Others discussed different
dt signal acquisition methods [3–6, 10–15]. Applic-
where V is the induced emf, N the number of turns ations, for example measuring the speed of a
in the coil and ΦB is the magnetic flux through magnet passing through a coil were discussed
the coil cross sectional area. The magnetic flux is [2, 4, 7].
related to the magnetic field as: In this work we describe an experiment
ˆ
for the undergraduate experimental physics cur-
ΦB = ⃗B · d⃗A; (2) riculum to measure the acceleration due to grav-
ity g from the signal acquired when a bar magnet
fells consecutively passes through a series of coils.
Signal acquisition and measurements were carried
Original Content from this work may be used out using an Arduino Uno board and a Python
under the terms of the Creative Commons
GUI (both the Arduino Sketch and Python code
Attribution 4.0 licence. Any further distribution of this work
must maintain attribution to the author(s) and the title of the are available as supplementary material for down-
work, journal citation and DOI. load) [1].

1361-6552/23/035008+7$33.00 1 © 2023 The Author(s). Published by IOP Publishing Ltd


I F Riad

2. The physical model centre of the coil figure 2(b). For this to be true
A recurring theme in the analysis of the induced the height of the coil need to be much shorter than
signal as a bar magnet passes through a coil is to the length of the bar magnet.
model the bar magnet as a magnetic dipole of pole In the case that the coil’s height is compar-
strength ρ and separation L [3, 4, 6, 7, 10]. able to that of the bar magnet the two peaks now
Another approach was discussed by Dasqupta coincide with the centre of the bar magnet being at
and Nicklin where they treated the magnet as distances 2l above and below the top and bottom
a uniformly magnetised cylinder equivalent to a of the coil respectively. For the point where the
cylinder current sheet. Nicklin showed that both signal intercept the line V = 0 it would still cor-
models of the bar magnets are reliable when relate with the centre of the bar magnet passing
studying the induced signal while keeping the the centre of the coil.
ratio between the coil radius R and the mag-
net length L larger than 0.4 i.e R/L > 0.4. They
3. Signal acquisition
noticed a deviation between their models predic-
tions and the acquired signal for R/L ≲ 0.4. For the signal acquisition we used the ten-bit
For the purpose of this work we treat the bar analogue to digital converter features of the
magnet as a magnetic dipole [4]. According to Arduino Uno board. Arduino is an open source
the work by Nicklin the amplitude of the induced hardware/software microcontroller based devel-
voltage V is related to the instantaneous relative opment platform. It has the benefits of being open
velocity v and the separation z between the bar source, cheap, easy to program and has a wide
magnet and the coil as in (3): community support.
The physical setup includes connecting one

( )2 [ ( )2 ]− 32 end of the coil to the 3.3 V pin on the Arduino
NvP l 2 l while the other to the analogue pin A0 (any other
V= z+ R + z+
2  2 2 analogue pin works equally well). The Arduino
[ ( )2 ]− 12 [ ( )2 ]− 12 UNO is then programmed to communicate with
2 l 2 l a computer using the board serial port. The oper-
− R + z+ + R + z−
2 2 ation of the Arduino board is controlled through a
[ ] 
( )2 ( )2 2 
− 3
Python GUI figure 3.
l l
− z− R2 + z − , (3) The Arduino and upon instructed by the user
2 2  starts acquiring and transmitting the voltage at
pin A0 and a time-stamp to the computer. It then
where P is the magnet dipole strength, l the effect- continues to do so till it is stopped by the user.
ive length of the bar magnet and R the coil radius. The Arduino sends the time stamp in nanoseconds
Figures 1(a) and (b) shows the induced signal counted from the minute the Sketch started to
for a magnet passing through a coil as a function execute on the Arduino. The acquired data is
of the z and the travel time t of the falling magnet stored on the computer in a two column text file
respectively. for further analysis. It is important to note here
It is worth noting here that the non-symmetry that the times measured by the Arduino are from
in the shape of the signal is due to the difference when then Arduino board is turned on. Hence they
in bar magnet speed as it approaches and then cannot directly be used to measure the travel times
recedes away from the coil. since the bar was released and to any other point.
Three distinct points of interest shows up in The GUI has two drop menus to select the
the signal figure 1. Two of these points are the two appropriate serial port and it is baud rate respect-
peaks while the third is where the signal traverse ively. It also has a start/stop button for data acquis-
the line V = 0. The two peaks correlates with the ition and another to plot the saved data files.
centre of the bar magnet crossing the points z = There are also up/down buttons and a text area to
± 2l figures 2(a) and (c). The third point is when facilitate the reading of the position along the time
the centre of the bar magnet passes through the axis in the plot area.

May 2023 2 P hy s . E d u c . 5 8 ( 2 0 2 3 ) 0 3 5 0 0 8
Measuring g using magnetic induction

Figure 1. The induced emf signal due to a bar magnet falling through a coil as a function of the separation z and
the travel time t.

Figure 2. Relative positions between coil and bar magnet corresponding to the three distinct points in the induced
signal.

Figure 3. The Python GUI used to control the data acquisition and analysis.

May 2023 3 P hy s . E d u c . 5 8 ( 2 0 2 3 ) 0 3 5 0 0 8
I F Riad

Figure 4. Acquired signal as the bar magnet free fall through five consecutive coils. Segments of signal due to
each coil are individually marked and labelled.

4. Setup and measurements magnet crossed the centre of the coils. The time
To carry out the measurements for the g we was read from the GUI by moving the vertical line
allowed a bar magnet (length 10 cm) to fall in the plot area to the point of interest (the crossing
through a series of five connected coils. The coils of the signal with the x-axis).
were distributed along a 1.5 m long plastic tube For an object in a free fall and starting from
with a 3.8 cm diametre. The coils are approx- rest its displacement S is related to its time of
imately 2 cm in height, 45 wingdings each and travel t as:
are made from #31 gauge insulated wire. The g
S = t2 , (4)
five coils are centred at 25.6, 47.7, 75.5, 105.1 2
and 138.6 cm respectively from the top of the or
tube. In this configuration a current of about √
√ g
240 mA passes through the coil. This current S= t. (5)
would cause a constant magnetic field to appear in 2
the coils. The effect of this induced magnetic field
Hence the time of travel tij between Si and Sj is:
on the measured value of g is further studied in

section 5. √ √ g
The signal acquired as the bar magnet fell Sj − Si = tji . (6)
2
through the five coils is shown in figure 4. The
individual segments of the signal corresponding Using the readings in table 1 and for any two
to the different coils are marked and labelled. You points we calculated their corresponding
(√ crossing
√ )
may notice here that segments D and E show times. The crossing times tji and Sj − Si are
different response than the other three segments, tabulated in table 2. √ √
this is due to mistakenly winding these two coils Plotting tji Vs. ( Sj − Si ) figure 5 and cal-
counter clockwise compared to the other coils. culating the slope of the straight line a value
In table 1 we give the time in seconds corres- of g = 9.75 m s−2 with a goodness of fit R2 ≈
ponding to the points when the centre of the bar 0.99 was calculated. The uncertainties in the

May 2023 4 P hy s . E d u c . 5 8 ( 2 0 2 3 ) 0 3 5 0 0 8
Measuring g using magnetic induction
Table 1. Coils centres measured from the top of the
tube with respective passing times in seconds. Please
note that the times listed here are measured in ns from
the minute the Sketch started to execute on the Arduino
Uno.

Label S × 10−2 (m) t × 10−3 (sec)

A 25.6 11 847.704
B 47.7 11 928.704
C 75.5 12 009.704
D 105.1 12 080.204
E 138.6 12 150.704

Table 2. Crossing times tji between different coils and


√ √
their corresponding values of Sj − Si .
√ √
Sj − Si
[ 1]
Sj × 10−2 (m) Si × 10−2 (m) tji (sec) m2 √ √
Figure 5. Data points of tji Vs. Sj − Si (stars), best
47.7 25.6 0.0817 0.1847 fit line (solid red line) and the line using g = 9.81 m s−2
75.5 25.6 0.1641 0.3629 (green dashed line).
105.1 25.6 0.2335 0.5192
138.6 25.6 0.3030 0.6713 PuTTY or the similar can also be used to control,
75.5 47.7 0.0824 0.1794 acquire and save the data on a computer. This data
105.1 47.7 0.1517 0.3345 could be analysed using any data plotting tools or
138.6 47.7 0.2212 0.4866 a spreadsheet software.
105.1 75.5 0.0693 0.1563
138.6 75.5 0.1388 0.3084
138.6 105.1 0.0695 0.1521 5. Retardation due to induced magnetic
field
measurements of S and t dictate an uncertainty of As a magnet approaches or recedes from a coil the
±0.18 m s−2 in the value of g. magnetic field induced by the current through the
Originally a smaller tube, 2.5 cm in dia- coil will resist the motion of the magnet. This res-
metre, was used in the experiment. The values of istance to the motion of the magnet is expected to
g calculated then were always significantly smal- reduce the measured value of g. To quantify this
ler than 9.81 m s−2 , the best value measured effect we modelled the interaction between the bar
was ≈9.49 m s−2 . This deviation from the known magnet and the field induced by the current in the
value was found to be due to mechanical friction coil as to be an interaction between a magnetic
between the bar magnet and the tube as it fell dipole of dipole strength m and a magnetic field
through the tube. Hence, another tube with a lar- due to current passing through a coil B.
ger diametre of 3.8 cm was used to carry out the The Lagrangian for the bar magnet as it
experiment. moves through a coil can be written as:
Worth noting here that if a triggering mech-
anism is added then it would then be possible to L = K.E − P.E + m · B, (7)
directly measure the travel time from the moment
that the bar magnet is released to any other point. where the first two terms are simply the kinetic
In this case, using a single coil would be enough and potential energies of the falling bar magnet
to measure g using (4). To improve the accur- while the last term is the potential energy due to
acy in this case the measurements will have to be the interaction of a magnetic dipole and the mag-
repeated a number of times. netic field B.
While we used here a Python GUI to con- Since it is easier to measure the magnetic field
trol the experiment, a serial terminal program like (in units of Tesla) of a bar magnet directly using a

May 2023 5 P hy s . E d u c . 5 8 ( 2 0 2 3 ) 0 3 5 0 0 8
I F Riad

magnetometre the magnetic field of the bar mag-


net Br can be related to the magnetic moment as
1
m= Br V, (8)
µ◦
where µ◦ is the permittivity of free space and V
the volume of the bar magnet.
Combining this with the magnetic field B of
the coil given as
µ◦ NR2 I
B= , (9)
2 (z2 + R2 ) 32

where R, I and N are the coil radius, the cur-


rent through it and the number of turns in the coil
respectively. Hence L can now be written as:
1 1 NR2 IV Br
L = mv2 − mgz + . (10)
2 2 (z2 + R2 ) 32

Using the Euler Lagrange equation:


d ∂L ∂L
= , (11)
dt ∂v ∂z
the dependence of the acceleration a of the falling Figure 6. The setup in use in our intermediate physics
bar magnet is found as: lab.

3 NR2 IV Br
a = g− . (12) makes the experiment low budget, easy to repro-
2m (z2 + R2 ) 52
duce and effectively illustrates the Faraday effect
Using (12) and our values for the different for junior physics students.
quantities in the equation we found that the effect Making available with this article all needed
is insignificant, reducing g by less than 0.03%. codes is our way to encourage more people to avail
Hence it is fair to ignore such effect in our case. their experimental setups for the democratisation
Retardation due to induction is investigated in of science specially in developing countries.
this length as it was proposed at one point to be the
cause for the observed deviation of the measured
Data availability statement
values of g from the it is known values as men-
tioned in section 4. All data that support the findings of this study are
included within the article (and any supplement-
ary files).
6. Conclusion
In this work we used the signal induced in a Received 17 September 2022, in final form 25 November 2022
Accepted for publication 4 January 2023
series of coils as a bar magnet free falls through https://doi.org/10.1088/1361-6552/acb033
them to measure the acceleration due to gravity
g. Starting from this year this setup was intro-
duced to our intermediate year experimental phys- References
ics curriculum (see figure 6). [1] The code to be found in the supplementary
The setup used is based on open-source elec- materials
tronics and programming languages options. This [2] Fox J A 1965 Am. J. Phys. 33 408

May 2023 6 P hy s . E d u c . 5 8 ( 2 0 2 3 ) 0 3 5 0 0 8
Measuring g using magnetic induction

[3] Fredrickson J and Moreland L 1972 Am. J. Phys. [10] Kingman R, Rowland S C and Popescu S 2002
40 1202 Am. J. Phys. 70 595
[4] Nicklin R C 1986 Am. J. Phys. 54 422 [11] Wong D et al 2010 Phys. Educ. 45 394
[5] Jones C C 1987 Am. J. Phys. 55 1148 [12] Singh I and Kaur B 2019 Phys. Educ.
[6] Manzanares J A, Bisquert J, Garcia-Belmonte G 54 043003
and Feranandez-Alonso M 1994 Am. J. Phys. [13] Soares A A and Reis T O 2019 Phys. Educ.
62 702 54 055006
[7] Carpena P 1997 Am. J. Phys. 65 135 [14] Reeder S et al 2019 Phys. Educ.
[8] Amrani D and Paradis P 2005 Phys. Educ. 54 055017
40 313 [15] Bezerra A Z L N et al 2019 Phys. Educ.
[9] Najiya Maryam K M 2014 Phys. Educ. 49 319 54 043011

May 2023 7 P hy s . E d u c . 5 8 ( 2 0 2 3 ) 0 3 5 0 0 8

You might also like