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

i

COPYRIGHT 2014 Magritek Limited


This manual is COPYRIGHT 2014 by Magritek Limited. All rights reserved. This manual may not
be reproduced in electronic or printed form, in whole or in part, without the express permission of
Magritek Limited. No use of this manual may be made for resale or for any other commercial purpose
whatsoever without prior permission of Magritek Limited. The information in this manual is subject to
change without notice. Magritek Limited reserves the right to revise this manual and to make changes
from time to time in the content hereof without obligation to notify any person or persons of such
revisions or changes.

Caution and Safety Considerations


A DC current of up to 6A is pulsed through the outermost polarizing coil of this instrument. When using
large currents for long time periods, the coil will become warmer. Caution must be taken not to allow
the coil to become too hot. Under normal operating conditions the temperature of the coil should not
exceed 40C. If under extreme operating conditions, the surface temperature of the coil does exceed
40C, halt use of the apparatus until the temperature of the coil returns to normal.

The probe also generates a small magnetic field when in operation. Although this field is small, it could
potentially damage credit cards or watches, or other magnetically sensitive devices if they are left close
to the probe. It is suggested that magnetically sensitive devices are kept at a distance of at least 3m from
the probe.

ii

Identify System Components


Welcome to the Users Manual for the Terranova Earths Field Nuclear Magnetic Resonance
(EFNMR) and Earths Field Magnetic Resonance Imaging (EFMRI) instrument. First, please identify
all of the system components in the following list:

The Terranova MRI Probe which consists of three concentric tubes each wound with a
separate coil namely
o B1 coil (this coil is hidden but a gold SMA socket it visible)
o Gradient coils (these coils are hidden but an 8 pin socket is visible)
o Polarization coil
The Terranova MRI Spectrometer
Three connection cables between the Spectrometer and Probe
Power Cable to connect a 24V DC source. Brown wire is positive; blue wire is negative.
A USB cable
A Magna-probe 3D compass
Prospa Software setup CD
Terranova MRI Software setup CD
User Manuals
litre sample bottle

In order to use the Terranova MRI system, you will require the following:
A 24 V power supply capable of sourcing 6.5 A continuous and 10 A pulsed DC current. This
can be achieved in one of three ways:
o Two deep cycle 12V car batteries connected in series, or
o A 24 V DC power supply. We have used a 150 W switchmode power supply from
Jaycar Electronics (www.jaycar.com.au), product number MP3114, and found it
more than adequate. The specifications of this power supply are as follows:
 Output Voltage: 24 VDC
 Tolerance: +/- 1%
 Ripple & Noise: 240 mV
 Output Current: 6.5 A
 Efficiency: 85%
 Input Frequency: 47~63 Hz
 Cold Start Inrush Current: 35 A, or
o Purchase a power supply from Magritek.
A personal computer running Windows XP, Vista, Windows 7 or 8.

iii

Preface
The purpose of this users manual is to provide a guide to the setup and operation of the TerranovaMRI Earths Field Nuclear Magnetic Resonance (EFNMR) system. It is divided into four main parts.
The first section provides a brief introduction to the theory of EFNMR and describes the hardware
components of the EFNMR apparatus. This section is intended to provide some background
information for users of the system.
The second and third sections instruct the user on how to setup the system and optimise the operating
parameters. It is intended as a step-by-step guide to getting started and running the first basic EFNMR
experiments. An effort is also made in this section to provide troubleshooting tips for signal
optimisation.
The fourth section of the manual describes the basic NMR experiments which are supported by the
system. This section is intended as a guide for how to successfully run the experiments and interpret the
results. Some background theory is provided for each experiment but prior knowledge of the basic
principles of NMR is assumed.
The fifth section of the manual describes the core MRI experiments which are supported by the system
which allow images to be acquired in 1, 2 or 3 dimensions.
A separate manual is also included for the software package PROSPA which provides a more detailed
description of the underlying way the software works. The user is encouraged to read through the
PROSPA manual in addition to this manual. Some of the more advanced image processing
functionality shown in this manual is described in the PROSPA manual.

iv

Terranova EFNMR Users Manual


Table of Contents
Identify System Components ................................................................................................................. ii
Preface .................................................................................................................................................... iii
Table of Contents ................................................................................................................................... v
1

Introduction ............................................................................................................................... 1-1


1.1
1.2

1.3
2

Instrument Setup ....................................................................................................................... 2-1


2.1
2.2

2.3
2.4

2.5

Connection .................................................................................................................... 2-1


Software Installation...................................................................................................... 2-1
2.2.1
To install the Prospa software ......................................................................... 2-1
2.2.2
To install the USB driver ................................................................................ 2-2
2.2.3
To obtain a Prospa license............................................................................... 2-3
Running Prospa ............................................................................................................. 2-5
Preliminary experiments ................................................................................................ 2-6
2.4.1
Coarsely tuning the probe ............................................................................... 2-6
2.4.2
Select an initial location for the EFNMR apparatus ........................................ 2-8
2.4.3
Finding the resonance ................................................................................... 2-11
2.4.4
Select initial parameters ................................................................................ 2-12
2.4.5
Using a spin-echo to find a signal ................................................................. 2-14
2.4.6
Shimming ...................................................................................................... 2-16
Optimising the FID ...................................................................................................... 2-18
2.5.1
Fine tuning the Probe .................................................................................... 2-18
2.5.2
Setting the Resonance Frequency ................................................................. 2-19
2.5.3
Setting the B1 pulse duration ......................................................................... 2-20

Common processing features .................................................................................................... 3-1


3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12

Theory ........................................................................................................................... 1-1


EFNMR Apparatus Description and Operation ............................................................. 1-1
1.2.1
Polarization ..................................................................................................... 1-2
1.2.2
The PGSE Gradient Coil ................................................................................. 1-2
1.2.3
The shim and imaging gradient coils .............................................................. 1-3
1.2.4
Excitation and Detection ................................................................................. 1-3
The Spectrometer .......................................................................................................... 1-4

Setting the output file location ...................................................................................... 3-1


Common NMR parameters............................................................................................ 3-1
Shim parameters ............................................................................................................ 3-1
Signal averaging time domain data ............................................................................... 3-2
Filtering time domain data............................................................................................. 3-3
Using the magnitude option........................................................................................... 3-3
Integrating spectral peaks .............................................................................................. 3-4
Phase cycling the 180 pulse ........................................................................................ 3-4
B1 coil ring-down .......................................................................................................... 3-5
Stopping an experiment ................................................................................................. 3-5
Loading previous parameter sets ................................................................................... 3-5
Loading previous data sets ............................................................................................ 3-6

Earths Field NMR Experiments.............................................................................................. 4-1


4.1
4.2
4.3

4.4

The pulse and collect NMR Experiment ....................................................................... 4-1


Spin-spin relaxation time ............................................................................................... 4-2
Spin-lattice relaxation time............................................................................................ 4-5
4.3.1
T1 in the Polarizing field ................................................................................. 4-5
4.3.2
T1 in the Earths field ...................................................................................... 4-6
The Pulsed Gradient Spin Echo (PGSE) Experiment .................................................... 4-8

vi

4.5

The Carr-Purcell-Meiboom-Gill (CPMG) Experiment ............................................... 4-11


4.5.1
The CPMG Pulse Sequence .......................................................................... 4-11
4.5.2
The Terranova EFNMR CPMG Experiment ................................................ 4-12
4.5.3
Sample CPMG results .................................................................................. 4-13

A.1 Signal-to-noise calculation macro ................................................................................................ 1


A.2 A macro for calculating the signal producing efficiency of the B1 and Bp coils. ...................... 3

Introduction

1-1

1 Introduction
1.1

Theory

The Terranova-MRI Earth's Field Nuclear Magnetic Resonance (EFNMR) apparatus provides a low
cost alternative to high field instruments for the demonstration of pulsed NMR/MRI techniques or for
the determination of NMR properties of samples outside of the laboratory.

BE

Figure 1.1. The Earth's Field NMR Probe and axis conventions

Conventional high field NMR instruments require an extremely uniform magnetic field for polarization
of nuclear spins and the detection of the resultant magnetization. It is difficult and expensive to make a
magnetic field of the required homogeneity (much less than 1 ppm in some cases), and so sample sizes
are usually quite small. However because the polarization and detection fields are large, the resulting
signal-to-noise ratio can also be large. EFNMR works because detection takes place in the highly
uniform Earth's magnetic field. This means that large samples can be used - partially compensating for
the very low detection field. To improve the initial magnetization, a relatively crude electromagnet with
a field about 350 times larger than the Earth's field is used to polarize the sample. Note that the Earths
magnetic field differs, both in direction and magnitude, according to your location on Earth. Typically
the field direction is close to vertical in mid to high latitudes and has a magnitude on the order of 50
T. Because of these dependencies, the EFNMR receiver coil will need to be specially tuned to your
location.

1.2

EFNMR Apparatus Description and Operation

The Terranova-MRI EFNMR apparatus (Figure 1.1 and Figure 1.2) consists of 2 coaxial solenoids and
a third which is a collection 4 coils generating x, y and z gradients (there are two x gradients, one for
imaging and shimming, and one for pulsed gradient NMR). The probe is designed such that the three
coils slot together in a bayonet configuration. This configuration allows for easy access to the three
constituent coils. However, the probe is not designed to be dismantled and therefore should not be
taken apart. The outermost, or polarizing (Bp), coil is used to provide an initial polarizing field via the
application of a large current - establishing a nuclear magnetisation in a sample placed inside the
apparatus. The middle, or gradient coils are used to provide linear magnetic field gradients across the
sample. The inner most, or B1, coil is used to excite and detect the precessing magnetisation.
Table 1-1. Typical coil parameters

Coil Parameter

Polarizing Coil

Avg. coil diameter (mm)


Calc. mag. Field (mT/A)
Field gradient (mT/m/A)
Avg. Resistance () incl. cable
Tuning cap for 2300 Hz (nF)

170
3.13
N/A
2.8
N/A

Gradient
Coils (pgse,x,y,z)
105
N/A
2.38,0.31,0.28,0.28
3.1/2.0/1.5/1.5
N/A

B1 Coil
84
30
N/A
325
9.7

1-2

Introduction

Figure 1.2. A view of the three EFNMR/MRI coils

1.2.1

Polarization

The polarization coil is used to generate a magnetic field many times stronger than the Earths field, for
the purpose of increasing the bulk nuclear magnetization of the sample. With the present apparatus, a
maximum current of 6.0 A (depending on available power supply), may be applied to the polarizing
coil, producing a 18.8 mT field (Bp) directed along the x-axis of the coil (for comparison the Earth's
field is about 50 T). Typically this current is applied for about 4 or 5 seconds (several T1 periods) to
maximise the bulk nuclear magnetization in the sample. The current is then switched off adiabatically
(in other words gradually on the timescale of the precessing magnetization), so that the enhanced
magnetization is left lying along the Earth's field direction. (Ideally parallel to the z-axis of the
apparatus).
While the maximum available polarization current is 6.0 A, in practice it is also limited by the resistive
heating of the polarization coil. This heating is potentially dangerous because it can lead to heating of
both the apparatus and the sample. Power is proportional to the square of the current, P = I2R, and
therefore high currents passed through the polarization coil for long time periods, at a high duty cycle,
will cause significant resistive heating. For example, a current of 6 A applied for 4 s with a duty cycle
of 50% (i.e. 4 s on and 4 s off) results in approximately 48 W of power dissipation, 1-2 W of which
may be deposited into the sample. We suggest that a power dissipation of no greater than this be
employed. If the outside of the probe gets warmer than 40 C, switch off the system and wait for the
probe to cool down.
1.2.2

The PGSE Gradient Coil

The PGSE gradient coil is designed to provide a linear


magnetic field gradient along the longitudinal x-axis of
the probe. The current gradient probe can produce a field
gradient per unit current of 2.38 mTm-1A-1. Using the
maximum allowable current of 2.0 A the coil produces a
magnetic field gradient of 4.76 mT/m. The gradient is
employed in the pulsed gradient spin echo (PGSE)
experiment to change the resonance or Larmor
frequency of the sample as a function of spin position.
Like the polarization coil, the maximum allowable
gradient current is determined by resistive heating
concerns and the same power dissipation restrictions
apply. However, the duty cycle for the gradient pulses is
typically very low.

Figure 1.3. The PGSE gradient coil

Introduction

1-3

For example, in an experiment with two 50 ms gradient pulses and a repetition time of 4 s, the duty
cycle is only 2.5% and therefore the power dissipation, with the maximum current of 2 A, would be
only 0.3 W. It is important to note that in the case of a more severe duty cycle, the problem of where
the power is deposited becomes a significant issue because the gradient coil is entirely enclosed within
the apparatus.
1.2.3

The shim and imaging gradient coils

Covering the PGSE gradient coil are a set of 3


gradient coils etched onto a flexible PCB. These
provide 3 orthogonal gradients which are used for both
removing background gradients from the Earths field
(shimming), and for enabling magnetic resonance
imaging (MRI) experiments. These take a maximum
current of 200 mA and correspond to a gradient of
55/63 T/m (z,y/x). Because of short duty cycles, low
currents and resistances, overheating should not be an
issue with these coils.

1.2.4

Figure 1.4. The 3 axis imaging gradients

Excitation and Detection

The B1 coil is used for both the excitation and detection of the NMR signal. In the simplest NMR
experiment - the 90 pulse and collect - a short pulse of electromagnetic energy is applied to the inner
B1 coil which surrounds the sample. This is applied at the resonant (Larmor) frequency of the nuclei in
the local Earth's field (typically between 2 and 2.5 kHz). This tips the bulk magnetization from the
Earth's field direction (assumed to be along the z axis) back to the orthogonal (x,y) plane.
The x component of the magnetization will then be detected by the B1 coil as an induced EMF, since
the magnetization will precess about the Earth's magnetic field at the Larmor frequency = B E . To
increase sensitivity and reject external noise sources, the coil is resonated with an external tuning
capacitor to the Larmor frequency. Because the B1 coil is a very effective detector of external (i.e.
unwanted) fields, screening is important and is provided by shorting the polarizing coil during the
detection phase. The large inductance and small resistance of this coil means that it effectively cancels
all fields within it, as long as they are relatively uniform over the volume of the coil and axial in
direction. Note that the signal level is also reduced by this action, but only by about 20% since the
signal field is largely localised within the B1 coil which has a significantly smaller diameter than the BP
coil. On the other hand the noise reduction factor is observed to be about 20, giving a signal-to-noise
ratio improvement of about 15 times over a non-shorted polarizing coil.
Polarizing pulse

90 B1 pulse

Adiabatic transitions
z

BE
z

Applied pulses

= BE
y
x

y
x

y
x

Magnetization evolution

y
x
x

Equilibrium
magnetization
due to BE

Magnetization
increasing

Realigned
with BE

After 90
degree pulse

Precessing in BE

y vs tv
Y component of
magnetization

Figure 1.5 The polarize, pulse and collect experiment pulse diagram

1-4

Introduction

The 1H NMR signal from the sample has a peak amplitude of about 100 V for a 570 ml water sample
(using a 6 A, 4 s pulse) and is amplified by a series of low noise operational amplifiers and is then
digitised by a 16-bit converter. This data is then transferred to the controlling computer for
accumulation and display.

1.3

The Spectrometer

The EFNMR experiment is controlled by a digital signal processor (DSP), which is itself controlled by
a personal computer (PC) running the data Processing package Prospa. In a typical experiment Prospa
sends a precompiled DSP pulse program and all necessary parameters to the DSP unit via the PC's USB
port. It then starts this program running.
This program controls the complete NMR experiment, sending pulses to the BP, gradient and B1 coils
and then acquiring the NMR data at the appropriate time. While the pulse program is running on the
DSP, Prospa waits for a signal from the DSP to indicate that data is available for uploading. Once this
data has been collected, it is displayed, any required analysis is performed, and then the experiment is
ended, or if desired, repeated, perhaps with new parameters being sent to the DSP.
The entire EFNMR system is pictured in Figure 1.6; the various connections between components are
shown and labelled. The DSP is contained within the central box of electronics, called the
spectrometer. The spectrometer is connected to the PC via a USB interface. Additional cables connect
the spectrometer to its power source and to the B1, gradient and polarization coils. Figure 1.7 shows the
front panel of the EFNMR spectrometer.

Figure 1.6. The entire EFNMR system: Spectrometer and Probe

Figure 1.7. Front Panel of the EFNMR Spectrometer

Instrument Setup

2-1

2 Instrument Setup
To obtain best performance from the EFNMR apparatus it is important to choose the location of the
instrument carefully. The instrument should not be used within a couple metres of any ferrous objects
(e.g. chairs and tables with metal parts). Switch off any source of low frequency electrical noise in the
immediate vicinity (e.g. some fluorescent lights and CRT computer monitors). For a more detailed
description of how to find the optimal location and orientation for the instrument see section 2.4.2.

2.1

Connection

To use the apparatus, start by connecting the EFNMR probe to the electronics unit. Three cables are
required - the polarizing cable, the excitation/detection (B1) cable and the gradient cable. The
connections on the EFNMR probe are shown and labelled in Figure 2.1. The corresponding
connections on the spectrometer are shown and labelled in Figure 1.6. The 24V 6A DC power supply
should be connected to the spectrometer using the power cable as shown in Figure 1.6. It is very
important that the polarisation of the power supply is correct, positive is connected to the brown wire
and negative (or 0V) connected to the blue wire. (An incorrect connection will blow the fuse).
Turn on the power switch on the spectrometer,
located on the top right hand side (see Figure 1.7).
A red power light should illuminate below the
USB connection on the spectrometer. If the power
light does not turn on, check the power
connections between the power supply and the
spectrometer and then the fuse located directly
below the power switch. Now connect the
spectrometer to the PC with a USB cable. A green
data light should appear directly above the power
light when both the spectrometer and the
computer are on and are connected. Note: you
will need to install the USB device driver the first
Figure 2.1. The cable connections for the three EFNMR time you connect the spectrometer to the PC as
coils
described in section Error! Reference source not
found..

2.2
2.2.1

Software Installation
To install the Prospa software

Place the Prospa setup CD into the CD drive. A setup wizard should appear automatically (Figure 2.2).
If this wizard does not appear, open the CD-ROM directory and run the program setup.exe. Click
Next in the setup wizard window to begin the installation wizard. Follow the directions in the setup
wizard to choose a location for the program on your computer and select a destination for the program
under the start menu (Figure 2.2 to Figure 2.5). The wizard will also give you the option of putting a
Prospa icon on your desktop. When you reach the screen depicted in Figure 2.5 check the details listed
and click Install. This will load the Prospa software onto your computer.

2-2

Instrument Setup

Figure 2.2. The Prospa software setup wizard

Figure 2.4. Select a destination for the Prospa software

Figure 2.3. The license agreement

Figure 2.5. Ready to install the Prospa software

Once the software has been installed you are presented with several options. For a normal installation
just select the Install the USB driver and Launch Prospa options.

Figure 2.6. The option list explain

2.2.2

To install the USB driver

Before installing the USB driver the following dialog will appear:

Figure 2.7. The option list

Instrument Setup

2-3

Press the Install button. It may take up to several minutes for the driver to be installed. While it is
installing the following window is displayed, which will close automatically when the installation is
complete.

If you are installing on an XP machine or are have difficulties installing the driver please refer to the
document on the CD Installing Prospa and USB driver (TN).pdf for more information.

2.2.3

To obtain a Prospa license

Once the driver has been installed Prospa will start automatically and will display the following dialog

Since you dont have a license file at this stage press the No button. Another message will appear:

2-4

Instrument Setup

Press Yes to generate a license request file and No to exit. If you press Yes the following final
message appears

Press OK and then take the file prospaLicenseRequest.lic which has been saved to the desktop and
email this to Magritek at support@magritek.com with the Subject License request. In the body of the
email should contain contact information e.g.

Name: --Organisation: --Spectrometer: Terranova


We will return a license file to you (prospaLicense.lic) which you should save to the desktop.
Run Prospa again from the desk top icon. Make sure you run it as administrator. (Right click on the
Prospa icon and select Run as administrator). When the following message appears press Yes

This will then generate another message. Press OK

If you see the an error message then you will need to move the license file manually. The destination is
in the license folder of the Prospa install directory.
If Prospa is upgraded in the future you will either need to install over the top of the previous version to
retain the license or keep a copy of the license file and follow the above procedure once again.

Instrument Setup

2.3

2-5

Running Prospa

To start Prospa, double click on the shortcut on your desktop or run Prospa from the start menu. The
Prospa window, pictured in Figure 2.8 will appear. At the top of the window you will find a list of
menus. (The mode shown below was obtained by selecting original-3D from the Layout menu.)

Figure 2.8. The layout of the Prospa program showing all available windows.

Under the main File menu (in the top-most window), you can find options for loading, saving,
importing and exporting data, setting the current folder, setting preferences and running a macro from a
file. (A macro is an interpreted program which provides similar functionality to Visual Basic or
Matlab)
Under the Windows menu, the user can choose to display the command line interface (CLI), 1D, 2D,
3D or macro-editor windows. Upon launching the Prospa program the default 1D, CLI and macroeditor windows will automatically appear.
In Prospa, experiments are run through the use of macros. These macros are organised into a series of
user definable menus. The menus supplied with Prospa and Terranova-MRI have the following
organisation:

The 1D menu contains macros for processing displayed 1D data sets.

The 2D menu contains macros for processing displayed 2D data sets.

The 3D menu contains macros for processing 3D data sets stored in matrices.

The NMRI menu contains macros for loading and processing NMR data obtained directly
from a commercial spectrometers and also from the Terranova MRI experiments.

2-6

Instrument Setup

The NNLS menu provides a macro for processing 1D relaxation and diffusion data which
has a range of relaxation or diffusion times. (Note that some of these options require a special
license).

The GUI menu allows the design of new macro interfaces.

The Demo menu runs a series of macros showing the functionality of the Prospa software
for processing various types of data.

The Layout menu provides the user the option of choosing 1D, 2D or 3D window layout
schemes. The default is the 1D screen layout.

The EFNMR menu contains macros for performing the basic (non-imaging) NMR
experiments.

The MRI menu contains macros for performing the NMR imaging experiments.

In this manual we shall only discuss the EFNMR menus and experiments. The MRI menu is discussed
in the companion volume. The remaining menus are discussed in the supplied Prospa documentation.

2.4

Preliminary experiments

Obtaining the first free-induction decay (FID) and spectrum is typically the most challenging step in
the set-up process for the EFNMR system. Many interdependent parameters and factors contribute to
the quality of the acquired EFNMR signal. Therefore it is difficult to provide the user with a step by
step process which can guarantee success. The following sections of the manual (2.4 and 2.5) contain a
description of the important factors and parameters which typically influence the quality of the
observed NMR signal. Using the suggestions found here, it should be possible for the user to obtain a
good quality signal. However, this process will typically take some time, up to several hours, and a
reasonable amount of trial and error is necessary. Therefore, it is highly recommended that the first
time user read sections 2.4 and 2.5 in their entirety before going back and attempting the first
experiment.
2.4.1

Coarsely tuning the probe

The first step once the system is running is to characterise the B1 coil
so that you can later tune it to the observed resonant frequency. This
will help towards maximising the observed signal.
The tuning macro can be found in the EFNMR menu under the name
AnalyseCoil. Run this macro and you will see the window shown in
Figure 2.9:

Figure 2.9. The AnalyseCoil macro window

Instrument Setup

2-7

The first thing to do here (and this applies to all the macros), is to set the working directory. Click on
the button labelled and navigate to a folder where you would like your data to be stored. In the
following case this has been named Data. Move into this folder and press the button Select folder.

Figure 2.10. The Browse for Folder window

The output of the AnalyseCoil macro will now be stored in a folder called AnalyseCoil which will be
a subfolder of Data.

Figure 2.11. The AnalyseCoil macro window with working directory selected

Next press the button called Analyse in the above dialog and the experiment will begin. All this
experiment does is apply an impulse to the B1 coil and look at the response as a function of the tuning
capacitance (which is under computer control). After a few minutes you should obtain a curve like that
shown on the right of Figure 2.12.
FID data (Acc: 1)

10 2

Magnitude spectrum (Acc: 1)

Resonance frequency vs. Capacitance

15
3000
10

Signal (V)

0
-5

Frequency (Hz)

Amplitude (V/Hz)

2800
5

-10

2600
2400
2200
2000

-15

1800

0
0

0.02

0.04
0.06
time (s)

0.08

0.1

1000

2000
3000
frequency (Hz)

4000

5000

Figure 2.12. Sample output from the AnalyseCoil macro.

10
12
14
Capacitance (nF)

16

2-8

Instrument Setup

The three subplots, from left to right, represent the time domain response to the impulse, the frequency
domain response, and the peak of the response versus tuning capacitance curve. From this curve the
program is able to calculate the inductance and parasitic capacitance of the B1 coil. These are reported
in the command line interface window. The ratio of the spectral amplitude at the resonant frequency to
that at zero frequency gives the coils quality factor or Q about 20 in this case.
In the pulse and collect experiment (to be described in section 4.1) you will determine the local NMR
resonant frequency. With this information you will be able to use the frequency vs. capacitance curve to
optimise the signal level.
2.4.2

Select an initial location for the EFNMR apparatus

Due to the location sensitive nature of the EFNMR apparatus, it is very probable that no signal will be
observed as a result of your first attempted measurement. There are two location dependent factors
which can greatly affect the quality of the observed signal: local magnetic field inhomogeneity, and
noise caused by interference from electronic equipment in the vicinity of the EFNMR probe.
The most common problem encountered, which results in either no signal being observed or the
observed signal being very short (i.e. persisting in time for less than 200 ms), is the inhomogeneity of
the local Earths magnetic field. The NMR signal arises from the phase coherence of an ensemble of
precessing nuclear spins. The exponential decay of the signal is a consequence of the loss of phase
coherence between the spins. One source of phase coherence loss is the relaxation process known as
spin-spin relaxation (characterized by the T2 relaxation time constant). Spin-spin relaxation is caused
by the magnetic dipole coupling between two neighbouring spins. In the presence of a completely
homogeneous field, spin-spin relaxation is the dominant source of phase coherence loss. For a bulk
water sample, the T2 time constant is typically on the order of two seconds and therefore the NMR
signal from such a sample should, ideally, persist for several seconds. However, in practice, the
magnetic field is not entirely homogeneous and therefore the loss of phase coherence is not solely due
to spin-spin relaxation, but is rather a combined effect of spin-spin relaxation and magnetic field
inhomogeneity. To describe the combined relaxation effects, an effective spin-spin relaxation time
constant, T2* (equation 2-1) is defined, where is the gyromagnetic ratio of the observed nucleus and
B0 is the magnetic field inhomogeneity.

1
1
=
+ B 0
*
T2 T2

[2-1]

The observed signal at a time t is given by:


S (t ) = S 0 exp (t T2* )cos( 0 t + ) ,

[2-2]

where S0 is the initial signal magnitude at t = 0, 0 the (angular) Larmor frequency and some
receiver dependent phase shift. From these equations it can be seen that a highly inhomogeneous
magnetic field (i.e. large B0), will greatly reduce the observed signal magnitude and in many cases,
for typical observation times t > 20 ms, no signal will be observed. Therefore, it is very important to
find a location where the local Earths magnetic field is highly homogeneous over the volume of the
sample. A linewidth in the NMR spectrum on the order of a few Hz is desired. For an NMR signal at
2000 Hz, this requires a magnetic field homogeneity on the order of 0.1%.
At this point, it is useful to note that using a Hall probe to find an area of homogeneous Earths
magnetic field is difficult because typically such instruments only have an accuracy of about 1%, which
is insufficient for this application. However the more recent innovation of the smart phone has made it
possible to measure the local Earths field magnitude to sub microTelsa precision. It is recommended
that this measurement is performed first to obtain an estimate of the field magnitude BE, and then via
the Larmor relationship the frequency ( = BE). Try and find a location with a Larmor frequency
between 1700 and 2600 Hz (equivalent to a field strength between 40 and 60 T). Note that higher
fields will usually give more signal. If your Larmor frequency is below 1700 Hz you will need to add
an addition 10 nF tuning capacitor (supplied).

Instrument Setup

2-9

Even when the local magnetic field strength is know, any given location within a lab may have a highly
inhomogeneous field due to the proximity of ferrous objects including, but not limited to, steel benches,
steel materials in the walls, screw drivers and other such tools.
Proximity to an NMR lab or other labs employing strong magnetic
fields can also be a significant problem. It is often beneficial to place
the EFNMR probe on a wooden bench or stand (see Figure 2.13).
Also, the centre of the room (as far from the floor, ceiling and walls as
possible) is frequently a location of good homogeneity. Although these
are all useful hints for finding a good signal, it is important to note that
the most homogeneous spot within a room or building is not always
obvious. It is entirely possible for the most homogeneous area to be
near a steel object. So again we stress the need to try multiple locations
until an acceptable signal can be achieved.
Fortunately it is not always necessary to find a region of very high
homogeneity. The Terranova MRI system includes a set of x, y and z
shim coils which can be used to remove gross (linear) variations in the
field. Typically it is possible to reduce the linewidth of the NMR
signal from say 20 Hz to 1 Hz. If you start in a region of good
homogeneity then line-widths of less than 0.5 Hz are possible.
The orientation, as well as the location, of the probe is important for
MRI and can also influence the amount of noise detected. Firstly
measure the Earth's field direction using a conventional compass,
rotate the probe so that its longitudinal (x) axis is orthogonal to this
direction (this optimises the action of the 90 and 180 pulses,
increases the signal level slightly and is important for performing the
imaging experiments). In addition, the arrow marked on the end of the
probe (indicating the axis of the z-imaging gradient) should be directed
along the Earths field axis, this can be determined using the supplied
Magnaprobe 3 axis compass (see Figure 2.14). This may necessitate
tilting the EFNMR probe slightly or in severe cases mounting the
probe on a cradle so it can be rotated easily (as shown in Figure 2.13)

Figure 2.13
A stand and cradle for the
Terranova probe.

Figure 2.14. Photos of the EFNMR probe showing the correct orientation to optimised imaging results.

The second factor which can reduce the quality of the observed signal is excessive noise caused by
interference from nearby electrical equipment. 50 or 60 Hz mains interference (as well as harmonics at
multiples of this frequency) are frequently observed in the NMR spectrum. An experiment called
MonitorNoise in the EFNMR menu has been supplied with the instrument to determine the best
location. Just select this menu option and observe the rms (root-mean squared) noise value displayed
above the left 1D plot. Following is an example.

2-10

Instrument Setup

Figure 2.15. The monitor noise macro


RMS noise = 3.2 V

Noise magnitude spectrum


1.0
Amplitude (V/Hz)

Amplitude (V)

20
10
0
-10

0.8
0.6
0.4
0.2
0.0

-20
0

0.1

0.2

0.3
time (s)

0.4

0.5

2140

2160

2180

2200

2220

frequency (Hz)

Figure 2.16. A typical output from the MonitorNoise macro in a region of low noise

A typically acceptable noise level for MRI is less than 10 V rms, anything under 5 V is good and
under 3 V is excellent. Noise levels between 10 and 100 V will make basic NMR measurements
difficult and MRI almost impossible. If the noise level appears to be quite high, try moving and rotating
the probe to reduce the noise, remembering that the orientation of the probe should be at right angles to
the compass direction. If you cant find a suitable location consider building an addition shield (see
help file MacrosEFNMRExternal shield. (Open the Help viewer from the main help menu. This
syntax then refers to the TopicMacroHelp file).
Experimentally, it is possible to reduce the observed noise on the FID and in the spectrum, through the
use of signal averaging (refer to Section 3.4). As the number of signal averages employed increases (try
a large number such as 32 or 64), the noise peaks should be reduced while any sample peaks should
increase in magnitude.
To summarise, the steps you should take to set up the EFNMR system are as follows:
1.

Choose a suitable location well away from large or moving magnetic objects or obvious
electrical noise sources. (e.g. cars moving 5-10 metres away can shift the resonant frequency
by several Hz.)

2.

Mount the EFNMR probe on a wooden or non-magnetic (this includes screws or bolts), table
or stand about 1 metre above the floor. Keep the rest of the apparatus (especially the power
supply) as far away from the probe as possible.

3.

Determine the N-S direction using a compass and orient the probe so its longitudinal (x) axis
is orthogonal to this direction.

Instrument Setup

2-11

4.

With the probe connected to the spectrometer and the MonitorNoise experiment running,
move the probe around the room while observing the noise level. At all times keep the probes
longitudinal axis pointing at right angles to the N-S direction. Find the location with the
minimum noise level.

5.

Mount the probe in this position and then run the AutoShim macro (discussed below) to
optimise the field homogeneity.

2.4.3

Finding the resonance

Before the system can be optimised we need to find the NMR resonance. If you dont know the local
magnetic field strength then the AutoTune experiment can be helpful. First insert a large sample bottle
filled with tap water into the probe. The supplied 73 mm diameter, 570 ml bottle is an ideal sample
container. Next open the AutoTune macro. This scans the NMR frequency and corresponding tuning
capacitance over the available range searching for a resonance. It also uses the Spin Echo macro
(described in section xx) which is less sensitive to field inhomogeneities.

Figure 2.17. The monitor noise macro

The only input needed, apart


from the default values, is the
B1 self-capacitance and
inductance which are obtained
from the AnalyseCoil
experiment.
The result (which can be
viewed in the 2D plot choose
the menu option
LayoutOriginal-2D), will
depend on your resonant
frequency and field
inhomogeneity but will look
something like that shown in
Figure 2.18.
Figure 2.18. Typical output from the AutoTune macro

2-12

Instrument Setup

From this plot we see a peak at a tuning capacitance of 8.5 nF corresponding to a frequency of 2260 Hz
(read from the command line interface).
2.4.4

Select initial parameters

If a clear broad resonance is observed in the AutoTune output and a suitable low noise position has
been found you can test the Pulse and Collect experiment. If the resonance is very narrow (< 100 ms)
as in the above example, then you should try the spin-echo experiment first (section xx).

Figure 2.19. Pulse and Collect dialog.

The pulse and collect experiment is the simplest NMR pulse sequence, consisting of a polarizing pulse
and an excitation, or B1, pulse followed by the detection of the signal. Choose this experiment from the
EFNMR menu and the above dialog will then appear.
The polarization controls dictate the length and strength of the initial polarizing pulse in any EFNMR
experiment. For tap water the length of the polarizing pulse is typically set to 4000 ms (several T1 time
periods) in order to maximise the signal enhancement. The polarizing current parameter takes values
from 0 to 6.0 A. A suggested initial value is 6.0 A, although some power supplies may work better with
5.5 A. If your power supply has any problems, you should reduce the polarising current appropriately.
The B1 frequency should be set to the Larmor frequency of the sample. The Larmor frequency is
dependent on the gyromagnetic ratio of the observed nucleus and the strength of the Earths magnetic
field. Typically this value will fall in the range 1800 to 2500 Hz. Section 2.5.2 covers how to correctly
set the B1 frequency. For an initial value choose the result found from section 2.4.3.
The Pulse duration parameter (i.e. the length of the B1 pulse), controls the tip angle of the excitation.
An initial value of 1.50 ms is suggested, however it is important to remember to find the best 90 pulse
before running other experiments, as this can significantly improve the signal-to-noise ratio of the
spectrum.
The Acquisition time and the Number of data points determine the number of, and time between
adjacently sampled points. For initial parameters it is suggested that 16384 points and an acquisition
time of one second be employed.
The Acquisition delay is the time delay between the excitation of the sample and the detection of the
signal. The minimum value for this delay is limited by the ring down of the B1 coil (see section 3.9). A
value of 25 ms is suggested.
The Average function is discussed in Section 3.4. A single scan can be used for the initial
experiment. However, if difficulties arise in finding a strong signal it may be beneficial to employ
many averages and thus improve the signal-to-noise ratio of the acquired FID and spectrum.

Instrument Setup

2-13

The Display range controls the range of frequencies which will be displayed in the spectral window.
For example for the parameters in the dialog shown in Figure 2.19 the frequencies from 2138 to 2338
Hz will be displayed. After the experiment has been run, the spectrum can be zoomed out or in, as
desired. The display range parameter simply controls the initial range of frequencies displayed.
The Transmit B1 gain parameter determines the amplitude of the B1 excitation pulse (units are volts).
The strength of the pulse, along with its duration, dictates the tip angle of the excitation. Therefore if
the transmit gain setting is decreased, the required length of the 90 and 180 pulse will increase. An
initial value of 2.5 is suggested. This can be increased or decreased (in the range from 0 to 10) to
change the length of the 90 and 180 pulses.
The Capacitance parameter determines the resonant frequency of the B1 coil. This field must be set
with a value between 4.4 and 17.15 nF. As with the B1 frequency, choose the result found from section
2.4.3.
The Receive gain value controls the degree of amplification of the received signal. An initial value
of 2 is suggested. This value has little effect on the observed signal amplitude unless it is very large or
small since the display automatically compensates for different receiver gain values. If clipping occurs
on the FID signal, i.e. if the top of the FID appears to be cut off, reduce the receive gain. The receive
gain can take values between 0 and 10.
Table 2-1. Suggested Initial Parameter Values

Parameter

Suggested Initial
Value
Run AutoTune
Run AutoTune
1.5 ms
4000 ms
6A
2.5
2
16384
1s
25 ms
400 Hz
1

Capacitance
B1 Frequency
B1 Pulse Length
Polarization Time
Polarization Current
Transmit Gain
Receive Gain
Number of Points
Acquisition Time
90-Acquisition Delay
Display Range
Number of Scans

After choosing some initial parameters, click the Run button to begin the experiment. Once started,
you should see lights flashing on the front of the spectrometer and after a few seconds a free induction
decay (FID) signal and spectrum will hopefully appear in the 1D plot window (refer to Figure 2.20).
The FID, on the left, should appear as an exponentially decaying sinusoid. The spectrum, on the right,
which is the Fourier Transform of the FID, should display a noticeably large peak, hopefully like the
one shown below in Figure 2.20.
FID data (Acc: 1)

Magnitude spectrum (Acc: 1)

150
60
100

Amplitude

Signal (V)

50
50
0
-50

40
30
20
10

-100
0
0

0.2

0.4

0.6

time (s)

0.8

2100

2200

2300

frequency (Hz)

Figure 2.20. A typical FID and spectrum obtained with the pulse and collect experiment
(as acquired in a region of good field homogeneity).

2400

2-14

Instrument Setup

As mentioned earlier, it is however very likely that no signal will be observed or that the observed
signal will be very short (i.e. persist in time for less than 200 ms). The problem is likely to be local
magnetic field inhomogeneity; however, it is beneficial at this point to do a quick check of the
parameters which you have used. Remember that these parameters should be checked and optimised at
each attempted location.
As mentioned in section 2.4.2 make sure the resonant frequency is set to an appropriate estimate of the
Larmor frequency. It is possible to calculate a reasonable value for the Larmor frequency, given by
0 = BE , from an estimate of the local Earths field strength and the gyromagnetic ratio for 1H. If you
dont have access to a smart phone or tablet with field measuring capabilities, a useful website for
obtaining an estimate of your regional Earths magnetic field strength is:
http://nssdc.gsfc.nasa.gov/space/model/models/igrf.html.
See Section 2.5.2 for more information on setting the resonant frequency.
If you dont have an independent measure for the magnetic field strength at the location of the probe it
is possible that the probe is incorrectly tuned. A poor tune will decrease the signal magnitude observed
but, except in the most extreme cases, it should not eliminate the signal entirely. Refer to Section 2.4.1
for more specific information on tuning the probe. It is difficult to accurately tune the probe to the
Larmor frequency of the sample in the absence of a strong signal since the exact Larmor frequency of
the sample will then be unknown. However, as stated above, it is possible to calculate a reasonable
value for the Larmor frequency from an estimate of the local Earths field strength. Tune the probe to
this resonant frequency and repeat the NMR experiment. If no signal is observed, decrease (or increase)
the tuning capacitance and repeat the experiment. If the poor signal problem persists after both
increasing and decreasing the tuning capacitance then the tuning of the probe is unlikely to be the most
significant problem.
A poor choice of excitation pulse duration (B1 pulse length) can significantly reduce the amplitude of
the observed signal, but will not decrease the signal entirely. Therefore some signal should be found for
all values of this parameter. However, it may be worth while to increase and decrease this parameter by
small amounts and observe the effect on the FID. See Section 2.5.3 for more information about the B1
pulse length.
If a signal has been found you should proceed to section 2.4.6 and learn how to optimise the magnetic
field homogeneity by shimming. If you cant find a signal using Pulse and Collect but can see it with
AutoShim then proceed to the next section.
2.4.5

Using a spin-echo to find a signal

It is difficult to optimise the location and experimental parameters of the EFNMR apparatus without an
observable signal. Therefore, in order to effectively troubleshoot the setup of the instrument it may be
useful to employ a slightly more sophisticated NMR method; the spin-echo experiment.
The signal magnitude obtained with a simple pulse and collect experiment is weighted by the effective
spin-spin relaxation time constant T2*. Therefore in a highly inhomogeneous field the signal magnitude
will be very low, making it very difficult to obtain a signal. In such cases, the spin-echo experiment can
be employed to reverse the effects of the magnetic field inhomogeneity and win back some of the
signal magnitude. The spin-echo sequence manipulates the phase coherence of the ensemble of excited
spins in the sample. As with all of the EFNMR experiments, the first step is the polarization of the
sample, with a polarizing pulse from the polarizing coil. This step is not shown in the spin echo pulse
sequence diagram (Figure 2.21).

Instrument Setup

90

180

B1 Pulses

90-x pulse

z
Magnetization evolution


M


M

Equilibrium

2-15

180-y pulse

x
Dephasing


M

Rephasing

y
x

Echo maximum

Dephasing

y vs tv
1.0

Sample from here


Y component of
magnetization

0.5
0.0

time

-0.5
-1.0

Figure 2.21. Spin echo pulse sequence diagram

The second step in the spin-echo experiment is to excite the sample with a 90 pulse. This results in the
rotation of the bulk magnetic field vector into the transverse plane. In the subsequent delay time period,
, the magnetization de-phases from the combined effects of spin-spin relaxation and magnetic field
inhomogeneity. The former, caused by the random motion of the spins, is essentially irreversible
whereas the latter can be reversed. Reversing the de-phasing due to magnetic field inhomogeneities is
the goal of the spin-echo experiment. At a time, , following the first 90 pulse, an 180 pulse is
applied to the sample. This pulse flips the magnetic field vectors about the y-axis. During the
subsequent time period, , the magnetization re-phases and forms what is known as a spin-echo. The
centre of the spin-echo occurs at a time 2E after the initial 90 pulse. Only the de-phasing that occurred
as a result of magnetic field inhomogeneity will be re-focused.

Figure 2.22. The spin-echo experiment interface

The echo centre amplitude (as sampled at a time after the 180 pulse), will be weighted by the T2
decay time constant, not T2*. In an area of significant magnetic field inhomogeneity, it is possible to
refocus much of the NMR signal, de-phased by these local magnetic field inhomogeneities. Therefore,

2-16

Instrument Setup

employing this sequence, it may be possible to acquire a reasonably strong NMR signal in a location
where the simple pulse and collect experiment yields only noise.
Figure 2.23 and Figure 2.24 demonstrate the utility of the spin echo sequence in regions of high
magnetic field inhomogeneity. The FID and spectrum acquired using the simple pulse and collect
experiment (see Figure 2.23) show only noise (although a signal at very short acquisition times can just
be seen). However, the spin echo results in Figure 2.24 (obtained using the macro displayed in Figure
2.22), also acquired with a single scan, shows a significant NMR signal in the FID window and a broad
peak in the spectrum (peak width ~ 20 Hz). Despite the significant width of the spectral peak, this
signal provides the user with some very useful information. First, the presence of the signal confirms
that the apparatus is functioning correctly and that the initial parameters are reasonable. Second, the
approximate centre of this peak can be used as a good estimate of the local Larmor frequency.
FID data (Acc: 1)

Magnitude spectrum (Acc: 1)

60

1.6
1.4

40

Amplitude

Signal (V)

1.2
20
0

1.0
0.8
0.6

-20
0.4
0.2

-40

0.0
0

0.2

0.4

0.6

0.8

2160

2180

time (s)

2200

2220

2240

frequency (Hz)

Figure 2.23. Results of a pulse and collect experiment in a region of magnetic field inhomogeneity.
FID data (Acc: 1)

Magnitude spectrum (Acc: 1)

Amplitude

Signal (V)

50

2
-50
0
0

0.2

0.4

0.6

time (s)

0.8

2160

2180

2200

2220

2240

frequency (Hz)

Figure 2.24. Results of a spin echo experiment acquired at the same location as Figure 2.23.

Once a signal has been found, the next step is to improve the field homogeneity. This can be done by
moving the probe about the room while running the spin-echo experiment (use a large number of scans
but turn averaging off). Choose a location with the narrowest line consistent with a low noise level.

2.4.6

Shimming

Once the narrowest spectral line has been found by physically moving the probe, the next step is to
improve the homogeneity using the experiment AutoShim. This macro uses an iterative procedure to
modify the current through the x, y and z gradients until the peak height in the frequency domain is
maximised. Since the peak height in the frequency domain is proportional to the echo width in the time
domain, maximising the peak height will decrease the T2* value and hence improve the field
homogeneity.
The AutoShim macro shown below uses the pulse and collect pulse sequence.

Instrument Setup

2-17

Figure 2.25. The Autoshim dialog

This macro will optimise the largest peak that it can see in the frequency range of width Display
range centred about the B1 frequency. The 3 sliders at the top represent the value of the shim currents
while the search range indicates the maximum range of currents which will be searched, centred on the
initial values. Typically this macro will require 5-20 minutes to optimise the field (the time depends on
the initial search range and stop precision). Apart from the B1 frequency, which will be location
dependent, use the parameters indicated above (they are not optimised but should still work). Before
and after plots and the output of this macro are shown in Figure 2.26 and Figure 2.27.
Note that the macro is based on the PulseAndCollect experiment and is only suitable for those cases
where a resonant peak can be seen using this macro. If this is not the case then the spin-echo version of
the AutoShim experiment should be used instead (AutoShimSE). If you are still unable to shim the
spectral line to less than 2 Hz then you should consider moving to a new location.
FID data (Acc: 1)

Magnitude spectrum (Acc: 1)


4

Amplitude

Signal (V)

50

-50

3
2
1
0

0.2

0.4

0.6

time (s)

0.8

2160

2180

2200

2220

2240

frequency (Hz)

Figure 2.26. A pulse and collect experiment made before the shimming process was started.

The output of the AutoShim experiment shows the improvement in the linewidth as a function of
iteration. In this case the linewidth has decreased from about 25 Hz to 0.6 Hz. One important point to
note with this experiment is that it will not work unless the resonant peak is the largest peak in the
display range. This may require that you limit the range to avoid any significant noise peaks, or
alternatively signal average so that the resonant peak is the largest. Applying the Filter option can
help to reduce the noise level although at the expense of some line broadening.

2-18

Instrument Setup

FID data (Acc: 1)

Magnitude spectrum (Acc: 1)

x = 2.86 y = -13.6 z = 12.89

100
80
60

Max amplitude

Amplitude

Signal (V)

50
40

20

-50

-100
0

0.5

1.5

60
40
20
0

2160

time (s)

2180

2200

2220

2240

Frequency (Hz)

20

40

60

80

Iteration

Figure 2.27. At the end of the shimming process. The plot on the right shows the history of the shimming process,
the amplitude represents the height of the peak in the central plot.

2.5

Optimising the FID

Once a location of good magnetic field inhomogeneity is found and a good quality signal is obtained, it
is important to optimise the FID by tuning the coil, setting the B1 frequency, calibrating the B1 pulse
lengths and minimising the noise as much as possible.
2.5.1

Fine tuning the Probe

In order to maximise the signal-to-noise ratio of the EFNMR probe, it is important for it to be precisely
tuned to the Larmor frequency of the sample. Using the AnalyseProbe experiment discussed earlier it is
possible to set the tuning reasonably accurately. However with the pulse and collect experiment you
can fine-tune the probe to maximise the signal and ensure that images are not distorted because of
asymmetrical B1 sensitivity (since image data will contain a range of frequencies).
The EFNMR probe can be accurately tuned using the basic pulse and collect experiment in a few easy
steps. In order to tune the probe, a pulse and collect experiment will be run, but with only a short delay
between the excitation pulse and the signal acquisition. Choosing a Acquisition Delay time of 2 ms
rerun the PulseAndCollect experiment (it will now use the shimmed gradient currents). By thus
reducing the delay between the sample excitation and signal detection the coil ring down is observed in
the acquired signal. This results in a sinc-like function superimposed on the signal in the spectral
window, as shown in Figure 2.28.
Magnitude spectrum (Acc: 1)

Amplitude

60
50
40
30
20
10
0
2000

2100

2200

frequency (Hz)

Figure 2.28. An example of the spectrum of a large water sample (at ~2200 Hz) acquired by an incorrectly-tuned
coil with a 90-Acquisition delay of 2ms.

The broad sinc-type peak is the coil response to the short B1 impulse, while the narrow spike is the
NMR signal. If the sample peak is very strong, it is possible that the sinc function, caused by the ring
down of the coil, will be difficult to distinguish. If this is the case, reduce the polarization duration.
This will reduce the intensity of the sample peak.
The capacitance of the system is controlled by the Prospa software and is entered by the user into a text
field in many of the experiment dialogs. If the resonant frequency of the coil is too low (as depicted in

Instrument Setup

2-19

Figure 2.28), decrease the capacitance and re-run the pulse and collect experiment, maintaining the 2
ms 90-Acquisition delay. Conversely, if the resonant frequency of the coil is too high increase the
capacitance of the system and repeat the pulse and collect experiment. Continue to adjust the
capacitance value and repeat the pulse and collect experiment until the maximum of the sinc function
and the centre of the sample peak coincide, as shown in below. (In this case the capacitance was
reduced from the 11.7 to 10.5 nF).
Magnitude spectrum (Acc: 1)

Amplitude

80
60
40
20
0
2000

2100

2200

2300

2400

frequency (Hz)

Figure 2.29. An example of the spectrum of a large water sample acquired by a correctly tuned coil using a 90Acquisition Delay of 2ms.

Note: in the case of a very weak (or indistinguishable) sample peak, the coil can still be tuned to a
particular resonance frequency by aligning the centre of the sinc function to the desired frequency
value.
Repeating the pulse and collect value with a 90-acqusition delay of 25 ms will now result in an
enhanced signal amplitude:
FID data (Acc: 1)

Complex spectrum (Acc: 1)


80

Amplitude (V/Hz)

Signal (V)

100
50
0
-50

60
40
20
0
-20
-40

-100
0

time (s)

2196 2198 2200 2202 2204 2206 2208

frequency (Hz)

Figure 2.30. An FID collected for 5 seconds to show the enhanced amplitude and linewidth obtained following
shimming and tuning. (Note that the data has been collected in complex rather than magnitude mode this enables
the linewidth to be correctly determined).

2.5.2

Setting the Resonance Frequency

The amplitude of the NMR signal can be increased if the excitation frequency is set to the correct
resonance (Larmor) frequency of the sample. This can be done by changing the B1 frequency
parameter. The Larmor frequency can be determined from the spectrum as follows.
Acquire an FID and a spectrum using the Pulse and Collect experiment in the manner used to obtain
Figure 2.30. Using the Allow region selection button
in the 1D plot, select a narrow frequency
region which contains the positive sample peak. Zoom in on this region by clicking the zoom-in tool
. Now select the Allow data display button
. In the spectrum window, click and hold the left
mouse button; a set of axes should appear when you move the mouse. While holding the left mouse
button, drag the axes over the centre of the peak. The frequency and amplitude of the peak will be
displayed in the data display field located in the bottom left corner of the 1D plot window (see Figure

2-20

Instrument Setup

2.31). Enter this frequency value into the B1 frequency field in the pulse and collect dialog and either
run or exit this macro. This parameter will now be automatically entered into the B1 frequency field of
each macro you subsequently run.

Figure 2.31. Determining the NMR resonant frequency.

2.5.3

Setting the B1 pulse duration

The number of cycles for the 90 and 180 excitation pulses are determined by repeating the pulse and
collect experiment with different B1 pulse lengths (i.e. different numbers of cycles) and observing the
resultant signal amplitudes. The signal amplitude is determined by integrating the spectral peak over a
range of frequency values specified by the user. This is all controlled by the B1Duration macro which
can be accessed from the EFNMR menu.

Figure 2.32. The B1 Duration dialog

In the B1Duration dialog box (Figure 2.32), the B1 pulse parameters and the acquisition parameters are
the same as those defined for the simple pulse and collect experiment described above and should be
chosen accordingly. The B1 parameters define the array of B1 pulse lengths to be used for the
experiment. 15 values ranging from the minimum of 0.227 ms (1/2 a cycle at f0) up to 3.5 ms in steps of
0.227 ms is a good range for the first attempt to locate the 90 and 180 pulse lengths. The integration
parameters define the range of frequency values over which the spectrum is integrated to determine the
signal value for each B1 pulse length. This interval can be chosen by observing the frequency width of

Instrument Setup

2-21

the peak from a single pulse and collect experiment. Typically it is sufficient to integrate 5 to 10 Hz
from either side of the B1 frequency.
After selecting the initial parameters, run the experiment. Three graphs will appear in the 1D plot
window: the FID, the spectrum and the output plot. The FID and the spectral plots are replaced after
each pulse and collect experiment. The third plot tracks the change in signal amplitude (as measured by
integrating the spectral peak) and is updated after each acquisition.
The signal intensity in the output plot should pass through a maximum and a minimum as is depicted in
Figure 2.33. The 90 pulse length is taken from the first maximum. The 180 pulse length is taken from
the first minimum after the 90. In the example of Figure 2.33, the 90 and 180 pulse lengths are 1.6
and 3 ms respectively.
FID amplitude vs B1 length (Acc: 1)

FID amplitude

200

150

100

50
0.5

1.5

2.5

B1 length (ms)

Figure 2.33. The output of the B1 Duration experiment.


If no minimum is reached over the range of times employed, repeat the experiment with a larger
number of steps or try a higher transmit gain. It may also be useful to use a smaller step size to better
determine the 90 and 180 pulses.
Record the 90 and 180 pulse lengths. All experiments require the 90 pulse time and any which use a
spin-echo require the 180 pulse length as well.
Once you have determined the best 90 and 180 pulse values, repeat the spin-echo and pulse and
collect experiments to verify that the signal levels are larger than before (assuming they were
incorrectly set).
Note that you can sometimes get quite strange looking B1 duration results which seem to oscillate about
the expect curve. This seems to be due to the effect of ring-down in the B1 coil which also contributes
to the tip-angle (see section 3.9). You can minimise this effect by either setting the step size to the
period (rather than half the period) so that each pulse ends on a zero crossing or more dramatically by
detuning the probe (e.g. setting the capacitance to 4.4 nF the minimum value). This will reduce signal
amplitude but remove the oscillations.

Common processing features

3-1

3 Common processing features


Many of the macros in the NMR and MRI suite have common interface features. These will be
described in this section.

3.1

Setting the output file location

Figure 3.1. The output location part of each dialog

All macros save their data in much the same way. The user defines an output folder called the working
directory which will contain all his or her experimental results. Then in this directory the data from
each experiment will be stored in a subdirectory which has the name of that experiment.
By default the Working directory field will be blank when you first run Prospa, but once defined this
variable is remembered between Prospa sessions. This means that when you start a new experiment it
will default to the current working directory.
The two buttons in this region of the dialog have the following functions:
......... allow the working directory to be set.
......... display the contents of the experiment folder in Windows Explorer.

3.2

Common NMR parameters

A number of the NMR/MRI parameters are shared between the macros in the menus EFNMR and
MRI. If you change one of these parameters in one macro it will be used the next time you run one of
the other macros. These are parameters which dont need to be changed very often once the system has
been set up. The parameters are shown below:
b1freq ....
polzI ..
cap .
duration90 .
duration 180...
txGain
rxGain ...

the NMR resonant frequency (in Hz)


the polarizing current (in A)
the B1 coil tuning capacitance (in nF)
the length of the 90 degree pulse (in ms)
the length of the 180 degree pulse (in ms)
the amplitude of the B1 pulse (in Volts)
the gain factor for the receiver (no units)

These parameters are stored in a text file called tnNMR.par (tn Terranova) which is placed in the user
preferences path, typically in Windows 7:
C:\Users\User_Name\AppData\Roaming\Prospa\Preferences V3.2\TerranovaParameters
This location can also be viewed by selecting the Prospa main menu option FilesOpen Preferences
Folder. It is also stored in the global variable prefdir.

3.3

Shim parameters

Each macro has a button labelled Shims which provides access to the current shim settings (these are
the currents applied to the x, y and z shim coils which surround the B1 coil). Pressing this button
displays the following dialog window:

3-2

Common processing features

Figure 3.2. The shims window

The shim parameters are 3 numbers which are saved in the text file shim.par stored in the user
preferences folder (Windows 7)
C:\Users\User_Name\AppData\Roaming\Prospa\Preferences V3.2\TerranovaParameters
They have the variable names : x_shim, y_shim and z_shim. Currents are expressed in mA.
The textbox entries under the Saved label in Figure 3.2 show the currently saved shim values, while
those in the Current textboxes reflect the values which will be applied to the current experiment. You
can either modify these values by adjusting the sliders or by typing a number into the textbox and
pressing the enter key. Note that the slider updates to show this new value. The sliders have a limited
range of 50 mA so larger values can only be entered via the textbox.
If you would like to save the new values you have entered, just press the Save button to update the
shim.par file.
To restore the values currently stored in the shim.par file press the Reset button.
Shim currents are also set by the auto-shim macros.

3.4

Signal averaging time domain data

One method for improving the observed signal-to-noise ratio is to average


free-induction decays. The average function repeats the basic experiment
a number of times (as specified by the user), and the resultant FIDs are
averaged. To average FIDs, check the Average box in a macro dialog
and select an appropriate number of scans 4, 8 or 16 for example. (We
typically use a number of averages which is a multiple of 2.) Run the
experiment and observe that the signal-to-noise ratio improves. The signal
level is proportional to the number of averages, but because the noise is
(ideally) random, the noise level will increase with the square root of the
number of averages. So 4 averages will increase the signal-to-noise ratio
by a factor of 2, 16 by a factor of 4 and 64 by a factor of 8.

FID data (Acc: 1)

Magnitude spectrum (Acc: 1)

20
8

Amplitude

Signal (V)

10
0
-10

6
4
2

-20
0
0

0.2

0.4

0.6

0.8

time (s)

2180

2200

frequency (Hz)

A single scan

2220

2240

Common processing features

FID data (Acc: 4)

3-3

Magnitude spectrum (Acc: 4)


10

20

Amplitude

Signal (V)

10

-10

6
4
2
0

-20
0

0.2

0.4

0.6

0.8

2180

time (s)

2200

2220

2240

frequency (Hz)

4 scans
FID data (Acc: 64)

Magnitude spectrum (Acc: 64)

15
8
10

Amplitude

Signal (V)

5
0
-5

6
4
2

-10
-15

0
0

0.2

0.4

0.6

0.8

2180

time (s)

2200

2220

2240

frequency (Hz)

64 scans
Figure 3.3. The effect of signal averaging on the signal-to-noise ratio of FID and spectrum.
(Note that the amplitude is scaled by the number of scans to keep the calibrated amplitude constant).

3.5

Filtering time domain data

In many cases the signal-to-noise ratio of collected data can be improved, at the expense of some loss
in resolution, by applying a matched filter. Many of the NMR and MRI macros provide a filter
checkbox. Selecting this will multiply the incoming FID by an exponential filter. This is indicated in
the time domain data by a red curve. Note that the time domain data displayed in black has already had
the filter applied.
FID data (Acc: 1)

Signal (V)

50

-50

-100
0

0.2

0.4

0.6

0.8

Time (s)

Figure 3.4. An FID after being multiplied by the exponential filter (displayed in red).

The severity of the filter can be adjusted by running the filters macro in the 1D menu and adjusting the
exponential parameter p2. (Have a look at the filters help file for more details).

3.6

Using the magnitude option

By default, most experiments display and analyse complex data in the frequency domain. However this
often requires that a phase shift is applied to bring the NMR spectral peak into absorption mode. This

3-4

Common processing features

phase shift is determined automatically, but if the signal-to-noise ratio in the frequency domain is poor
or there are overlapping peaks, this routine can fail, producing a peak with dispersive components. This
can give rise to erroneous values in the integration routines. (See section 3.7).
To combat this there is a magnitude option. In this case the magnitude of the spectrum is taken before
integration occurs. This has the disadvantage of producing broad, less well defined, peaks, but they will
always have a positive integral. If you use this option, make sure you enlarge the integration range to
enclose the broader peak.

Figure 3.5. A spectral peak in magnitude mode

Figure 3.6. The same peak auto-phased and in complex


mode showing real and imaginary parts

Note that the amplitude of the frequency domain data is no longer correctly calibrated in the magnitude
mode since there is no longer a simple relationship between the initial FID amplitude and the integral
of the magnitude peak.

3.7

Integrating spectral peaks

In many experiments it is important to determine the initial amplitude of the FID. Generally this is
more precisely determined in the frequency domain since the area under the real part of a peak, if
phased for absorption, is equal to half initial amplitude of the associated FID in the time domain. The
integration width parameter in many of the macros determines the number of data points which will be
included in the integration step. (The range will be b1freq integwidth /2 ). Make sure this is wide
enough to enclose the resonance peak without including any spurious noise peaks. The comments in
section 3.6 relating to the integration of magnitude peaks should also be considered.

3.8

Phase cycling the 180 pulse

Any pulse sequence which includes a spin-echo is susceptible to the problem of imprecise 180 pulses.
Because the B1 coil is a short solenoid there will be a variation in the strength of the B1 field along the
axis of the B1 coil. Although an imprecise 90 pulse will result in a loss of signal, an imprecise 180
pulse is a much bigger issue. Consider the case of the T2 experiment. Here a spin-echo is formed in
which the amplitude of the echo should reflect the true T2 decay constant. However an imprecise 180
pulse can be viewed as having two components, one which is at 90 and one at 180. The 180
component will cause some of the spins to refocus while the 90 will produce an independent FID. If
the T2* of the probe is long enough, then the FID and the echo can interfere producing an incorrect
amplitude which often oscillates about the true amplitude as the echo time is varied. One solution to
this problem is to ensure that T2* is significantly shorter than the echo-time. This can be achieved by
deshimming the coil. Alternatively (or in addition) we can try and correct the error by phase cycling.
This works by performing two scans with different relative phases between the 90 and 180 pulses. The
effect of this is to cancel out the 90 component from the 180 pulse. In reality because of coil-ring
down problems this technique is far from perfect in the EFNMR system and often you will need to
resort to reducing T2* by deshimming to combat this problem.

Common processing features

3.9

3-5

B1 coil ring-down

Because the B1 coil and associated tuning


capacitance form a resonant system there will
always be energy left in this circuit after the
application of a 90 or 180 degree pulse. The
amplitude of the voltage across the coil will
decay away by a factor of exp(0.5) in

Q /(2 ) cycles. So for a 300 mV signal (as


seen after the 90 degree pulse in Figure 3.7)
to decay down to the noise level (say < 10
V) will take:
n=

10 V Q
1

ln
= 60 cycles
0.5 300 mV (2 )

Figure 3.7. Oscilloscope trace showing ring-down after a 90


pulse (for the first 1ms after the pulse the receiver input is
overloading)

For a Q of 17 (typical for the EFNMR B1 coils) at 2200 Hz, this corresponds to 25 ms. This means that
following such a pulse we must always wait for this length of time before collecting data.
In addition this ring-down also adds to the effect of the 90 or 180 degree pulses making it difficult to
define a simple relationship between the length of the pulse and its action.
Ring-down can also be introduced if the current in one of coils which surrounds the B1 coil changes
suddenly. This includes the polarizing coil and the gradient coils. These transients can also act like B1
pulses.
Many of these effects also appear in high-field NMR, but what makes EFNMR unique is the low
resonant frequency, which means the ring-down time is much longer than would be seen at say 100
MHz (where the ring-down time will be measured in microseconds). Since the basic NMR parameters
are much the same at 2200 Hz as they are at 100 MHz, this places limits on some of the experiments
we can perform. In particular we are not able to investigate materials with T1 and T2s less than about
100 ms. (Or any other investigations which require echo-times less than 100 ms).

3.10

Stopping an experiment

There are two ways to halt a running experiment. You can either press the escape key on the keyboard
or preferably press the Stop button which is present on each macro dialog. This will cause the current
scan to complete and then the experiment will exit gracefully. You will be able to run another
experiment as soon as the old one finishes.

3.11

Loading previous parameter sets

When you run an imaging or MRI macro it loads the last set of parameters used by this macro. This
information is stored in the preferences folder in the folder
C:\Users\User_Name\AppData\Roaming\Prospa\Preferences V3.2\TerranovaParameters\Experiments
which can be accessed using the Prospa main menu option FilesOpen preferences folder. In addition
the common parameters are updateed (see section 3.2).
However it is also possible to load parameters used when actually performing the experiment or a
previous experiment of the same type. To view these, press the Load button on the interface and then
choose whether to load data for a different data set or the current one (Figure 3.8) and after optionally
selecting the new data folder, choose whether to read in parameters for this data set (Figure 3.9).

3-6

Common processing features

Figure 3.8. Which data set to load

Figure 3.9. Should parameter be read in?

If you choose Yes in Figure 3.9 the previous parameters be loaded and replace the entries in the user
interface. In all cases the data associated with the chosen data set will also be displayed.

3.12

Loading previous data sets using importData

All experiments save some sort of data. It can be in the form of a plot file (plot.pt1 or plot.pt2) which
can be loaded directly into a 1D or 2D plot, or it can in the form of a Prospa data file (data.1d, data.2d
or data.3d). The latter data sets can be loaded using the Prospa File->Load data menu command or
via the NMRI menu importData. See Prospa help files for more information on these possibilities.

Earths Field NMR Experiments

4-1

4 Earths Field NMR Experiments


4.1

The pulse and collect NMR Experiment

The most basic of the NMR experiments supported by the EFNMR system is the Pulse and Collect
experiment which was used to set up the system parameters. In this section this experiment will be
described in more detail.
Polarizing pulse

90 B1 pulse

Adiabatic transitions
z

BE
z

Applied pulses

= BE
y

y
x

Magnetization evolution

y
x
x

Equilibrium
magnetization
due to BE

Magnetization
increasing

Realigned
with BE

After 90
degree pulse

Precessing in BE

y vs tv
Y component of
magnetization

Figure 4.1. The pulse and collect pulse sequence

The Pulse and Collect experiment is depicted in Figure 4.1. It consists of a polarization pulse and a B1
excitation pulse followed by detection of the NMR signal.
A theoretical expression for the signal detected by the EFNMR probe is given by:

E (t ) = B E (B1 I )V S M 0 [1 exp( P / T1 )] exp(t / T2* ) cos(B E t ) sin( tip )

[4-1]

Here is the gyro-magnetic ratio of the nuclei being studied (2.675108 s-1T-1 for hydrogen), BE is the
magnitude of the Earth's magnetic field (56 T at our location), B1 I is the magnetic field produced by
the B1 coil when unit current is applied (~30 mT/A - this determines the efficacy of detection). VS is
the sample volume (e.g. 570 ml). M 0 is the magnetization produced in the sample by the application of
a polarizing pulse of sufficient length to produce equilibrium;

M0 =

N S 2 2 (B P I )
IP
4kTS

[4-2]

where I P is the current applied to the polarizing coil (typically about 6 A). This gives a value of M 0 =
6.2910-5 Am-1 for water. The term [1 exp( P / T1 )] allows for shorter polarizing pulses (of length P
) which will cause a reduction of the signal level because of the non-zero longitudinal relaxation time
T1 of the sample. (Note that a P of 10 s will give 99% of the possible signal for a water sample).
exp( t / T2* ) represents the decay of the signal in the x-y plane due to field inhomogeneities and the

intrinsic spin-spin relaxation time of the sample, while the cos(B E t ) term describes the oscillation of
the signal due to the precession of the magnetization vector in the x-y plane. Finally the sin( tip ) term
controls the fraction of the signal which appears in the x-y plane after a B1 pulse is applied with a tip
angle tip .

4-2

Earths Field NMR Experiments

Combining these results we expect a maximum signal amplitude of about 300 V (appendix 1).
However several factors reduce this value. First the macro assumes the coils are long solenoids, which
produce uniform fields throughout their lengths. However the EFNMR probe uses short solenoids so as
to maximise the available polarizing current. This means that M0, the tip angle, and the detection
efficiency (as determined by B1/I), will vary with position. The macro in appendix 2 calculates these
effects. The results are plotted below along with their product. This will have a mean value equal to the
relative signal level detected.

Figure 4.2. A determination of the relative efficacy of the current probe compared with a system based on long
solenoids.

For the 570 ml sample (140 mm long) the signal level is only 0.75 of the long coil geometry. In
addition, shorting the BP coil during data acquisition to minimise the noise pickup reduces the detected
magnetisation by a further factor of 0.78. These two factors suggest a total signal level reduction factor
of 0.59 or a predicted signal level of 175 V. Finally we normally only polarize the sample for about 4
seconds. This, (from equation 4-1), reduces the signal by a further factor of 0.8 to 140 V. We typically
observe FID amplitudes from the 0.5 litre bottle of between 100 and 120 uV and allowing for some
additional screening caused by the presence of the gradient coils, the 140 V estimate would seem
quite reasonable.
You can verify several aspects of equation 4-1. First by adjusting the amplitude of the BP pulses you
will see that E BP . Secondly, smaller samples will produce less signal - ideally in proportion to their
volume, although, as mentioned above, due to homogeneities in the B1 and BP fields, larger samples
will produce less signal than expected. It is difficult to vary BE without moving to a different part of the
Earth, however the gyromagnetic ratio can be changed by using a sample with a different NMR
sensitive nucleus. Fluorine (19F) is a good nucleus to try.

4.2

Spin-spin relaxation time

The decay of the FID is ideally exponential and is determined by the transverse or spin-spin relaxation
time T2. However inhomogeneities present in the local field will always produce a more rapid decay
rate, with a time constant represented by the symbol T2* . The application of a spin-echo pulse sequence
can be used to refocus the de-phasing of the magnetization caused by the inhomogeneous detection
field, allowing the spin-spin relaxation time T2 to be measured accurately.

Earths Field NMR Experiments

4-3

In this next experiment, pictured in Figure 4.3, we will measure the spin-spin relaxation time of the
water sample using a spin-echo pulse sequence. This sequence applies two B1 excitation pulses. The
first is a 90 pulse that rotates the magnetization about the x-axis by 90 so that it lies along the y-axis.
A delay E is then inserted, (the echo time), in which the spins dephase due to inhomogeneities and
spin-spin relaxation effects. A 180 pulse is then applied along the y-axis which reflects the
magnetization components about the y-z plane. Another echo time-delay then occurs during which the
magnetization components refocus, producing an echo which has an amplitude reduced by spin-spin
relaxation effects alone. Data are collected from the peak of the echo onwards.
90

180

B1 Pulses

90-x pulse

z
Magnetization evolution


M


M

Equilibrium

Dephasing

180-y pulse


M

Rephasing

y
x

Echo maximum

Dephasing

y vs tv
1.0

Y component of
magnetization

0.5

Sample from here

0.0
time

-0.5
-1.0

Figure 4.3. Pulse sequence for measuring T2 relaxation (polarizing pulse not shown).

This experiment is repeated a number of times with different echo values. The relative echo amplitude
is determined by integrating the area under the spectral peak. To determine a suitable integration range,
you will first need to perform a trial spin-echo experiment.
If the echo time is particularly short or
T2* long, the excited signal from the 90
pulse may not relax to zero before the
application of the 180 pulse. This may
result in unexpected results in the T2
plot. This can be avoided by purposely
spoiling the homogeneity of local
magnetic field.
Deshimming the probe is a good way to
accomplish this. Use the T2 experiment
Figure 4.4. The set shims dialog with the y shim adjusted away
and click on the Shims button. In the
from the optimal position.
dialog which appears (Figure 4.4) move
one of the sliders (x, y or z) and then
without saving the new settings, start the spin-echo experiment by pressing the Run button. Repeat
this process to find a suitable setting, such that the acquired echo is fast decaying but does not decay so
quickly that the peak in the spectrum is extremely broad. An echo which persists for about 100 ms is
suggested.

4-4

Earths Field NMR Experiments

FID data (Acc: 4)

Magnitude spectrum (Acc: 4)

100

10
8

Amplitude

Signal (V)

50

6
4
2

-50

0
0

0.1

0.2

0.3

0.4

0.5

2180

time (s)

2200

2220

2240

frequency (Hz)

Figure 4.5. A spin-echo obtained by deshimming the probe (echo time is 200 ms and acquisition delay is 25 ms).
Note that the shape of the spectral peak is actually a projection of the spin-density onto the y axis.

The minimum allowable echo time is 25 ms to allow for the ring-down of the coil. A suggested initial
range of echo times for the T2 experiment is 10 steps of 50 ms starting at 50 ms. After completing your
first T2 experiment you can adjust the echo time range to suit the T2 decay of your sample. You may
also choose to use the average function to improve the signal-to-noise ratio of your results.

Figure 4.6. The T2 dialog

From equation 4-1 the echo amplitude can be written E = E0 exp(2 E / T2 ) . As the relative echo
amplitude is determined for each value, it is plotted in the 1D plot window. In Figure 4.7 lines of best
fit has been displayed along with the extracted T2 value and calculated uncertainties.
Measuring T2 is not a trivial exercise, because of the problem of imperfect 180 degree pulses. The
following 4 graphs show how this effects T2 data and how to correct for it. With no phase cycling and a
long FID the data is far from exponential. Phase cycling helps a bit but there is a significant amount of
variation in the data. Putting on 10 Hz of broadening by adjusting the y-shim improves the result and
adding phase cycling to this produces smallest uncertainty.
T2 = (2300 300) ms

T2 = (1640 90) ms
0.9

Attenuation (E/E0)

Attenuation (E/E0)

0.9
0.8
0.7
0.6
0.5
0.4

0.8
0.7
0.6
0.5
0.4
0.3

500

1000

t (ms)

1500

2000

500

1000

t (ms)

1500

2000

Earths Field NMR Experiments

Shimmed

Shimmed with phase cycle


T2 = (1750 20) ms

0.9

0.9

0.8

0.8

Attenuation (E/E0)

Attenuation (E/E0)

T2 = (1760 40) ms

0.7
0.6
0.5

0.7
0.6
0.5

0.4

0.4

0.3

0.3
500

4-5

1000

1500

2000

500

t (ms)

1000

1500

2000

t (ms)

Deshimmed

Deshimmed with phase cycle

Figure 4.7. T2 results showing the effects of phase cycling and deshimming

4.3

Spin-lattice relaxation time

The EFNMR apparatus is unique when compared to conventional high field NMR systems because the
polarizing field is separated from the detection field. In the context of T1 measurements this means that
two T1 parameters can be measured: T1 in the polarizing field and T1 in the Earths field.
4.3.1

T1 in the Polarizing field

The longitudinal or spin-lattice relaxation time, T1p, in the polarizing field can be measured by
performing an array of pulse and collect experiments with variable polarizing pulse times, p. The pulse
sequence diagram for this experiment is depicted in Figure 4.8.
The relative signal amplitude (or what is equivalent, the area under the spectral peak) is then plotted as
a function of this time. An array of polarizing pulse durations, P , can be declared in the following
dialog (Figure 4.9) by setting the polarizing parameters: Minimum polarizing time, Polarizing step
size and Number of steps. Zero is also included in the final data set, since zero pulse length
produces zero magnetization. For best results the maximum polarizing pulse should be several T1 time
periods. The T1 for a water sample is about 2 s. Therefore a reasonable range of polarization time
periods is 500 ms to 5 s, at 500 ms intervals.

Figure 4.8. The T1 in Bp pulse sequence diagram

From equation 4-1 the signal amplitude can be written:

4-6

Earths Field NMR Experiments

S = S 0 [1 exp( P / T1 )] .
The output of the T1 macro is a plot of the signal amplitude as a function of polarization pulse duration.
A line of best fit is found and plotted. From this, the spin-lattice relaxation time and uncertainty are
calculated and displayed as shown below.

Figure 4.9. The T1 in the polarizing field dialog

Figure 4.10. T1 Analysis. This figure is


updated as data for each new polarizing
time is collected. The x axis is the
polarization time

Attenuation (E/E0)

T1 = (2280 50) ms

0.8
0.6
0.4
0.2
1000

2000

3000

4000

5000

t (ms)

4.3.2

T1 in the Earths field

The longitudinal or spin-lattice relaxation time, T1e, in the Earths field can be measured by performing
an array of pulse and collect experiments with variable delay periods between the polarizing pulse and
the 90 pulse. The pulse sequence diagram for this experiment is depicted in Figure 4.11.

Earths Field NMR Experiments

4-7

Figure 4.11. The T1 in BE pulse sequence diagram.

The relative signal amplitude (or equivalently the area under the spectral peak) is then plotted as a
function of this time. An array of delay values, t, can be declared in the following dialog (Figure 4.12),
by setting the pre-90 delay parameters: minimum pre-90 delay, pre-90 delay step size and number of
steps. For best results the maximum delay should be several T1 time periods. The T1 for a water sample
is about 2 s. Therefore a reasonable range of pre-90 delays is 500 ms to 5 s, at 500 ms intervals.

Figure 4.12. The T1 in BE dialog

The signal amplitude can be written: S = S 0 exp( t T1 ) because the equilibrium magnetization in the
Earths field is essentially zero. The output of the T1 in BE macro is a plot of the signal amplitude as a
function of pre-90 delay. A line of best fit is found and plotted.

4-8

Earths Field NMR Experiments

Attenuation (E/E0)

T1 = (2320 10) ms
1.0
0.8
0.6
0.4
0.2
0

1000

2000

3000

4000

t (ms)

Figure 4.13. T1 Analysis

Note that even with a zero pre-90 minimum delay, as set in this dialog, there is a hidden pre-pulse
delay of 100 ms to allow the polarizing current to drop to zero and the magnetization to adiabatically
return to the Earths field direction. In addition there is the 25 ms delay after the 90 pulse. This means
that it will be difficult to measure T1 values below 100 ms.

4.4

The Pulsed Gradient Spin Echo (PGSE) Experiment

Pulsed gradient spin echo (PGSE) is an versatile experiment and can be used to measure molecular
self-diffusion coefficients and fluid flow.
The pulse sequence is shown below (Figure 4.14) and is based around the spin-echo 90 - 180
sequence used for measuring T2 relaxation. However the difference here is that we also apply two
narrow magnetic field gradient pulses shortly after each B1 pulse.
90

180

B1 Pulses

Gradient Pulses

Sample from here


Y component of
magnetization

time

Figure 4.14. Pulse sequence for measuring diffusion (polarizing pulse not shown)

Earths Field NMR Experiments

4-9

During the first gradient pulse, the magnetization vectors in different parts
of the sample will precess at very different rates due to the (almost) linearly
varying field and so phase coherence is rapidly lost. If no molecular motion
occurs before the second gradient pulse is applied, then these vectors will
reverse their motion, due to the action of the 180 pulse, and so form an
echo as in the simpler T2 sequence. However if motion has occurred in the
direction of the applied gradient, either due to self-diffusion or flow - then
the re-phasing will be incomplete since the spins will experience a different
local field during the second gradient pulse. The result will be a modified
echo amplitude. If self-diffusion has occurred, the amplitude will be
reduced (since re-phasing will be incomplete), while for pure flow there will
be a phase shift. In this experiment we will measure the self-diffusion
coefficient of water. To reduce the effects of convection (a problem in large
samples) you can use a porous material soaked in water (such as a sponge or
small glass beads) as a sample. As long as the pore sizes are not so small as
to restrict the motion of the water during the experiment we will see a
diffusion coefficient equal to that of free water.

Figure 4.15. The PGSE dialog

Set up the experiment as for T2 relaxation. The B1 pulse parameters are chosen as before. The delay
between the pulses will depend on the T2 of the sample, but should be long enough to accommodate the
gradient pulses and the ring-down they produce (20 ms before and typically 100 ms after the gradient
pulse switches off). If you are performing this experiment in an area of high magnetic field
homogeneity you may find it necessary to spoil the homogeneity of the field by deshimming the probe.
This ensures that excitation transients caused by the switching gradients do not interfere as much with
the experiment. (However this is less of an issue with this experiment than T2 because of the dephasing
action of the PGSE gradients.)
The gradient parameters determine the number of pulse durations used in the experiment. In the above
example there are 10 steps. The first has a gradient pulse 5 ms long , the second 10 ms and so on up to
a maximum of 50 ms. All pulse will have an amplitude of 2 A. The zero length step is included if the
Include first point checkbox is selected. The Gradient current text box in the dialog sets the
gradient current in the device and informs the macro of the chosen value so that the correct calculation
can be performed. Finally, as with the relaxation experiments, you can choose to average data for each
separate set of parameters to improve the signal-to-noise ratio.
The output of this experiment, like the T1 and T2 experiments, is a changing echo amplitude, decreasing
in this case. The change in amplitude can be understood and analysed by employing a simple model for
diffusion and assuming that the molecules only move between and not during the gradient pulses.

4-10

Earths Field NMR Experiments

Using this narrow gradient pulse approximation it can be shown that a spin at position r during the
application of the first gradient pulse acquires a phase shift g r. If it then moves to position r it will
acquire a second phase shift of g r during the second gradient pulse. The net phase shift will
therefore be g ( r - r) . The total signal acquired in the PGSE experiment will be the ensemble
average of all the phase shifts exp [ i g ( r - r) ] weighted by the probability for a spin to start at
position r and finish at position r.
The probability can be represented by an averaged propagator Ps(R,) where R = r - r . For selfdiffusion with coefficient D this propagator will be a Gaussian function

Ps ( Z , ) = (4D ) exp Z
12

4 D

[4-3]

and the echo attenuation function, assuming gradients along the z-axis direction, will be given by

E 0 ( g ) = (4D )

exp( Z 2 4 D) exp( igZ )dZ

[4-4]

which simplifies to
E 0 ( g ) = exp( 2 2 g 2 D )

[4-5]

Taking into account the finite duration of the gradient pulses leads to the exact expression determined
by Stejskal and Tanner1 for the echo amplitude, E, as a function of gradient field strength, g, namely
E(g)
= exp[ 2 g 2 2 D ( 3 ) ] ,
E (0)

[4-6]

where is the gyromagnetic ratio of the observed nucleus, g is the gradient field strength of the
gradient pulse, is the length of the gradient pulse, D is the diffusion coefficient and is the delay
between the two gradient pulses. This equation can be linearized and used to calculate the diffusion
coefficient.
In Figure 4.16 the echo amplitudes are plotted and fitted to the Stejska-Tanner1 equation to obtain a
value for the self-diffusion coefficient of tap water.
The example in Figure 4.16 does not include the first data point. A common error in this experiment is
that this first data point is not on the line. This is often due to convection effects in large liquid samples.
-9

Diffusion coefficient = (3.07 0.07) 10 m s


10

-1

0
9
8
7
6

Attenuation (E/E0 )

It is sometimes difficult to produce


a straight line in this graph. Make
sure that the range of pulse lengths
is not too large relative to the echo
time and compensate by using a
large current to ensure that there is
sufficient attenuation (2 A is the
maximum). We recommend an
echo time of at least 200 ms and a
minimum delay between gradient
pulse and 180 pulse of 100 ms.

5
4
3

0.1

0.2

0.3
0.4
0.5
2 G2 2 (-/3) (109 sm-2 )

0.6

0.7

Figure 4.16. PGSE Analysis

Attenuations greater than a factor of 10 are difficult to achieve with good signal-to-noise so this should
also be considering when choosing parameters. In magnitude mode it is typical to see the data curving
1

Stejskal, E.O. and Tanner, J.E. (1965). J. Chem. Phys. 42, 288

Earths Field NMR Experiments

4-11

up at the end of the plot if the attenuation is too great. A line which curves down for larger attenuations
is usually caused by insufficient delay between gradient pulse and 180 pulse. In this case increase the
echo time or decrease the pulse step size.

4.5
4.5.1

The Carr-Purcell-Meiboom-Gill (CPMG) Experiment


The CPMG Pulse Sequence

In a spin-echo NMR experiment (section 2.4.5) a 180 B1 pulse is used to re-focus transverse
magnetization de-phased due to local magnetic field inhomogeneities. This pulse sequence consists of
two B1 pulses; a 90 pulse followed, after an echo time period (E), by a 180 pulse. The echo forms
during the echo time period following the 180 pulse, such that the centre of the echo occurs at a time
E after the centre of the 180 pulse. This technique re-focuses any NMR signal which was de-phased
due to local magnetic field in-homogeneities; however, de-phasing due to spin-spin relaxation is
irreversible and so the echo amplitude is weighted by the spin-spin relaxation decay term, characterized
by the spin-spin relaxation time constant T2.
In the Carr-Purcell (CP) sequence, multiple re-focusing pulses are used to generate a train of spin-echo
signals. The CP pulse sequence diagram is shown in Figure 4.17. The first 90 excitation pulse excites
the signal. After a time period E, a 180 re-focusing pulse is employed to generate the first echo.
Subsequent 180 re-focusing pulses are applied at intervals of 2E to generate the additional echoes. An
echo forms at a time E following each 180 pulse. As mentioned above, the amplitude of each echo
will be weighted by the T2 decay. Therefore a plot of the echo amplitudes as a function of time (where t
= 0 is the centre of the first 90 excitation pulse) will provide a record of the T2 decay of the observed
nucleus.
In the CP sequence each echo is sampled within an acquisition window centred about the centre of the
echo. Each acquired echo can be Fourier transformed to yield an NMR frequency spectrum. The echo
amplitude can be calculated from the spectrum as the integral under the spectral peak corresponding to
the sample. Alternatively, the echo amplitudes can be determined directly from the time domain data as
the intensity of the single point at the centre of the echo. The advantage of integrating the spectrum
over the time domain method is that the integral rejects all noise outside of the integration range.
The CP sequence is very sensitive to non-ideal tip angles. If the 180 pulses are not ideal (i.e. if they
vary across the sample or are slightly larger or smaller than 180), then the re-focusing of
magnetization de-phased due to local magnetic field inhomogeneities will be incomplete. Thus the
amplitude of each echo will be weighted by the imperfections in the refocusing pulses as well as by the
T2 relaxation of the nuclei. Pulse errors in the CP experiment are cumulative, i.e. the errors in the
second echo are the result of not only the non-ideal nature of the second 180 pulse but also the first.

Figure 4.17. The Carr-Purcell (CP) multiple-echo pulse sequence

The Carr-Purcell-Meiboom-Gill (CPMG) pulse sequence is an adaptation of the CP sequence that


compensates for errors due to non-ideal 180 pulses. In this sequence, the 180 pulses used to re-focus
the magnetization have a phase of /2 (90) with respect to the initial 90 pulse. For example, a typical

4-12

Earths Field NMR Experiments

CMPG sequence will employ a 90x excitation pulse followed by a train of 180y re-focusing pulses. In
this sequence, errors in the re-focusing pulses are corrected for every second echo and so cumulative
pulse errors are avoided; however, because only every second echo is corrected, an oscillation in signal
amplitudes between corrected and non-corrected echoes is often observed. The non-ideal tip angle
compensation can also be achieved by alternating the phase of the 180 pulses by (180). In this pulse
sequence the pulse train would is: 90x 180x 180-x 180x 180-x.

4.5.2

The Terranova EFNMR CPMG Experiment

The CPMG experiment dialog is shown in Figure 4.18 with some typical parameters. Most of the
CPMG pulse parameters are familiar from previous EFNMR experiments; however there are some new
parameters to consider.
The common pulse parameters are the same as those used in the core Terranova EFNMR experiments.
The only additions are the phase of the 90 and 180 pulses. These parameters take values in degrees
between 360 and +360. Refer to Table 4-1 for the pulse phases required for tip angle compensation
using the alternating 180 pulse phase and constant 180 pulse phase sequences. The echo train
parameters, Number of Echoes and Echo time (ms), determine the number and time spacing of the
re-focusing (180) pulses. The total number of acquired data points cannot exceed 32768. Therefore the
number of acquired data points per echo multiplied by the number of echoes must be less than or equal
to this number. The echo time is constrained by the acquisition parameters and the ring-down of the
coil as in the single-echo spin echo experiments. This will be discussed further in the section on the
acquisition parameters.

Figure 4.18. The CPMG experiment dialog

The CPMG dialog provides the choice of two pulse sequences. In the first option: Constant 180 pulse
phase, all of the re-focusing (180) pulses have the same phase. In the second option: Alternating
180 pulse phase the phase of the re-focusing (180) pulses alternates by (180). Refer to Table 4-1
for the correct B1 pulse phases required for tip angle compensation with each pulse sequence.
Table 4-1. Chart of the relationship between B1 pulse phase and tip angle compensation
for the multi-echo pulse sequences.

Sequence
Alternating 180 phase
Constant 180 phase

Relative Phase
90-180
- rad (deg) 0
/2 (90)
0
/2 (90)

Relative Phase
180 pulses
- rad (deg) (180)
(180)
0
0

Tip Angle
Compensation
Yes
No
No
Yes

The acquisition parameters for the CPMG experiment are slightly different to the core Terranova
EFNMR experiments. Instead of choosing an acquisition time, the user chooses a dwell time, t. Dwell
time is defined as the time between successively acquired data points in the time domain. In this

Earths Field NMR Experiments

4-13

experiment t takes values that are multiples of 10 s. The acquisition time is equal to the dwell time
multiplied by the number of points acquired per echo. Note that the Number of points parameter
refers to the number of points acquired per echo. The Number of scans, Display range and
Average parameters are the same as those used in the core Terranova EFNMR experiments.
The acquisition parameters must be chosen carefully in a multi-echo experiment. The echo time must
be long enough to accommodate both the ring-down of the B1 coil and the signal acquisition window.
Therefore the echo time must be greater than half of the acquisition time (number of points dwell
time) plus the coil ring down (typically about 25 ms).
The processing parameters provide the user with several post-processing options in addition to defining
the spectral integration range. These options include zero-filling and filtering. A zero-filling factor of 1
equates to no zero-filling. A filter choice of (none) equates to no filtering. In multiple echo
experiments, in order to employ short echo times, acquisition times are typically short. In addition to
poor spectral resolution, this often means that the full echo is not sampled and so there is a sharp fall to
zero at the edges of each echo acquisition window. This sharp decay to zero introduces sinc-like
oscillations within the spectrum which can inhibit peak integration measurements. The problem of low
spectral resolution can be addressed by zero-filling at the edges of the echo. The oscillations in the
spectrum can smoothed by the application of a sine-bell-squared time domain filter which smooths the
edges of the echo to zero. It is important to note that such a filter will cause broadening of the spectral
peak and so the integration range must be increased accordingly.
Note: it is possible to obtain the echo amplitudes directly from the time domain data rather than from
an integral of the spectral peak. However, the latter method is preferred as it rejects all noise at
frequencies outside of the integration range.

4.5.3

Sample CPMG results

The following data sets were acquired using the parameters shown in the CPMG experiment dialog
(Figure 4.18). The time domain data was apodized with a sine-bell-squared filter and then zero-filled
by a factor of 4. The three data sets presented illustrate the two methods of compensating for non-ideal
re-focusing (180) pulses.
The first example, Figure 4.19, is the original CP experiment. The re-focusing (180) pulses have a
constant phase and there is no phase shift between the excitation (90) and the re-focusing (180)
pulses. Tip angle errors have a dramatic effect on the observed echo amplitudes. The apparent T2 is
much shorter than the anticipated value of a couple seconds.
FID data

Spectrum (Echo: 1)
10

20

50

15

10

0.6

Attenuation (E/E0)

Signal (V)

100

T2 = (360 40) ms

-50

0.5
0.4
0.3
0.2
0.1

-100
1000

2000

3000

time (s)

4000

5000

0.0
2160

2180

2200

2220

frequency (Hz)

2240

1000

2000

3000

4000

5000

t (ms)

Figure 4.19. The original CP experiment employing constant phase re-focusing pulses. There is no (0) phase
shift between the excitation (90) and re-focusing (180) pulses. Non-ideal tip angles have a dramatic effect on the
observed echo amplitudes.

Figure 4.20 shows a single-shot T2 measurement acquired using the CPMG sequence. The phase of the
re-focusing (180) pulses is constant and there is a phase shift by /2 (90) between the excitation (90)
and re-focusing (180) pulses. The echo amplitudes yield a T2 value much closer to the expected value.
Deviations of this observed T2 from the actual T2 may arise from diffusive attenuation of the echo if
background gradients are present.

4-14

Earths Field NMR Experiments

FID data

Spectrum (Echo: 1)
10

T2 = (1930 90) ms

15
0.8

Attenuation (E/E0)

Signal (V)

50
10
0
5
-50

0.6
0.4
0.2

0
0.0
1000

2000

3000

4000

5000

2160

time (s)

2180

2200

2220

2240

1000

frequency (Hz)

2000

3000

4000

5000

t (ms)

Figure 4.20. A sample single-shot T2 measurement of water using the CPMG pulse sequence. The relative phase
between the excitation (90) and the re-focusing (180) pulses is /2 (90).

Figure 4.21 presents the results of a multiple-echo experiment where the phase of the re-focusing
pulses alternate by (180). There is no phase shift between the excitation (90) and re-focusing (180)
pulses. This method compensates for non-ideal re-focusing pulses in the same manner as the CPMG
pulse sequence.
FID data

Spectrum (Echo: 1)
10

100

20

50

15

10

-50

T2 = (1890 40) ms

Attenuation (E/E0)

Signal (V)

0.8
0.6
0.4
0.2
0

-100

0.0
1000

2000

3000

time (s)

4000

5000

2160

2180

2200

2220

frequency (Hz)

2240

1000

2000

3000

4000

5000

t (ms)

Figure 4.21. A sample single-shot T2 experiment using the CPMG experiment with re-focusing (180) pulses with
phases alternating by (180). The relative phase between the excitation (90) and re-focusing (180) pulses is 0.

Note that it often advantageous to deshim the field when performing the CPMG experiment to
minimise the effects of imprecise 180 pulses.

Appendix 1

A.1 Signal-to-noise calculation macro


# Fundamental constants
mu0 = 4*pi*1e-7
#gamma = 2.675e+08 predefined constant
hbar = 6.626e-34/(2*pi)
kb = 1.38e-23
Ts = 273+15
# Sample temperature
# Number of protons in water per m^3
Nh = 6.7e28
rho = 1.7e-8
# Resistivity of copper
# B1 coil parameters
d1 = 0.084
l1 = 0.130
f0 = 2240
w0 = 2*pi*f0
DF = 400
wd1 = 0.25e-3
N1 = 3700
R1 = 0.351*pi*d1*N1
L1 = mu0*N1^2*pi*d1^2/4/l1
Q1 = w0*L1/R1
Q1 = 20

# Bp coil parameters
dp = 0.171
lp = 0.17
Np = 600
Ip = 6
Rp = 0.00858*pi*dp*Np
wdp = 1.60e-3
Lp = mu0*Np^2*pi*dp^2/4/lp
Qp = w0*Lp/Rp

# Diameter
# Length
# Resonant frequency
# Noise bandwidth
# Wire diameter (no enamel)
#
#
#
#

Coil resistance
Coil inductance (long solenoid)
Quality factor (theory)
Quality factor (measured)

#
#
#
#
#
#
#
#

Diameter
Length
Number of turns
Current
Coil resistance
Wire diameter
Coil inductance (long solenoid)
Quality factor (theory)

# Sample parameters
Vs = 5.67e-4 # Volume
# Calculations
B1 = mu0*N1/(sqrt(d1^2+l1^2))
Bp = mu0*Np/(sqrt(dp^2+lp^2))
pr "\n B1 = $B1$ mT/A\n"
pr " Bp = $Bp$ mT/A\n"
M0 = (gamma)^2/(4*kb*Ts)*hbar*Nh*hbar*Bp*Ip
pr "

M0 = $M0$ A/m\n"

S0 = Vs*B1*M0*w0*Q1
N0 = sqrt(4*kb*Ts*DF*R1)*Q1
pr "
pr "
pr "

S0 = $S0$ V\n"
N0 = $N0$ V\n"
S/N = $S0/N0$\n"

pr "
pr "

L1 = $L1$ H\n"
Lp = $Lp$ H\n"

pr "
pr "

R1 = $R1$ Ohms\n"
Rp = $Rp$ Ohms\n"

pr "
pr "

Q1 = $Q1$\n"
Qp = $Qp$\n"

A-1

A-2 Appendix 1

Output:
B1 = 0.0300403 mT/A
Bp = 0.00312694 mT/A
M0 = 6.29317e-005 A/m
S0 = 0.000301727 V
N0 = 9.33673e-007 V
S/N = 323.162
L1 = 0.733362 H
Lp = 0.0611147 H
R1 = 342.719 Ohms
Rp = 2.76557 Ohms
Q1 = 20 (measured)
Qp = 311.02

Appendix 2

A-3

A.2 A macro for calculating the signal producing efficiency of


the B1 and Bp coils.
R
= 0.085
maxz = 0.085
minz = -0.085
stepz = 0.001
len = 0.170
N
= 600
I
= 5.67

#
#
#
#
#
#
#

Coil radius in metres


maximum z value for calculation
minimum z value for calculation
step size along the z axis
length of coil in metres
Number of turns
Current

M = (maxz-minz)/stepz+1
Bp = matrix(M)
cnt = 0
for (k = 0 to M-1) # Step along z axis
z = minz + stepz*k
Bp[cnt] = -((z-len/2)/sqrt(R^2+(z-len/2)^2))
Bp[cnt] = Bp[cnt]+((z+len/2)/sqrt(R^2+(z+len/2)^2))
cnt = cnt + 1
next(z)
x = [minz:stepz:maxz]
Bp = I*4*Bp*pi*1e-7*N/(len*2);
# Calculate effciency of Bp coil to generate magnetization
effBp = Bp/max(Bp)
drawplot("false")
multiplot("1d",2,2)
curplot("1d",1,1)
plot(x,effBp)
xlabel("text","position (m)","size",10)
ylabel("text","efficiency","size",10)
title("text","Magnetization efficiency of B_(p)","size",10)
axes("fontsize",8)

# Analytical solution field along the axis of the B1 coil


R
= 0.041
# Coil radius in metres
maxz = 0.085
# maximum z value for calculation
minz = -0.085 # minimum z value for calculation
stepz = 0.001 # step size along the z axis
len = 0.130
# length of coil in metres
N
= 4160
# Number of turns
I
= 1
# Current
M = (maxz-minz)/stepz+1
B1 = matrix(M);
cnt = 0
for (k = 0 to M-1) # Step along z axis
z = minz + stepz*k
B1[cnt] = -((z-len/2)/sqrt(R^2+(z-len/2)^2))
B1[cnt] = B1[cnt]+((z+len/2)/sqrt(R^2+(z+len/2)^2))
cnt = cnt + 1
next(z)
# Calculate B1 as function of position
x = [minz:stepz:maxz]
B1 = I*4*B1*pi*1e-7*N/(len*2)
# Calculate tip angle as a function of position
effTip = sin(pi/2*B1/max(B1))
# Calculate efficiency of B1 coil to detect magnetization

A-4

Appendix 2

effB1 = B1/max(B1)

curplot("1d",2,1)
plot(x,effTip)
xlabel("text","position (m)","size",10)
ylabel("text","efficiency","size",10)
title("text","Tip angle efficiency of B_(1)","size",10)
axes("fontsize",8)
curplot("1d",1,2)
plot(x,effB1)
xlabel("text","position (m)","size",10)
ylabel("text","efficiency","size",10)
title("text","Detection efficiency of B_(1)","size",10)
axes("fontsize",8)
# Display combined efficiency of both coils
effTot = effB1.*effTip.*effBp
curplot("1d",2,2)
plot(x,effTot)
title("text","Relative signal along coil axis","size",10)
ylabel("text","S/S_(0)","size",10)
xlabel("text","position (m)","size",10)
axes("fontsize",8)
drawplot("true")
# Print out fraction of signal which will be observed
e = effTot[15:155] # Restrict range to sample length
eff = sum(e)/size(e)
pr("Fraction of signal observed = $eff$\n")

Output:
Fraction of signal observed = 0.7437

You might also like