Project

General

Profile

Setup and Calibration for jeolcfg » History » Version 25

Anchi Cheng, 03/03/2016 01:07 AM

1 22 Anchi Cheng
h1. Initial Setup and Calibration for jeol.cfg
2 1 Anchi Cheng
3 2 Anchi Cheng
All setup and calibrations are done on the computer that has access to JEOL's External COM through temext.dll.
4 1 Anchi Cheng
5 20 Anchi Cheng
h1. Preparation
6
7
Decide roughly the magnification and defocus that will be used in Leginon presets.  See [[Pre-MSI_Set-up]] on preset design. This is necessary as the scale calibrated depends on the defocus when the latter becomes large.
8
9 1 Anchi Cheng
h2. Copy from pyscope/jeol.cfg.template to pyscope/jeol.cfg
10
11 3 Anchi Cheng
The current template is based on a JEM-3200FSC
12 2 Anchi Cheng
13 1 Anchi Cheng
h2. Modify [tem option] section in pyscope/jeol.cfg according to your scope
14 3 Anchi Cheng
15 1 Anchi Cheng
h3. Using PLA for image shift
16
17 20 Anchi Cheng
Image shift is normally achieved with IS1.  However, PLA is a often a better choice as it does not induces beam tilt at
18 13 Anchi Cheng
the specimen, although its range is more limited.  When an omega filter is part of the scope, this also makes sure the beam not
19
affected at the entrance of the filter.
20 1 Anchi Cheng
21 13 Anchi Cheng
h3. CL3 RELAXATION MAG
22
23
The center of the beam on some scopes, such as JEM3200FSC at NYSBC, moves whenever CL3 is adjusted.  In such as case, a more stable position can be reproduced if the beam intensity is cycled back and forth through cross-over through a programable procedure called "CL3 Relaxation", found in TEMCON/Option/Lens Relaxation if available.  Leginon emulate that.
24
25
If you have this particular problem, set this option to a magnification where the procedure will be performed whenever the magnification is changed to a value larger than the "cl3 relaxation mag" value.  Typically this is set at a value below the magnification for fa,fc, and final exposure so that these become more stable.
26 1 Anchi Cheng
For example:
27 13 Anchi Cheng
<pre>
28 20 Anchi Cheng
CL3_RELAXATION_MAG = 2000
29 13 Anchi Cheng
</pre>
30
31 25 Anchi Cheng
h3. LOWMAG NORMALIZATION MAG
32
33
When magnification is changed from mag1 mode to lowmag mode directly through jeolcom scripting, there is no normalization of projection lens applied.  We often notice a distortion of image or changes in image shift in comparison to magnification change within lowmag mode.  The LOWMAG_NORMALIZATION_MAG defines the mag Leginon will first go to when mode is changed to lowmag before applying the desired one.  This has been different from scope to scope.  Two good values that have had success in are (1)- The highest magnification that is in lowmag range that is registered in Leginon, and (2)- The magnification used for gr preset.
34
35
Note that not all lowmag mode magnifications are registered in Leginon.  We do not include any magnification higher than the lower limit of mag1 magnifications.
36
37 3 Anchi Cheng
h3. Lens Series within MAG1 and LOW MAG modes
38
39
There are distinct sets of objective and projection lens settings within MAG1 mode that gives
40
different scale and neutral values.  We assign each of these lens series (LS) numbers, starting at 1 at
41
the lowest mags. Similarly, we also named the lowest LOWMAG mode lens series LM1 and assign a
42
different deflector scale to them.
43
44
The order of magnifications is therefore roughly
45
46
<pre>
47 14 Anchi Cheng
LM1->the rest of LOWMAG->LS1->LS2->LS3->LS4->the rest of MAG1
48 3 Anchi Cheng
</pre>
49
50 1 Anchi Cheng
* To simply the mapping of magnification to the projection modes, MAG1 will be used if a magnification
51
can be achieved by either LOWMAG and MAG1*
52
53 5 Anchi Cheng
These four configurations like these therefore define the boundary of each lens series within the mode.
54 3 Anchi Cheng
<pre>
55 20 Anchi Cheng
LS1_MAG_MAX = 2500
56
LS2_MAG_MAX = 4000
57
LS3_MAG_MAX = 30000
58 1 Anchi Cheng
LS4_MAG_MAX = 100000
59
LM1_MAG_MAX = 200
60
</pre>
61 20 Anchi Cheng
62
* The boundary of these depends on Leginon presets magnification and defocus since the real magnification
63
can deviate from the standard focus values, so do scale values.  We found it is best to isolate those with very high
64
defocus (sq and hl presets) from the others.  In the above example, we effectively isolated every preset mag from others.
65 3 Anchi Cheng
66
h2. Run pyscope/scalecalibrator.py to get values for different items in jeol.cfg
67
68 8 Anchi Cheng
With the main viewing screen down do these at the computer with temext.dll registered.
69 4 Anchi Cheng
70 3 Anchi Cheng
# Double click pyscope/scalecalibrator.py to start it.
71 6 Anchi Cheng
# The script will first make the scope go through all magnifications in LOWMAG and MAG1 range to determine valid magnifications.
72 10 Anchi Cheng
# Enter the magnifications at which to calibrate.  Make sure that you include at least one magnification in each lens series that you will use.
73
# Follow the instruction to shift each coil or mechanism by the amount indicated.
74
75
For example, for image shift with IS1,  It says
76
<pre>
77
Preparie to calibrate IS1:
78
Waiting for you to setup the initial condition
79
</pre>
80
The initial condition means a visible feature at an easily remembered position such as the central dot on the main screen so that a shift can be recognized.
81
The distance between the major ticks of the linear scale bar on the main viewing screen corresponds to 1 cm at the film camera (i.e., nominal magnification)
82
83
After "hit a key to continue", this original IS1 value is recorded.  You are then asked to
84
<pre>
85
Move IS1 by 1.0 cm on Main Screen in x direction
86
</pre>
87
This means using x-axis IS1 knob to move the image feature by the amount.  The major ticks of the scale bar on the main viewing screen corresponds to 1 cm at the film camera height.
88
89
The new IS1 value is saved when you hit a key to continue.
90
91
The output include
92
<pre>
93
[def]
94
IMAGESHIFT_SCALE%LS2%X=8e-8
95
</pre>
96 1 Anchi Cheng
97 23 Anchi Cheng
* At the end of the calibration, it will ask for a filename to save the completed config.  Save it in a name different from jeol.cfg, just in case you made mistakes.
98
* Copy the good values to jeol.cfg and replace the old values there.
99 1 Anchi Cheng
100 21 Anchi Cheng
h2. modify jeol.cfg according to the scale output file
101 1 Anchi Cheng
102 22 Anchi Cheng
*Scale values will change with lens series, apparent magnification caused by large defocus if applied*
103
104
*We found that x and y coils do not always have the same scale*
105 1 Anchi Cheng
106 10 Anchi Cheng
*Missing calibration of unused lens series should not cause problem.  There is no need to go through all of them just for the sake of completeness.*
107 11 Anchi Cheng
108 24 Anchi Cheng
*The scale does not need great accuracy at this point, a 20% error probably is not going to cause failure since there we will refine this later using Leginon calibration tools.  See [[Refine IMAGE_SHIFT_SCALE in jeol.cfg]]*
109 12 Anchi Cheng
110
h2. Record standard focus and neutral deflector values
111
112
Standard focus and neutral deflector values are the references for relative movements performed in Leginon.  These values are stored in JEM scopes and will only change when engineer alignment is performed.
113
114
# Open pyscope/jeol.cfg with a text editor and leave it open so that you can enter values as you go.
115
# Double click pyscope/standard.py to start it.
116
# The script will first make the scope go through all magnifications in LOWMAG and MAG1 range to determine valid magnifications.
117
# Follow the instruction to go through each magnification that you will access.
118
# At the end the program will summarize the values which you can copy into jeol.cfg
119
120 1 Anchi Cheng
*You may notice as I have that at LS2 (and probably above) the standard defocus is unchanged at different mags.  In this case, put only the standard focus value for the lowest magnification so that the defocii can be modified together in this lens series*
121 13 Anchi Cheng
122
h2. Set up stage backlash options
123
124
Backlash correction on JEOL scopes may be different individually.  These options allows tuning of them.
125
126 1 Anchi Cheng
There are two kinds of backlash correction.  Full correction send the stage to a temporary position at a fix distance and direction relative to the final position first, before moving to the final.  The temporary position used in "reduced correction" is at half the distance of the final movement. Its purpose is to save time.
127
128
BACKLASH_SCALE:  This has separated X, Y values.  They defines the size of backlash correction (in meters) the stage makes when full correction is performed.  To determine the proper value, observe the movement of the stage when you use TEMCON program "Operation/Specimen Position" to recall a position from memory.
129 14 Anchi Cheng
130
BACKLASH_LIMIT%FULL: The smallest movement in meters at which a full correction will be performed. TEMCON program does this at all distance, but it is time consuming.  We switch to reduced method at 10 um, i.e. BACKLASH_LIMIT%FULL = 1e-5
131
132
BACKLASH_LIMIT%REDUCED: The smallest movement in meters at which a reduced correction will be performed.  We currently use reduced method down to at 0.5 um, i.e. BACKLASH_LIMIT%FULL = 5e-7
133
134 15 Anchi Cheng
h2. Enter STAGE_LIMIT and ACCURACY of the stage movement
135 14 Anchi Cheng
136 15 Anchi Cheng
axises are X,Y,Z,A, and B. XYZ are in meters, AB are in radians
137 14 Anchi Cheng
138 18 Anchi Cheng
Stage movement becomes random once it is below a particular value.  This is scope dependent.  You can specify a different values if different from the default.  Please adjust the [[Iterative Stage Movement]] Tolerance accordingly.  [[Determine Target Tolerance and Acceptable Tolerance|Reproducibility test]] can be done in Navigation Node.
139 14 Anchi Cheng
140 1 Anchi Cheng
Jeol stage XY accuracy from our experience is in the range of 0.1-0.2 um.
141 18 Anchi Cheng
142
Accuracy in A (TX) can be estimated by looking at the fluctuation in value displayed in JEOL TEMCOM.  It is around 0.2 degrees in the two cases we have.
143 16 Anchi Cheng
144 1 Anchi Cheng
h2. Examples
145
146 21 Anchi Cheng
jeol.cfg.template is a real jeol.cfg used on NYSBC JEM3200FSC equipped with DE-20.  The effective pixel size is 1.4 um at 62000 x nominal mag.  It has energy filter and automated aperture but we do not yet align the slit during the experiment.  The automated apertures are also deactivated since its main use in removing/inserting objective aperture is not precise enough for our purpose.  We also have a special lens program for 2000x which gives effective mag of 750x used for DE-20 sq mag.  Because of that it belongs to its own sub-lens series. [[j3200 de20 preset design]]
147 16 Anchi Cheng
148 21 Anchi Cheng
Attached is jeol.cfg used on NYSBC JEM2100F.  Gatan K2 Camera is used here with effective pixel size of 1.4 Angstrom at 25000 x nominal mag [[j2100f k2 preset design]]