Rochester Institute of Technology
RIT Scholar Works
Theses
Thesis/Dissertation Collections
1-1992
Atomic Force Microscope: System and applications
Yue Chen
Follow this and additional works at:
http://scholarworks.rit.edu/theses
This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion
in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact
.
Recommended Citation
ATOMIC FORCE MICROSCOPE: SYSTEM AND
APPLICATIONS
by
Vue Chen
l3.
S. Zhejiang University
(1986)
A thesis submitted in partial fulfillment of the
requirements for the degree of Master of Science in
the College of Imaging Arts and Sciences of the
Rochester Institute of technology
August 1992
Vue Chen
Signature of the Author _ _ _ _ _ _ _ _ _ _
_
COLLEGE OF IMAGING ARTS AND SCIENCES
ROCHESTER INSTITUTE OF TECHNOLOGY
ROCHESTER, NEW YORK
CERTIFICATE OF APPROVAL
M.S. DEGREE THESIS
The M.S. Degree Thesis of Yue Chen has been
examined and approved by the thesis committee as
satisfactory for the thesis requirement for the Master
of Science Degree
Mehdi Vaez-Iravani
Dr. Mehdi Vaez-Iravani, Thesis Advisor
P. Mouroulis
Dr. Pantazis Mouroulis
Roger L. Easton, Jr.
Dr. Roger Easton
~. ~7>
L2tfL
Date'
THESIS RELEASE PERMISSION
ROCHESTER INSTITUTE OF TECHNOLOGY
COLLEGE OF IMAGING ARTS AND SCIENCES
Title of
Th~sis
!cifJ7tu-'v
fe.lZe
/Jl('cr~
.
.
$p1etztJ-{lIw(
*r'cn/J~
I,
~
C
h
e
h
,
hereby grant permission
to the Wallace Memorial Library of R.I.T. to reproduce my thesis
in whole or in part. Any reproduction will not be for commercial
use or profit.
Vue Chen
Signature: _ _ _ _ _ _ _ _
_
Abstract
The
Atomic Force Microscope
(AFM)
has demonstrated its
usefulness onananometer scale
surpassing
the
resolution of conventional profilometers and opticalmicroscopes.
The
principle of operation andthe
instrumentation
design
ofthe
AFM,
as well as some application
aspects,
aredescribed.
Emphasis
is
placed ontheimaging
mode ofthe
force
microscopy in
the
regimeofattractiveforces.
A
new method whichis
capable ofstabilizing
attractive mode operationis
introduced,
along
withanalysis ofthe
detection
mechanismand evaluation ofthe
system performance.Numerous
examples
illustrate
theapplicability
of attractive modeAFM
to awidevariety
ofsamples.
The
softwarewrittento controlthe
data
acquisition,
processing
anddisplay
is described.
Acknowledgements
I
wishto
express appreciationto the
following
for
their
assistancein
the
successfulcompletion of
this thesis:
Dr. Mehdi
Vaez-Iravani,
for
leading
meinto
thefield
ofmicroscopy
andacting
asmy
thesis
advisor;
Dr.
Pantazis
Mouroulis,
for
being
onmy
thesis committee;
Dr. Roger
Easton,
for helpful discussion
onsoftware;
Dedication
To my
good
friend
and
colleague
Simon P.C.
Yang,
for his
memory.
Table
of
Contents
List
ofTables
VIII
List
ofFigures
VIII
Chapter
1.
Introduction
1
1.1
AFM System
3
1
.2Two
Working
Modes
ofAFM
4
Chapter
2.
Background
7
2.1
Historical
9
2. 1 Tip-sample
Interactions
13
2.3 The
Force
Sensor
16
2.4
Resonance Enhancement
17
Chapter
3
.Detection Mechanism
22
3.1
Theory
23
3.2
Performance
27
3
.3A New Lever-sample
Geometry
3 o
Chapter 4. Implementation
34
4.1 Feedback Control
35
4.2
Computer
Interface
39
Chapter 5.
Software
41
5
.1
Programming
Environment
4 1
5
.2
Main Program
45
5.3 The
Subprograms
46
Chapter 6. Applications
52
6.1 Experimental
Results
52
6.2 Conclusions
andFuture
Extensions
59
List
of
Tables
Table
1
Scanned
Probe Techniques
7
Table 2.
Structure
ofthe
systemsoftware45
Table
3
.Subroutines
ofSXM
47
Table
4. Device
parameters52
List
of
Figures
Fig. 1 AFM
tip-sample
geometry
1
Fig. 2 AFM
system components3
Fig. 3
Two
modes of operation4
Fig. 4 Comparison
ofresolution of microscopesbefore
AFM
8
Fig. 5 Detection
schemes1
1
Fig. 6 Tip-sample
interactions
13
Fig. 7 Reonance
enhancement17
Fig. 8
Shift
of resonancefrequency
20
Fig. 9 Detection
scheme22
Fig. 10
System
optical axes24
Fig. 1 1
Phase
adjustment26
Fig. 12 First
orderBessel
function
27
Fig. 13 Noise
spectrum28
Fig. 14 Orthogonal
level-sample
geometry
31
Fig. 15 Schematic
diagram
ofAFM
34
Fig. 16 Schematic
diagram
offeedbackcircuit36
Fig.
17
Response
ofthesystem38
Fig. 18 Block diagram
ofhardware
configration43
Fig. 19
The
main windowofSXM
46
Fig. 20 Data
acquisition window48
Fig. 21 File
management windows49
Fig.
22 2-D
and3-D
display
windows5 1
Fig.
23 AFM
image
of redblood
cell55
Fig.
24
AFM
image
ofprinting
plate55
Fig. 25 AFM
image
ofintegrated
circuit56
Fig.
26
AFM
image
ofintegrated
circuittaken
by
conventionaltip
56
Chapter
1. Introduction
Since
its invention in
1986
\
atomicforce
microscopehas
rapidly
developed into
ausefultechnique
for
mapping
minuteforces
athigh
spatial resolution.The
Nobel-prize-winning
scanning
tunneling
microscope(STM)
has
proventhat
it is
possibleto
scan afine
tip
by
using
piezoelectric scanners coupledwithelectronicfeedback.
As
one memberofthe
newclass of microscopes
(known
asSPM,
scanning
probe microscopes2)
derived
from
STM,
Atomic Force
Microscopy
relies on afeedback
loop
to
scan afine
tip
overthe samplein
close
proximity
torecord aimage. As
shownin Fig.
1,
asharp
tip
is
mountedonthe endofa cantilever.
Upon approaching
thesample,
therepulsive or attractiveinteractions
between
theatoms ofthe sample andthose ofthetip
deflect
thecantilever.The
feedback
loop
thenkeeps
thedeflection
constantby
moving
thesamplecloserto oraway from
thetip;
the amount of movement recordedthus
representsthe
contour of constantforce
gradientacrossthe sample.
CANTILEVER
Fig. 1 AFM
tip-samplegeometry
TIP
SAMPLE
Because
noillumination is
needed, AFM
has
theproperty
that
theresolutionis
nolonger
limited
by
wavelength oraberrations,
but is
ratherdetermined
by
thefinest
tip
diameter
andthe
tip-sample
separation3.
It
canprovidenewways ofobtaining information
onphysical properties of sample surfaces ona nanometer scale.
Analytical
tools
sensitiveto
nanometer-scale structures arevery
important for
studying
newscientific concepts and novel materials
(e.g.
superconductivity,
organicthinfilms,
crystals,
andDNA),
aswell asmany
venerabletechnologicalproblems(notably
corrosion,
tribology,
fracture,
and adhesion).The
rangeof samples seenwithAFM
to
date is
very
board. Since
theinstrument
is
capable ofdetecting
the omnipresentvander Waals
forces,
it is
difficult
to rule out a class of materials as unsuitablefor
the technique.Although
atomic
force
microscopy
is
quitenew,
therearealready
anumber oftechnologicalapplications.
The availability
of commercialAFM
systemsin
thegeneral technicalmarket,
in both
manufacturing
anddevelopment
sites,
has
madetheAFM
animportant
toolin
various areas.
It
is
anideal
methodto
image
microfabricated patterns such asmicrocircuits.
It helps
toprovidebetter understanding
offriction
ofthinfilm
materialson amicroscopic
scale;
it
canbe
usedtostudy
magnetic properties of mass-storagerecording
mediaas a
key
componentin
mass storagetechnology.With
theever-shrinking
DETECTION
1
SCANNER
Fig.
2
AFM
system components1.1 AFM
System
A
typicalAFM
system(Fig.
2),
contains a scannercomponentwhichincludes
atip-sample
assembly;
adetection
component which sensesthedeflection
ofthecantileverdue
to thetip-sample
interactions
relatedto tip-sampleseparation and generatesan electronicsignal;
and a
feedback
component which comparesthis
signalwith a preset reference value andwasthe
difference
to regulatethe tip-sampleseparation.A
personalcomputeris
usedfor
1.2 Two
Working
Modes
ofAFM
Depending
onthe separationbetween
thetip
andsample,
there aretwoworking
modes4of
AFM:
contact mode(repulsive
mode)
and non-contact mode(attractive
mode)(Fig.3).In
the
contact modethe
tip
is
atomically
closeto the
samplesurface, making it
possibletoobtain atomic resolution.
Because
of suchproximity,
the
atomicforce interactions
canbe
large
enoughto
modify
the
tip
and samplewhich,
in
mostcases,
is
undesirable.In
the
non-contactmodethe tip-sample separation
is
relatively larger
andthelong
rangeinteraction
forces
aremeasured,
such asthevander Waals
force,
magneticforce,
ortheelectrostatic
force.
, ,
b)
a)
I
\ /
... .-.
3~20nm
^.L
r
axrx)
Fig. 3 Two
modes of operation.Small
circlesrepresent sample atoms.Dotted
lines
represent contourofconstantforce.
Different
forces
between
the
tip
and sample surface canbe
measuredto
obtaincomplementary
information
aboutthesample.Thus,
there
aredifferent
versions offorce
microscopes which are
termed
"scanning
force
microscopy"as a generalization of
"atomic
force
microscopy"Yet
they
allareunderthe
class ofmicroscopy
called"scanning
probemicroscopy",
whichessentially
usethe
samescanning
andfeedback
principles.By
its
very
nature,
thenon-contactmodeis
not capable ofachieving
atomicresolution,
but
its
completely
non-destructiveoperationmakesit
preferablein many
applications.The
smaller
interactions
that
occurin
thenon-contact modeimply
that
operationin
non-contact mode
is
moredifficult
thanin
contact mode.The
mainpurpose oftheresearch
described
here is
tofind
methodologieswhich allow reliable non-contactoperation.
Another
goalis
tobuild
a systemplatform with allthecommon componentsofSPM,
mostly
control electronics andsoftware,
ready for different detection
techniquesandpossible expansion of
functions.
In
thefollowing
pages,
after an overview ofthebasic
principles ofscanning
force
microscopy
and relatedmethods,
Chapter 3
discusses
thedetection
mechanism,
specifically,
alinear differential
opticaldetection
technique5Chapter
4
deals
with thepresents some
results,
aswellas conclusions and recommendationsfor
possibleChapter
2.
Background
Progress
in
the
development
ofAFM
andrelated methodshave been moving very
fast
over
the
pastfew
years,
andfor
every
periodtherehave been
someexcellent reviewarticles
in
each period.Binnig's
originalpaper1
(Binnig
etal,
1986)
andMartin's
paper7(
Martin
etal,
1987)
can serve asintroduction
to contact and non-contactAFM
systems,
respectively.
Other
reviews2-8'9'1213have
been
givenby
Hansma
(Hansma
etal,
1988),
Heinzelmann
(Heinzelmann
etal,
1989),
andWickramasinghe.
Wickramasinghe's
papersarerecommended as overviews ofthe
development
of various versions ofscanning
probemicroscopes.
The
book
10by
Sarid
is
a complete andinformative
source onAFM
implementation
and applications.In
addition,
thebook
by
Israelachvili
u canbe
usedfor
adeep
understanding
ofintermolecular
and surfaceforces.
In
recentyears,
theuse of point probeshas become
avery
wellknown
way
ofstudying
thesurface characteries ofa sample.
Many
physical and chemical properties otherthanatomicforce have
been
measuredusing
scanned probes.Table 1
lists
some ofthekey
achievements
in
thefield;
Figure 4
givesthecomparisonofresolution of microscopesdeveloped
earlierthanAFM. Each
ofthose microscopeshas
certain strengths andlimitations.
For
example,
the optical microscope andscanning
electronmicroscope(SEM)
Table
1
Scanned
Probe Techniques
Technique
Resolution
Group
Ref.
Scanning
Tunneling
Microscope
atomicBinnig
etal, 1981
36
Scanning
Near-Field
Optical Microscope
50nm
D. W.
Pohl,
1982
37
Scanning
Capacitance
Microscope
500nm
Matey
etal,
1985
38
Atomic Force Microscope
atomicBinnig
etal, 1986
Magnetic
Force
Microscope
lOOnm
Martin etal, 1987
39
Frictional Force Microscope
atomicMate
etal,1987
40
Electrostatic Force Microscope
single chargeAlvarado etal,
1990
41
Fig.4
Comparison
ofresolution ofmicroscopes
before AFM.
HM: high
resolution opticalmicroscope.
PCM:
phase contrast microscope.FEM:
field
emission microscope.FIM: field ion
microscope.SEM:
scanning
electron microscope.TEM:
transmissionelectronmicroscope.STM: scanning
tunneling
microscope..TEM
1000
10
0.1
HM
PCM;
-1 I I L
0.1
10
1000
only
works onspecially
thinned
samples.STM
canordinarily
be
usedto
image
conductivesamples,
whereasthe
field
emission microscope(FEM)
andthe
field ion
microscope(FEVI)
can probe
the
atomic structureonly
onthe
surface ofsharp
tipswithradius <lOOnm.
2.1 Historical
Force
measurement andmicroscopy
of surfaces on a sub-micron scalecanbe
tracedback
to
1972
whenR.
Young
and co-workersdemonstrated
a stylusprofilometer6(called
thetopografiner)
whichwascapable ofvertical andlateral
resolutions of1000
A
and10
A,
respectively.
Similar
workhas been
done
by
Israelachvili
et al.(1972)
andTeague
etal.(1982).
The
technique of precise control oftheprobe-sample separation usedin STM
has
refinedtheresolution ofsurface
force
measurementdown
to
atomic scale.Indeed
thefirst
AFM
built
by
Binnig
et al.(1986)
' wasahybrid
ofa stylus andtheSTM. Deflections
ofthe
force-sensing
cantilever as smallas 10"5 nm couldbe detected
by
atunneling tip
whichcouldmeasure
deflection.
However,
therearetwo problemsassociatedwithtunneling
detection:
(1)
tunneling
tip
exertsafairly
large
force
onthecantilever;
(2)
contaminationsonthe cantilever makethe
tunneling
current unstable.Optical
methodshave
provided abetter
approachthan thetunneling
methodfor monitoring
the
deflection
oftheAFM
cantilever.3'4
Other
techniqueswere soondeveloped
for
detecting
thecantileverdeflection.
the
originaltunneling
detection,
are shownin
Figure
5.
Where L
is
the
laser,
T
thetunnelling
tip,
C
the
capacitances,
SG
the
signalgenerator, M
the mirrors,
PD
thephotodetectors, BS
thebeam
splitter,
AO
theacousto-opticalmodulator,
Q
thequarterwave
plate,
0
theobjective, W
andC
theWollaston
andCalcite
prisms,
andSB
theSoleil
Babinet compensator,
/
the
cantilever andtthe tip.
These
detection
techniques
are:D
capacitancedetection
14:
in
whichthefractional
changein
capacitanceis detected
between
thecantilever and areference plate placedparallel to thelever.
It
is
usually
used
for
detecting
long-range
forces,
notfor
atomicresolution;
D
homodyne detection
I5' whichin differential
mode can eliminate somelaser
noise,but
which suffers
from
optical pathdrifting. Atomic
resolutionhas
been
obtainedby
using
an
improved fiber
version oftheinterferometer;
D
heterodyne detection
2:
whichis
not sensitiveto
optical pathchanges,
but
whichrequires more electronic and optical components and cannot operate
in
dc
mode.It
is
Fig.
5
Detection
schemes(
graphicsafterreference4
)
tunnelling
detection
f>
capacitancedetection
r^l
itL-sgtJ
homo
dyne
detection
c?Tf
heterodyne detection
M. M I 1 " 00 BS,.iL BS 40 P
PO
C i i- 5B as oT_t> polarization
detection
?
>V
i
(L.
JPDI PD2
laser
diode
feedback
n
polarizationdetection
16,
in
whichthe
deflection
ofthecantileveris
measuredby
meansof
the
phasedifference between
two
orthogonally
polarizedbeams
reflectedfrom
thecantilever.
It usually
operatesin differential
modefor
measuring
attractiveforce,
andis
insensitive
to
thedrifting
in
the opticalpath.The
detection
methoddescribed in
Chapter 3
generally fits in
this
category;
D
laser
diode feedback
detection
n,
in
whichthelight
reflectedfrom
the cantileveris fed
back
to alaser
diode
andthus thediode
currentcontainsthe
displacement
signal.It
is
probably
themost compactdetection
system,
but it is
not suitablefor differential
mode;
D
deflection detection
18,
wherethe
beam
reflectedfrom
the
cantileveris incident
on aposition-sensitivephotodetector.
It
is
currently
theonly commercially
available systemand
is
usually
usedin
contact mode.As
the
detection
techniques are welldeveloped,
many
effortshave been
made to adaptthesystemto specific
applications,
for
example,
ultra-high vacuumAFM
19has been
usedto
study
minuteforces
under controlled environmentalconditions,
andlow-temperature
AFM
2.1
Tip-sample
Interactions
The
contrast mechanism ofAFM
relies onthetip-sample
interactions.
The
analyses ofinteractions
relevantto
force
microscopy
arevery
important for
proper operationandinterpretation
ofthe
resulting
image.
OOQO
OCX)
OOQO
OOP
<8SS?
a)
ionic
repulsionb)
magnetic and electrostaticforces.
Fig.
6 Tip-sample
interactions,
small circles representtip
atoms,
big
circlesrepresent sampleatoms,
dotted lines
represent constantfore
contour.
In
the contactregime,
whichis
usually
considered tobe
afew
angstromsaway
from
thesample
surface, the
ionic
repulsion(interatomic
forces)
between
the
upmost atomofthe
tip
and sampledominates
thelever behavior.
Scanning
in
thisregime revealsthe surfaceelectronic energies at
Fermi
level.
In
the
non-contactregime,
interactions
most relevanttoAFM
are vander
Waals,
magnetic,
and electrostaticforces (Figure
6):
D interatomic
forces:
the
repulsiveforces
arisefrom
electron cloudsoverlap between
two
atoms
in
afew
angstrom range.The strong
distance dependence
ofthesehas
madeatomic resolution
AFM
imaging
possible.Theoretical
descriptions
ofthe
tip-samplesystem
in
thecontact regimehave been
givenby
Ciraci
24.
D
the
vander Waals
forces:
They
are relatedto thedielectric
properties ofthesamplesurface,
andinclude
theinteraction
ofadipole
with aninduced
dipole,
theinteraction
between
two orientedpermanentdipoles,
and thedispersion
interactions
arising from
induced
dipoles.
They
are always presentbetween
alltypesofbodies. For
acontamination-free, uncharged,
and non-magnetic arrangement of probeandsample,
van
der
Waals
forces
arethedominant
long
rangeinteractions.
For
ananalysisbased
onrigorous
macroscopic quantumfield
theory
see reference[25].
Because
vander Waals
interactions
arematerialdependent,
themapping
oftheinteractions
reflectsboth
topography
and chemicalinhomogeneities
ofthesamplesurface7Imaging
vander
Waals
forces is in
non-contactmode,
totally
non-destructive,
and canbe
appliedtovirtually
any kind
ofsample.These
attributeshave
madenon-contactAFM
avery
D
magneticinteractions: forces
between
magneticdipoles,
which canbe detected
by
anexperimental
setup
similarto
thatin
a non-contactAFM,
modified suchthat
amagnetized probe responds
to the
magneticfield
onsamplesurface,
thus
mapping
themagnetic
force
orforce derivative. Microscopic
study
ofmagneticstructures,
such asdomain
wallstructure, may
lead
to
newhigh
density
information
storagetechniques,
and
thus
has been
afield
ofintense
theoretical26 and experimental27research.
?
electrostaticinteractions:
existwhen eitherthetip
orthesample contains charges.A
voltage
usually
is
appliedto thesampleto createanadditional electrostaticforce.
It
is
possible
to
map simultaneously
topography
andcapacity
28Other
interactions involved
in AFM
operationinclude hydrodynamic
(in
air),
frictional,
and elastic properties ofthesample.
In
real experimentstheforces
thatactonthe
cantilever are a
dynamic
combination oftheseinteractions. It
is,
therefore,
difficult
tofind
an exact model
for
characterizing
tip-sampleinteraction.
However
the
characterization ofspecifictip-samplepairs
have
been
reported24
To better
understand thecontrastmechanism
in
AFM,
moretheoreticaland experimental workis
needed.It
is
clearthatallinteractions
influence
thedetected
signaldepending
ontheirrange andmagnitude,
andbecause
ofthis,
by
using
specificforce
sensors,
different
image
contrasts canbe
obtained,
thusallow
imaging
offeatures
suchas magneticdomains
21 andisolated
charges22.2.3 The Force Sensor
The
tip-lever
assembly
which we callthe
force
sensoris
the
heart
of aforce
microscope.The
mechanical properties ofthe
cantileverdefine
the
minimumdetectable
force7,
andthe
stability
ofthe
control oftip-sampledistance,
whilethesize ofthetip
is
relatedto theresolution of
the
microscope.The
types
of cantilevers most often used are either etchedthinmetallic wires ormicrofabricated silicon oxide orsiliconnitridewith
integral
tips31.Benefiting
from
commercial
AFM
development,
silicon cantilevershave been
made reproducible and arewell-characterized
30.
Metallic
cantilevers such aselectrochemically
etchedtungstenwires,
on
the
otherhand,
needtobe
bent
througharight
angle atthe
very
endtoform
atip,
which
is
often atroublesome task.However,
there
are stillsituations,
such asin
imaging
samples
consisting
ofdeep
and narrow "valleys"that
only
canbe
reachedby
tipswithsmall cone
angle,
where theuse oftungsten tipscanbe
preferable.The
tip
geometry
is
themost
important
parameterofaforce
sensor.Images
takenby
scanned probes alwaysconsist oftheconvolution ofthe
tip
andsample,
thesharpness(
radius ofcurvature andcone
angle)
ofthe
tip
thus
determines
the
best
obtainableresolution of anAFM.
and radii ofcurvature
down
to
10
nmcanbe
routinely
obtained30.
Recent
progressin
silicon
tip
preparation alsohave
resultedin
very sharp
tips.
2.4
Resonance Enhancement
In
the
contact(or
DC)
mode,
the
tip
is
actually
"resting"onthesurface of
the sample,
witha mean separationof
the
very
tip
andthesampleoftheorder of afew
tenths
of ananometer.
Thus,
uponscanning
the sampleevenatomic corrugations canbe
sensed.In
the
non-contactmode,
onthe otherhand,
theeffects ofthesample structures onthedeflection
ofthecantileveris
minimal.In
orderto
be
abletodo
imaging
in
thismode,
onehas
to
resortto
enhancementtechniques.A
methodthat
has
been particularly
successfulis
resonance
enhancement,
in
which thetip
is
vibratedat a small amplitude sinusoidalsignalCANTILEVER
BIMORPH
Fig. 7
Resonance
enhancementSAMPLE
near
its
resonancefrequency
10
Since
the
non-contact modeis
our chosen mode ofoperationofthe
AFM in
thiswork,
it is instructive
atthis
stageto
review anddiscuss
some of
the
basic
aspects about resonance enhancement.As
shownin
Figure
7,
the
cantileveris
mounted on a piezo electricbimorph
whichis
driven
at afrequency
cod
slightly
offthecantileverresonancefrequency
co0.In
the
effect ofthe
field
offorce
gradient,
thecantilever systemis
adriven damped harmonic
oscillator.The
equationdescribing
themovement ofthe
cantileveralong
zdirection
is29
ff
+
Y
+
TMfflJz=Fo
C0S(CM)
,2-1
withthe cantilevermass
m,
thedissipation
termy
=rrmJO,
thefree-cantilever
resonancefrequency
co0,
thedriven
frequency
cod,thequality factor
0,
andthedriving
force F0. And
the
cantileveris in
asteady
stategivenby
z(t)
=A
cos(u)jt+S)
wheretheamplitudeis
a
Lorentzian
oftheform
:,
A0(0/(i>d)
2_2
'
The
cantilever resonancefrequency
as afunction
ofits
stiffnessis
givenby
29.n
=a-LHij
,2-3
where
ap
is
the
constants ofnormalmodes,
E
the
Young's modulus,
/the
moment ofinertia,
p
themassdensity,
A
thecrosssectionarea.Because
theinteractions between
thetip
and samplestrongly depend
onthe tip-sampledistance,
the
forces
being
measured are modulated atthe
frequency
a> asthetip-sample
distance is
changing
due
to
thecantilever vibration.In
the
presenceofa nonuniformfield
of
force,
the
cantileverbecomes
"softer" or"stiffer" andhence
the
resonance propertiesofthecantilever change.
As
thetip
approaches thesample,
theincreasing
attractiveforce
decreases
the
resonancefrequency
ofthe
cantilever; conversely,
a repulsiveforce
willincrease
the
resonantfrequency.
The
operation ofthe
cantileverin dynamic detection
mode
has
been described
theoretically
by
Martin
etal.7andSarid
10As
shownin
Figure
8,
the
force
gradient5F/S:
acting
onthelever
changesthespring
constantofthecantileverto
k
&L+
8F/bz,
wherek^
is
thespring
constantofthe
lever
andkeB
is
theeffectivespring
constant.
This
givesriseto a shiftin
lever
resonancefrequency
Aco
=((o/lk^bF/b:
, which
< 1
<
to >
Ai)
Frequency
!w)Fig.
8
Shift
of resonancefrequence
results
in
acorresponding
change ofthe
vibrationamplitudeA4
thatcanthenbe
measuredeither
by
magnitude7 orby
phase ~ .32The
stiffness of a cantileveris
givenby
'K=
37cEr*
4P
2-4
where
/
is
the
length
ofthe cantilever,
andrthe
radius.The
softerthecantilever,
themorein
DC
modeforce
microscopy.On
the
otherhand,
theuse ofsoftcantilever/tip
structuresin
the
non-contact mode would resultin
three
difficulties.
First,
softercantileversbecome
quite unstable
in
the
air ambientdue
to
environmentalvibrations.Second,
asthe
tip
approaches
the
sample,
there
comes atime
whenthe
cantilever stiffnessis
nolonger
sufficient
to
withstandtheforce
gradient.Under
these
circumstances,
thetip
willexperienceaspontaneous
jump-to-contact
ontothesample surface(see
section3.3).
The
third
difficulty
resulting
from
theuse of a soft cantileveris
the
fact
thatthe
resonancefrequency
willbe
reducedtolower
levels,
withanaccompanying
reductionin
thescanspeed.
It
is
thus
necessary
touse acantilever/tip
structurewithsufficient stiffnesstoaccommodateallthese requirements.
Choices
ofresonance parameters shouldbe
madeaccording
to the sampleunderinvestigation,
themodeofoperation,
andthetypeofinteraction between
tip
and sample.It
has
been
reported thatbest
resultsin
non-contactmode
imaging
canbe
achievedwithforce
sensor propertiesin
the
rangeofk
=10-100
N/m,
7^=200-1000
kHz,
andquality factor
Q
=100-1000.
30Chapter
3. Detection Mechanism
In
non-contactmode,
ourtask
is
to
detect
the
minute vibration ofthe
cantilever.In
essence, any
displacement
sensor canbe
used.Optical
detection
schemesareparticularly
useful
owing
to theirhigh
sensitivity
and relative simplicity.Our AFM detection
schemebased
onapolarizing differential
interferometer34,
andis
similarto
thatpreviously
described
by
den Boef
32andSchonenberger
33.
The detection
systemis depicted in
Figure 9.
cantilever
Fig. 9
Detection
schemeThe interferometer
usesaHe-Ne laser
asthelight
source.The laser beam is
polarizedby
ainto
two
orthogonally
polarizedbeams
witha small angularseparationby
aWollaston
prism
(WS),
andthe two
beams
arefocused
ontotwo
foci
onthe
cantileverdue
to thefact
that
the
apparent planeofsplitting
ofthebeam is
placed atthe
back
focal
planeoftheobjective
(O). As
the
cantileveris deflected
by
the tip-sample
forces,
there
is
asmallpathdifference between
the
beams
and,
therefore,
thetwo
beams
reflected offthecantilevercontain a phase
difference
modulatedby
thetip-sample
interactions.
The
tworeflectedbeams
are recombinedin
the
Wollaston,
and arepartly
coupled outby
thebeam
splitter.Since
theinterference
between
thetwo
cross polarizations cannotbe
observeddirectly,
an analyzer(A)
witha pass axis(shown
as adot
in
Fig.9)
perpendicularto thepass axis ofthepolarizer
(shown
as anarrow)
is
placedbefore
the
photodetector(PD),
which candetect
the
intensity
oftheinterference.
3.1
Theory
To
measurethecantileverdisplacement,
thepolarization state oftheback
reflectedbeams
needto
be
analyzed.The
polarization axes ofthesystem aredepicted in Figure
10,
in
whichxandy
referto thepass axes ofthepolarizer(P)
andtheanalyzer(A),
respectively;
R
andR2
arethe
twopolarization components afterthe
Wollaston
prism,
whichareboth
oriented at
45
to
xandy.Fig.
10
System
optical axesa)
axes of polarizer and analyserb)
axes ofthe two
beams
after reflection andtheir
projection
along
analyzerAx
a)
b)
The
two
components reflected offthe cantilevercanbe
represented as34.Ri
=aiexpy(cDof+<hsina>f+Pi)
R2
=a2
expXcoof
+<|>2
sin
cof +p2)
3-1
3-2
where
av
a2
arethe
amplitudes ofeachpolarization,
co0 is
the
angularfrequency
ofthelight,
cois
the
vibrationfrequency
ofthecantilever,
fy:
and(J)2
arethe
amount of phasemodulation
due
tothe
cantileverdeflection,
andp,,
P2
are phaseterms
introduced
by
Wollaston
prism.The
amplitude ofthelight
along
theanalyzeris
(R}
-R2)cos(tz/4),
givenJ2
^
=^-{aiexpy(co0f+(t)isincof+p1)-a2expy(o)of+(t)2Sinco?+p2)}
3-3
Since
the
irradiance
is
proportionalto
(RR~),
the
detected
signal atthe
photodetectoris
given
by:
lout
<*{a?
+32-2aia2cos(5(J)Sin(Tjf-i-5p)}
3.4
whichcan
be
expanded as:lout
={
1
-1flf-[cos(5P)
J0(5(p)
-2
sin(5P)
J-,
(5<}))
sin
cosf+2
cos(5P)J2(5<t))cos(2cosO
+]}
3-5
where
,
is
aproportionality
constant,
./^J, ...arethesolutions ofBessel
function,
S^^-cJ),,
and8P=P,-p,.
The
aboveequation showsthat
thecurrent contain adc
termand thevarious
harmonics
ofcos.An
interesting
fact is
that
all evenharmonics
areproportional
to
cos(5P)
and all oddharmonics
areproportional to sin(5P).Therefore
by
change
5P
to odd(even)
multiple ofnil,
the even(odd)
harmonic
termscanbe
suppressed.
This
is
achievedsimply
by
moving
theWollaston
acrosstheincoming
beam,
because shifting
thelateral
position oftheWollaston
prism changestheoptical paths ofthetwopolarization components
(Figure 11). In
particular,
by
arranging for
5P
tobe
Fig.
1 1
Phase
adjustmentby
moving
the
prism.b)
when5P=7i/2(2n-l)
only
oddharmonics
showna)
odd and evenharmonics
showsthe optimized odd
harmonics.
The
phasedifference 8<j)
is
due
to the
optical pathdifference
ofthe two polarizations onthecantilever,
i.e.
b
=2kbh
(where
k
is
the
waveconstant, bh
is
thedifferential
cantileverdeflection,
2
timesbecause light
travels
back
andforth
twice thedeflection),
that
is
8<t>
=4n(bh)/X.
Since
bh is
usually very
much smallerthan the
wavelengthX,
8<j) is
avery
smallvalue.From
theplot ofJ,
(
Fig.
12)
one can seeTherefore
the
first
harmonic
signal,
whichis
proportionalto
b<\>,
has
alinear relationship
to
the
cantileverdeflection.
3.2
Performance
Figure 12
shows usthat the steepest part oftheJ,(x)
curve correspondsto smallx,
thusfor best
sensitivity,
8(J) is
requiredto
be
small.This
canbe
achievedby
reducing
the
drive
signal
into
cantileverbimorph.
Also because
thetwo
beams
arevery
closeto
eachother,
spurious
fluctuations
due
to environmental changeandlaser
instability
tendto
have
sameeffects on
the two
beams,
andhence
make nocontributionto
Scj). This has been
provenby
experimental measurementofsmallest
detectable
vibrationamplitude asafunction
of pathdifference
between
theinterfering
beams32The
main advantageofthisdetection
schemeis
its
common moderejection.Fig.
13
Noise
spectrumTo
evaluatetheperformance ofthe system,
analysis ofthesource of noiseis
necessary.A
typical noise spectrum
is
givenin Figure
13. The
peak atright
side reflectsthe
resonanceThere
arefour
main sources contributeto
thenoise10:
D
shot noisefrom
the
photodetector:Ssshot
=^2eV[Pbf
, wheree
is
the
electroncharge, P
is
the
optical powerincident
onthe photodetector,
r\
is
the
quantumefficiency
ofthe
photodetector, it
is
relatedto signal currentby
i
=rieP/hQ,
8/is
thebandwidth
;
?
Johnson
noise ofthe
load
resistor:8Sj
=J
5, where
R
is
theload
impedance
ofthe photodetector,
K
is
theBoltzmann constant, T
is
the
absolutetemperature;
D
Phase
noise ofthelaser:
bS
phase =T\PJ
AnAvxbf
, whereAv
is
thelinewidth
ofthelaser,
xis
the coherenttimeofthelaser;
?
thermal noise ofthe
cantilever:5S(/,erma/
= -^-TiP'
/
Qkm ,where
Q
is
themechanical
quality
factor,
k
is
thespring
constant,
and cois
theresonancefrequency
ofthe
cantilever;
The
optimalsensitivity
is
reached whentheshot noise ofdetection
electronics equalsthe
thermal noiseof cantilevervibration.
For
maximumsensitivity
alock-in
amplifieris
used.It
canbe
shownthatfor
small phasedifferentials,
thecantileverthermalnoiseis
thedominant
noisetermConsidering
a unit signalto
noise ratio andthe
linear
relationship
between
the
outputsignal and phase
differential,
the
minimumdetectable
phase canbe
calculated.For
acantilever with a
quality factor
Q
=150,
spring
constantk
=20
N/m,
resonancefrequency
/=
75
kHz;
a photodetectorwith quantumefficiency r\
=0.8;
adetection bandwidth
S/=1
kHz;
and100
u,W availableopticalpower atthephotodetector,
theminimumdetectable
phase
differential is
about10'7
rad/Hz1/2.
3.3
A New Lever-sample
Geometry
The
force
sensordiscussed in
thelast
chapterhas
the
cantilever parallelto the
samplesurface.
When operating in
thenon-contactmode withresonanceenhancement,
thiskind
of
lever-sample geometry
has
aninherent
problem:for
a cantileverhaving
afinite
spring
constant,
theforce
gradient oftheinteractions
canbe
greaterthan thespring
constant.When
this
happens
during
thescan, the
tip
is
suddenly
attractedto
the sample surface.Furthermore,
thetip
orthesamplemay
be damaged.
The
problemis known
as"jump-into-contact",
andhas been
regarded as one ofthemajordifficulties
thatpreventedTo
overcomethis
difficulty,
a newlever-sample
geometry
has
been
proposed35,
in
whichthe
cantileveris held perpendicularly
to
thesample surface(
Fig.
14
a). As
one cansee,
in
the
attractiveforce
regime,
the
cantileveris
subjectedto
an elongationinstead
ofanendloading.
The
magnitude ofthe
elongationis
negligible,
andtherefore
a"jump-into-contact"can
be
prevented.This
implies
that
theprobe-sample separation canbe
setto
any
desired
value within
the
non-contact regime.Another
advantageis
thatwhenatungstenneedleis
usedas
the
cantilever,
there
is
no needto
bend
the
very
end oftheneedlethrougharight
angle
to
form
atip,
whichusually
is
not aneasy
thing
todo.
bimorph
CO
*lever
force
sample
a)
b)
Fig.
14
Orthogonal
lever-sample geometry
To
understandthe
operation ofthis
newforce
sensor,
considerthe
imaging
withinonepixel,
i.e.
the
instance
whenthe
scanning
has
been
stopped over a samplepoint,
asdepicted
in Figure
14(a). As
the
cantileveris
setinto
oscillationby
theaction ofthebimorph,
the
probe-sample separationis
periodically
modulatedduring
the
lever
oscillationdue
to the
varying local
topography
ofthesample.Therefore
theinteraction
force
acting
on
the
cantileveris
periodic with afrequency
equivalentto the
frequency
at whichthebimorph is
being
driven (Fig.
14
b).
Because
this
frequency
is
usually very high
comparedwiththemaximum response
frequency
ofthe
feedback
system,
it
actsto
reducethemagnitudeofthe
oscillation,
andthe
resulting feedback
signalis
a representation ofthelocal
average ofthe
topography
withinthesample point.The
lateral
resolution oftheimage, however,
is
notaffectedby
thisaveraging
providedthat thelateral
motion oftheprobe
is kept
withina range small compared withtheimaging
pixel35.
The
mechanism ofthereductionin
theamplitude ofoscillation ofthecantileverin
thisorthogonal
geometry
is
morecomplicatedthan thatin
the
conventionalgeometry
discussed in last
chapter.A
number ofeffects mustbe
takeninto
accountsimultaneously
in
the
non-contact mode.The dc
part ofthe
interaction between
the
probeand thesample,
which
is
alocal
excursionby
the
particularsamplepoint, tends to
reduce theoscillationamplitude,
whilethe
acpart shiftstheresonancefrequency
ofthe cantileverandresulting
change
the
stressdistribution
onthe
cantilever crosssectionandhence
alterthe
deflection
amplitude.
It
is
worthmentioning
that
force
sensorswith orthogonalgeometry
arevery
sensitive
to
lateral forces
such asfriction force.
However,
perhapsthe
mostimportant
contribution
is
the
effect ofcapillary
forces,
due
to the
ever-presentlayer
of contaminationon sample surface
in
ambient atmosphere35.Chapter 4.
Implementation
The
operation ofthe
detection
parthas been
discussed
in
previous chapters.In
this
chapter,
weshall,
therefore,
concentrate onthe
descriptions
ofthefeedback
control circuitand
the
computerinterface.
In
this
chapterwe shalldiscuss
the
specificimplementation
ofour
force
microscope.The
basic
elements of ourAFM
system are shownschematically in
Figure 15. The
componentsinside
thedotted
rectangularbox
belong
to the
detection
part(refer
to
Figure 2
in
Chapter 1). Here
adifferential
amplifieris
the
maincomponet oftheref
-LOCK-LN
1
1L-A-/
^~
Jt
t^J
X/
^
--^
1
\_j > *--xyz
D piezodriver
D/A
fb
ml.y;S::.:Sif>,.r WI8U11I8IIMI1
F^
(Lfc^^^l\
AT
Dfeedback
control circuit.A
computerinterface
board
performsdigital-to-analog
(DAC)
and analog-to-digital
(ADC)
conversion.A
high
voltage amplifierdrives
piezoblocks
to
scan
the
sample and maintainthe tip-sample
separation.The
whole systemis
undercomputer control
through the
computerinterface.
Mechanically,
theforce
sensor and alltheoptical components are mounted on an opticaltablewhich
isolates
vibrations.The
scanner consists ofthreepiezoelectricblocks
screwedtogetherat
right
anglesto
make anxyz stage with100
umtravelin
allthree
directions.
The
piezoblocks is
ontop
ofthree
micrometersfor
coarse adjustment ofxyz position ofthe sample.
The force
sensoris
ontop
ofarotation stage which cantilt thecantileverfor
optical alignment.
The Wollaston
prismis
mounted onadifferential
micrometerfor
shifting
thelateral
positionoftheprismtothe
beam.
4.1
Feedback Control
An important difference between
theAFM
andits
predecessors suchas surface profilersis
thatAFM
is
capable oftherigidcontrol ofthe tip-sampledistance. Because
thetip-sample, distance
regulationrelies onthefeedback
loop,
effectivefeedback
controlis
crucial
for
properAFM
operation.In
addition,
sincethefeedback
voltageis
an accuratesample surface
topography.
Furthermore,
together
withthe time
constantsetting
onthelock-in
amplifier,
the
feedback
circuit affectsthesystemfrequency
response.Rl-100kn
R2=4.7
kO
R3=0~20kQ
R4=2.35kQ
R5=lkQ
R6=47
kQ
R7=10kn
Cl=0.1uF
Fig.
16
Schematic diagram
offeedback
circuit.As
shownin
Figure
16,
the
feedback
circuitin
ourAFM
system consists offour
controller
(A3)
controlthe
feedback
responsetime;
asumming
amplifier(A4)
controlstheloop
gain ofthe
feedback
circuit.The
deflection
ofthe
cantileveris detected
by
tracing
the
first harmonic
in
the
sidebandson
the
interferometer
output,
andit
is
done
by
using
alock-in
amplifierwhose outputsignal
is
the
positiveinput
ofthedifferential
amplifier.Initially,
thecantileveris
vibratednear
its
resonancefrequency
andis located
far from
thesample,
and thereferencevoltageof
the
differential
amplifieris
setto abouthalf-scale
ofthe
signaloutput oflock-in.
As
the
tip
approachesthe
samplesurface,
the amplitudeofthe cantilever vibrationdecreases
andhence
the
input
tothe
differential
amplifierdrops.
However,
aslong
asthissignalis
greaterthan thepreset reference
voltage,
thepolarity
ofthedifferential
amplifierdoes
notchange,
and thefeedback does
not respond.As
thetip-sampleseparation reachesand goesbelow
thepresetpoint,
i.e.
theinput
signal ofthefeedback
equalsthereferencevoltage,
the
feedback
circuitrespondsby
pulling
thetip
ofthesampleback
to restorethepresetcondition.
We
callthisprocess"engaging
the
tip"Once
the
tip
is
engaged,
the tip-sampledistance
canbe
changedprecisely
by
adjusting
the
referencevoltage.As
the scanproceeds,
thefeedback
signal oscillatesbetween
positive and negative railtrying
tomaintain constanttip-sample
distance.
The
frequency
response ofthe
feedback
circuitis
usually
controlledby
anintegral
controller,
but
the
combination of proportional andintegral
controllercan gain afaster
response
time than
integral
controller alone43.
The
frequency
response can alsobe
adjusted
by
changing
the
relative gainbetween
the
proportionalandintegral
controllers.Inadequate setting
ofthe
controller parameters causesloop
oscillation oroverdamping,
resulting
in
misleading
images
orunnecessary
delay
in
scanning
time.Figure 17
showsthemeasured response ofthe systemto a zmodulation signal.
This
was achievedby
using
asquare wave
to
drive
the
z-piezo,
andthusto
create a square wavemodulationofthetip-sample
separation withoutscanning
the tip.
The
time
variationofthefeedback
signalwas
then
recorded.The
detection bandwidth
was300
Hz. The
calibrationofthezmodulationwasperformed
by
noting
the
modulationvoltage,
andcalculating
the
resulting
piezo movement
based
onthesensitivity
data
ofthe
piezo.1
nm4.2
Computer Interface
The scanning
ofthe
sample andthe
reading
of eachpixelis
controlledby
apersonalcomputer via an
interface board
withboth
A/D
andD/A
conversionfeatures.
The
sampleis
scannedin
anx-y
raster.The
raster scan waveforms were generateddigitally by
thecomputer,
andthenconvertedinto
analog
voltagesviatwo
D/A
channels,
onefor
eachdirection.
The
signalfrom
thefeedback
circuitis
appliedto theA/D
converter andis
recorded
by
the
computer asdigital
data.
The
interface board
usedin
ourAFM
systemis
ahigh-speed
multi-channelanalog
anddigital I/O board designed
for
IBM AT bus
expansions(
DT2823,
Data Translations
Inc.).
The DT2823 board has
four
A/D
conversion(ADC)
channels andtwoD/A
conversion(DAC)
channels.The
two
DACs
are usedfor
the
x-y
rasterscan,
andtwo
ofthefour
ADCs
areusedfor
data
acquisition.The
othertwo
ADCs
are availablefor future
use.The
pipeline structure oftheanalog
input
circuit enablesthe
ADCs
to sampledata
at athroughput
up
to100
kHz,
with16
bits
ofresolution,
whichis fast
and accurate enoughfor
AFM imaging.
Dynamic
memory
access(DMA)
data
transferis
availablefor high
speed,
continuousconversion;however,
DMA
is
not useddue
to thelimitation
ofthedetection
system response.When
twoADCs
are selectedfor
simultaneousimaging,
analog
input
channelsare selectedsingly
by
the
external clock.Since
the
input
voltagerange
is
from
-10V
to
+10
V,
signallevel
adjustment(i.e.
stretchthe
dynamic
range ofthe
signalto
meetthe
analog
input
voltagerange) may
be
neededin
orderto
fully
utilizethe
A/D
accuracy.The
DACs
alsohave
16
bits
of resolution.Each DAC
has its
owndata
buffer,
into
whichdata
valuesare1
written prior
to
conversion.In
raster scanoperation,
two
channels areupdated separately.
Although
an on-board programmablepacer clockis
available,
onexternal clock
from
thehost
computeris
usedfor
simplicity.The analog
outputvoltagerange
is
setfor
therange0
-20V
Considering
thegain ofthepiezodriver
is
100,
theminimumvoltage applied
to
thepiezois
about30
mV,
whichcorrespondsto
about30
A
of piezo
displacement. For
aimage
of120
pixelsby
120 pixels,
the
smallest scan areais
Chapter
5.
Software
The
entire operation ofthe
AFM
is
underthe
control of acomputer;
thus
softwaredevelopment is
avery
important
partin
AFM
instrumentation.
5.1
Programming
Environment
The
computer programwrittenfor
ourAFM
system(named
SXM)
has
been
developed in
Microsoft
Windows
environment.As
anoperating
environment,
Windows
offersfour
major advantages:
?
a graphic-orienteduserinterface. The
consistentuserinterface
and commandstructuremakenewprograms
easy
to
master.Programs
areidentified
by
captionbars,
andmany
of
the
file
manipulationfunctions,
suchasto
opennewfiles,
orto
changedirectories
ordrives,
are accessedthrough theprogram'smenuby
pointing
andclicking
withthemouse.
Most Windows
programs provideboth
keyboard
and mouseinterface.
Although many functions
ofWindows
program canbe
controlledthroughkeyboard,
using
themouseis
often easierfor
graphic-orientedtask;
D
data sharing Windows
alloweasy
exchange ofdata
among
applications.For example,
different
formats
ofimages
canbe
copiedto
otherprograms viatheWindows
Clipboard;
D
multitasking.A multitasking
operations system allowstheuserto runmorethanoneprogram
concurrently;
?
hardware independence.
Windows
allowsthe sameprogramtorunidentically
on avariety
ofhardware
configurations.For
example,
thePalette Manager
ofWindows
allowseach
Windows
application programto takefull
advantage ofthecolorcapabilities of an output
device,
such as graphic card or printer.Once developed for
Windows,
alldevice
drivers
will work withallWindows
programs.And
by
the sametoken, if
aprogramis
developed
inside
theWindows
environment,
it
can work with alldevices in
Windows.
Two development
toolshave been
usedfor
developing
SXM: Microsoft Visual Basic
(VB)
andBorland
C++(BC). All
userinterfaces,
such aswindows,
menus,
buttons,
etc.,
are
built in
VB,
and allfunctional
routines(
such asADC
andDAC
control,
3-D
rendering,
anddisk
file
access)
arewrittenin
BC.
The
connection ofthe
twokinds
arewith an application program when
it is loaded
(dynamically),
instead
of whenthe
programis
compiled(statically).
All
software andthe
I/O
interface
board described here
are runin
conjunction with a32-bits
personal computer(CompuAdd
325,
CompuAdd
Inc.)
witha80386
processorrunning
at25 MHz
andfour
megabytes ofrandom accessmemory
(RAM)
and110 MB
ofharddisk
space'.The
computerhas
a8-bit
colordisplay
with a resolution of1024
by
768
other
digital
4
equipment
PC
mother
board
other
analog
equipmentA/D,
D/A
board
High
resolutiongraphic card
it
lis
monitorAT
Bus
Fig. 18 Block diagram
ofhardware
configration.pixelsaccelerated
by
agraphic co-processorfor Windows
programs.The
block diagram
of
the
hardware
systemis
shownin Figure
18. The General Purpose Interface Board
(GPIB)
listed in
the
diagram is
not requiredby
the
AFM system,
but is
usedfor
communicating
withother computers anddigital
equipment(e.g.
the
digital
interface
ofthe
lock-in
amplifier).Though Winddws
willrunin
avariety
ofhardware
and softwareconfigurations,
there aresome requirements
for
running
SXM.
First,
the
systemmusthave
atleast
four
megabytesmemory
withhigh memory
managerto
allowWindows running in
386
enhance mode.Second,
the
video card must support8-bit
colors(256
selectableshades),
astheprogramwill notwork well with
less
orgreaterthan256
colors(less
than256
shadeswilldegrade
the
image
quality;
morethan256
shadeswilldisable
the
palettehandling
DLL,
thus the
display
part ofSXM
will notwork at all).Third,
the
compliedSXM
program(SXM.exe)
requires a
file
calledvbrunl00.dll suppliedby
Visual
Basic,
sovbrunlOO.dllis
usually
copied
to
SXM
directory,
alltheotherDLLs belongs
toSXM
mustbe
underthesamedirectory
aswell.All
theimage
data
files
musthave
the
file
name extensionas*.sxm,
theprogramwill not
directly
read otherimage
format.
However,
it is
capable oftransferring
different-
image
data'format,
suchasGraphic Interchange Format
(
*tgif
)
throughthe
5.2 Main Program
The
computer program writtenfor
ourAFM
system consists ofthree
functional
programgroups:
data
acquisition,
image
display,
anddata file
management.These
three
subprograms are
integrated
in
a main program whichdistributes
tasks to
eachsubprogram.Each
subprogramis
a windowwithcontrols such asbuttons
and checkboxes
to
takein
user
input. Several
DLLs
arelinked
to eachsubprogramtoperform a specifictask.The
structure of
the
system softwareis
givenin
Table 2.
Table 2.
Structure
ofthe
system softwareuser
level:
data
acquisitionimage
display
file
managementsystem
level:
raster-generation,
2-D gray
(color)
coding,
open,
closedisk
file,
DAC,
ADC
control;
3-D
rendering;
data
exchange.The
mainprogramis
amenu-drivenwindow which callsthe appropriate subprogramaccording
to menu selectionby
the
user(
Figure 19). The File
menu,
View
menuandScan
menuwill
invoke
thefile
managementsubprogram, the
display
subprogram andthedata
acq