Lab E2: B-field of a Solenoid
In this lab, we will explore the magnetic field created by a solenoid. First, we must review some basic electromagnetic theory. The magnetic flux over some area A is defined as
(1) ![]()
In the case that the B-field is uniform and perpendicular to the area , (1) reduces to
(2)
.
Faraday's Law relates the time rate of change of the flux,
,
to the emf e :
(3)
or
.
Electrical currents create magnetic fields and the simplest way to create a uniform magnetic field is to run a current through a solenoid of wire. Consider a solenoid of N turns and length L, carrying a current I; the number of turns/length is n = N/L.
For a long solenoid of many turns, the B-field within is nearly uniform, while the field outside is close to zero. The field within the coil can be calculated from Ampere's Law:
(4)
,
which, in words, is: the line integral of
around
a closed loop is proportional to the current through the loop. The constant
is called the
permeability constant and has the value
,
in mks units. To compute the field inside the coil, we draw an imaginary
square loop with one side inside the solenoid and one side outside, like
so:
Applying Ampere's Law to this loop, we have
(5)
,
or
.
Eq'n (5) is really only valid for an infinitely long solenoid with closely spaced turns. Near the ends of a finite-length solenoid, the field is smaller than predicted by (5); at the ends of a finite solenoid, B is 1/2 its maximum value. The factor of 1/2 can be understood from a symmetry argument: the end of a solenoid can be thought of as an infinite solenoid with one half cut away. In an infinite solenoid, the total B-field at any point is due to the current in the coils to the left and the current in the coils to the right. By removing the coils on one side, the B-field is cut in half.
If an AC current flows through the solenoid, then it will generate an AC magnetic field, which can be easily probed with a second coil of wire, called a probe coil or pick-up coil. If the probe coil has Np turns and an area Ap, then by Faraday's Law (3), the emf induced in the probe coil due to the B-field from the solenoid is
(6)
.
In writing (6), we have assumed that the probe coil is stationary and perpendicular to the B-field.

If the AC current in the solenoid has a frequency f,
(7)
,
then, from (5), the B-field at the center of the solenoid is
(8)
,
where
is
the number of turns/length in the solenoid, and Bo is the amplitude
of the field. The resulting emf in the probe coil is
(9) ![]()
.
Thus the probe coil will produce an AC emf whose amplitude
o
is proportional to the frequency w and the amplitude
Bo of the AC B-field:
(10)
.
If the probe coil is deep inside a solenoid and the field Bo is given by (5), then we have:
(11)
,![]()
where 2p f = w
,
is the number
of turns/length of the solenoid, and Io is the amplitude of
the AC current. We see that the emf of the probe coil is proportional to
both the frequency f and the amplitude Io of the AC current.
Experiment
A circuit diagram of the experiment is shown below. The function generator
produces a sine-wave AC voltage which drives an AC current through the
solenoid. The emf produced in the probe coil by the B-field from the solenoid
is measured with the oscilloscope. The AC current through solenoid is obtained
by monitoring the AC voltage Vm across a monitor resistor Rm.
(It's called a monitor resistor because its only function is to monitor
the current.) The current through the solenoid is
.
The solenoid has
turns and an inductance of 4.7 mH [a henry (H) is the MKS unit of inductance].
The probe coil has Np = 4140 turns, an effective area of
,
and an inductance of
.
The function generator has a 50W internal resistance
(Such an internal resistance is called the output impedance. Although this
is shown in the circuit schematic, it will not affect your measurements.)

When checking the connections, it is important to remember that the outer conductor of the coaxial cables to the oscilloscopes must be at 0 volts (ground) and the ground side of the double-banana connectors is indicated by a little plastic tab.
In this lab, we will be measuring AC voltages with the oscilloscope. There are at least three ways to indicate the magnitude of an AC signal: peak-to-peak, peak or amplitude, and rms amplitude.

The rms or root-mean-square amplitude is given by
,
where the brackets
indicate an average. The voltage V alternates (+) and (-) so the average
voltage
is
zero, but the voltage-squared V2 is always positive so the average
of V2 is non-zero and positive. If V(t) is a sinusoid, then
the it turns out that the rms amplitude Vrms and the amplitude
Vo are related by
.
Almost all instruments which measure AC voltage or current, including our
DMM's, display rms values. In this lab, you will be reading the voltage
directly from the oscilloscope screen, so you should indicate whether you
are reporting the amplitude or peak-to-peak voltage. It would be nice if
we could use our DMM's to measure the AC voltages directly without having
to read them from the oscilloscope screen. Unfortunately, our DMM's only
read AC signals accurately if the frequency is less than 1kHz, and we will
be making measurements at higher frequencies.
Procedure
Before beginning the experiment, you should familiarize yourself with the equipment. Plug the output of the function generator directly into the oscilloscope and play with all the knobs until you are comfortable with the controls. Don't be afraid to touch knobs; you can't break anything here and you will only learn by doing. Remember to check that the CAL knobs on the oscilloscope are fully CW. (Look at Lab E1 if you don't remember what the CAL knobs do.)
Begin by measuring the length L of the solenoid with the plastic calipers or with a meter stick and compute the turns per length ns of the solenoid. Then use the digital multimeter (DMM) to measure the resistance Rm of the current-monitor resistor. It is important to temporarily disconnect the resistor from the rest of the circuit while you are measuring its resistance with the DMM.
Magnitude of the B-field: Theory and Experiment
After constructing the circuit, set the frequency to around 1 kHz and
adjust the amplitude of the function generator output until the amplitude
of the monitor voltage Vm is about 2.0 V. This produces a current
with an amplitude of
.
Place the probe coil in the center of the solenoid and observe the AC voltage
on the probe coil produced by the B-field of the solenoid. Move the probe
coil all around the solenoid, inside and out, and observe the changes in
the signal.
Measure the voltage (the emf) on the probe coil when it is in the center of the solenoid. Using eq'n (10), compute the B-field measured by the coil. Call this Bmeas. Now using eq'n(5), compute the B-field produced by the solenoid. Call this Bcalc. Compare the two. Do they agree within uncertainties?
Position Dependence of the B-field
Measure the ratio of the B-field at the edge of the solenoid to the
B-field at the center
.
Keep in mind that the B-field from the solenoid is proportional to the
emf in the probe coil [eq'n (10)], so you should not have to compute
Bedge and Bcenter separately to get the ratio. Compare
your answer with theory.
As one moves along the axis of the solenoid away from its center, the B-field drops continuously and is very small at positions outside the solenoid and far from its edge. Make measurements to determine the position along the axis at which the B-field is 1% of its maximum value at the center. (Computing this position in quite messy; just measure it.) Express this distance (from the edge of the solenoid to the center of the probe coil) in cm and in solenoid diameters.
Frequency Dependence of the emf
Measure the frequency dependence of the emf in the probe coil by varying
the frequency while keeping the AC current in the solenoid constant. For
several frequencies from about 30Hz up to 10kHz, measure the amplitude
of the coil emf on Ch.1 of the oscilloscope. When measuring a variable
over several decades (several powers of 10), a good strategy for picking
points is to approximately double the variable each time: 30Hz, 60, 100,
200, 500, 1000, ... At each frequency, before measuring the emf,
set the current to a constant value by setting Vm, read on Ch.2
of the scope, to 2.00 V amplitude. Remember to always adjust the volt/div
knob and the position of the trace on the screen so that the signal fills
as much of the screen as possible and you make measurements with maximum
precision. [Do not take measurements above 10kHz. At frequencies
,
the inter-coil capacitance of the probe coil becomes significant and it
no longer acts like a pure inductance. It resonates like an L-C circuit
at about 20kHz.]
Plot the measured emf vs. frequency f . Make both a linear plot and a log-log plot. Use the X-Y Plot\Format menu to set both x- and y-axes scales to logarithmic. On the same graphs, plot the curve predicted by theory, Eqn.(11). Do the data agree with theory?
Finally, pretend that the product
is unknown to you, and use eq'n(11) and your measurements to compute the
product
for
each frequency. Compute the average value and the uncertainty of
.
[Recall that the uncertainty of an average is the standard deviation of
the mean.] Compare your result with the "known" value of Np
Ap.
Questions
1. A probe coil with N = 8000 turns and A = 1.00 cm2 is placed in the center of the solenoid of question 1. The probe coil is oriented so its emf is maximum. What is the amplitude of the emf? What is the frequency of the emf?
2. A long narrow solenoid with N = 500 turns and length L = 20.0cm has an AC current with amplitude Io = 0.100A and frequency f = 2000 Hz. What is the amplitude of the B-field at the center of the solenoid? What is B = B(t), the time-dependent B-field? [Careful about units: it is best to work entirely in the MKS (meter-kilogram-second) system when working electric circuit problems.]
3. Show that you understand how to apply Ampere's Law by using it to compute the magnitude of the B-field a distance R from a long straight wire carrying a current I.

4. In this experiment, how is the current through the solenoid measured?
5. The AC voltage of a wall socket has a frequency of 60Hz and an rms amplitude of 120V. What is the peak value or amplitude of this voltage?
6. The earth's magnetic field is about 0.5 gauss. The MKS unit
of magnetic field is the tesla (T) [1 Tesla = 10,000 gauss] . A probe coil
with N = 10,000 turns and area
is oriented with the coil perpendicular to the earth's field. Is there
an emf induced in the coil? If so, how big is it? If not, why not?
7. A probe coil with Np turns and area Ap
is placed in the center of a solenoid with
turns per unit length and carrying an AC current of amplitude Io
and frequency f. What happens to the emf in the probe coil if all five
of the quantities, Np , Ap , ns
, I o , and f are doubled?
8. Consider the function
,
where m is a positive constant. How is log f related to log x? [That is,
write an equation containing log f and log x, showing how they are related.]
Make a sketch of the graph f vs. x and a sketch of the graph
log f vs. log x. Indicate clearly the slope and intercept of the two graphs.
9. True or False: A constant magnetic field in a stationary probe coil will produce an emf.
10. True or False: It is perfectly safe to place your tongue in a 120V electrical outlet.