- Open Access
Maximising the resolving power of the scanning tunneling microscope
Advanced Structural and Chemical Imaging volume 4, Article number: 7 (2018)
The usual way to present images from a scanning tunneling microscope (STM) is to take multiple images of the same area, to then manually select the one that appears to be of the highest quality, and then to discard the other almost identical images. This is in contrast to most other disciplines where the signal to noise ratio (SNR) of a data set is improved by taking repeated measurements and averaging them. Data averaging can be routinely performed for 1D spectra, where their alignment is straightforward. However, for serial-acquired 2D STM images the nature and variety of image distortions can severely complicate accurate registration. Here, we demonstrate how a significant improvement in the resolving power of the STM can be achieved through automated distortion correction and multi-frame averaging (MFA) and we demonstrate the broad utility of this approach with three examples. First, we show a sixfold enhancement of the SNR of the Si(111)-(7 × 7) reconstruction. Next, we demonstrate that images with sub-picometre height precision can be routinely obtained and show this for a monolayer of Ti2O3 on Au(111). Last, we demonstrate the automated classification of the two chiral variants of the surface unit cells of the (4 × 4) reconstructed SrTiO3(111) surface. Our new approach to STM imaging will allow a wealth of structural and electronic information from surfaces to be extracted that was previously buried in noise.
The resolution of the scanning tunneling microscope (STM) has barely improved since its inception . Only small advances have been achieved through low noise electronics, enhanced vibration damping, and low-temperature operation. These incremental gains stand in stark contrast to the advances made with the atomic force microscope (AFM). Where AFM was initially the poor cousin to the atomic resolution STM, it is now possible to take non-contact AFM (nc-AFM) images with intramolecular resolution . The advantage, however, that the STM still has over nc-AFM is that the scan speed is typically around two orders of magnitude faster. In effect, this means that for the time taken to acquire one nc-AFM image it is possible to acquire around a hundred STM images. To date, this has not been viewed as a particularly significant advantage because operator practice is such that only the best one of these hundred images will be used and the others discarded. However, if all the hundred images are averaged then we would expect a tenfold improvement in the signal to noise ratio (SNR) as the random noise diminishes with the square root of the number of averaged images . This improved SNR leads to a commensurate increase in the resolving power of the STM. The reason that this kind of multi-frame averaging (MFA) has so far not been performed routinely is that unique and locally varying distortions in each of the images prevent them from being aligned in perfect registry with each other.
In scanning probe microscopy (SPM), image distortions arise from thermal drift between the sample and tip, and from non-linearity of the piezo scanners [4, 5]. Image artefacts due to electrical interference such as mains noise (50 or 60 Hz) can also be a problem. Some mitigation strategies have been proposed such as reversed scans , orthogonal scans , or even spiral scans , but these are not in widespread use owing to the difficulty of their implementation. What is required then is an approach to maximise the utility of multiple scans with a fixed orientation using a software package that can correct image distortions, and hence perform automated MFA. An example of this type of software, called SmartAlign, is used for image processing in this paper and has been described in detail by Jones et al. . Importantly, this software makes no assumptions about sample features or crystallography and requires no prior knowledge of the structure under investigation. Other codes also exist to perform affine-correction , or non-rigid registration of micrographs [9, 10]. However, these are variously not optimised for processing the multiple-scan data recorded here. These alternative approaches either do not incorporate the correction of non-linear STM distortions , require rapid scan-direction rotation , accept only pairs of perpendicular scans rather than many tens of frames , or do not make use of the serial-scanning prior knowledge . These codes also do not include planar-ramp removal or integrated template matching, both of which are useful pre- and post-processing tools.
Here, we show how MFA can provide a step change in the resolving power of the STM, and how it has significantly changed the way we approach STM experiments. By knowing beforehand that we will perform MFA, we now acquire a sequential set of tens or hundreds of frames with the same imaging conditions (e.g. we keep the following parameters fixed: field of view, scan orientation and speed, sample bias, tunneling current, and feedback settings). In the past, we would have stopped acquiring images unless they were of higher quality than those previously captured. We demonstrate the power of the MFA approach with three examples to highlight separately the improvement of the fidelity, sensitivity, and selectivity in the STM data. The first example, imaging of the Si(111)-(7 × 7) reconstruction, is chosen because it is familiar to most users of ultrahigh vacuum (UHV) STMs and can, therefore, serve as an initial experiment for others to perform to repeat our results. For the Si(111) surface, we demonstrate a ~ sixfold improvement of the SNR ratio by averaging 41 raw images. The second example demonstrates a new result that would not have been observed without MFA. We are able to distinguish with sub-picometre precision the two different adsorption sites (fcc and hcp) of Ti atoms in a (2 × 2) honeycomb Ti2O3 monolayer on an Au(111) substrate. The final example shows how automated template matching can be used to distinguish chiral unit cells of the SrTiO3(111)-(4 × 4) reconstruction. This is only possible following MFA as the raw images are too noisy for chiral identification to be performed reliably.
The Si(111)-(7 × 7) reconstruction
Si(111) samples were flashed in UHV to generate the familiar (7 × 7) reconstruction . The surface was imaged in empty-states in the STM and sequential images were recorded with 33 nm image widths. One of these single images is shown in Fig. 1a, and represents a typical surface with a variety of atomic defects. The image in Fig. 1b is one where 41 scans of the same area have been averaged. To take full advantage of the MFA process, it is helpful to perform data up-sampling (interpolating over a finer image mesh) before MFA is carried out. The original STM images of 512 × 512 pixels were interpolated to 2048 × 2048 pixels. The improvement in the image noise can be more easily seen in the magnified frames (the bordered region in Fig. 1a, b) shown in Fig. 1c, d. It is obvious that the MFA image of Fig. 1d is less noisy than that of the raw image in Fig. 1c. We have quantified this reduction in noise by plotting the noise power against the number of averaged frames, as shown in Fig. 1e. The noise power was calculated by median filtering the images using a 3 × 3 kernel and subtracting these median filtered images from the originals. This process results in images containing only noise, and the standard deviation of the noise in these images is related to the noise power. As expected for a system that is mainly governed by shot noise, the reduction in the noise power can be approximated by an inverse-square law. The red line in Fig. 1e is the least squares fit to our data with an exponent of − 0.448, which can be compared to an exponent of − 0.5 if our data were to perfectly follow Poisson statistics.
A relatively common feature in STM software packages is a process called unit cell averaging. The user creates the surface unit cell grid in the STM image, and the software averages all of the cells to create an image with an enhanced SNR. This process has variable results, and tends to only work well on images where the image is already of high quality and has few distortions. We performed unit cell averaging over defect-free unit cells of the Si(111)-(7 × 7) reconstruction. This was achieved by selecting three separate crystallographically similar regions from a single STM image. Using the known threefold symmetry of the reconstruction , we rotated all the images twice by 120° and thereby tripled the number of tiles to average to nine. The result of MFA is shown in the empty-states image in Fig. 2a. We performed a similar procedure on filled-states images, but this time we selected three tiles each from three separate images and additionally rotated them all twice by 120°, thereby generating 27 tiles to average. The filled-states MFA result is shown in Fig. 2b. The images in Fig. 2 contain ~ 100 adatoms each and are comfortably superior to the traditionally unit cell averaged results where alignment is not as accurate.
Additional resolution enhancement of Si(111) images can also be achieved with particularly favourable tips . Further SNR improvement is possible by exploiting known crystallographic relationships . For the Si(111) surface, we could have additionally used the mirror symmetry of the (7 × 7) unit cell to further double the number of tiles that we averaged. For the high-quality images we used for Fig. 2 this mirror symmetry enhancement would have resulted in little additional benefit. However, in situations where the number of tiles is limited and the raw data are noisy, then full use of the crystallographic surface symmetry relationships should be made .
Ti2O3 ultrathin films
To demonstrate the sensitivity that can be achieved with MFA, STM images of honeycomb Ti2O3 ultrathin films grown epitaxially on Au(111) substrates were averaged . Panels (a–c) of Fig. 3 show high-magnification empty-states STM images of the honeycomb Ti2O3(2 × 2) overlayer. To generate the MFA images 176 tiles of 4.2 × 4.2 nm2 defect-free areas were cropped from 88 raw frames of a continuous honeycomb overlayer. The 88 frames were recorded sequentially from the same area with no change in tip configuration and only minor changes in the STM imaging parameters. Figure 3a shows a typical raw image of one of the 176 tiles where the hexagonal rings can be identified, but where the image noise forms a significant barrier to seeing the fine atomic scale structure. The result of processing the 176 tiles, which were tripled to 528 tiles using the known threefold surface symmetry of this structure [15, 16] is shown in Fig. 3b. In this image the bright spots, corresponding to the Ti atoms , can now be clearly distinguished.
In Fig. 3c, the same data is shown as in Fig. 3b, but with an exaggerated colour scale. In this image, it can be seen that half of the Ti sites, marked as ‘A’ sites, are marginally brighter than the other half, marked as ‘B’ sites. This height difference can also be seen in the linescan indicated as a dashed white line in Fig. 3b and shown in Fig. 3d. The MFA processed image linescan (black) consistently shows a small difference in the height of the A sites and the B sites, whereas this difference is not apparent in the raw data (red) from a single tile. The height difference from the MFA processed data, highlighted in the dashed red box in Fig. 3d, is shown in Fig. 3e. Measurements of 42 A–B site pairs were taken (Fig. 3f) resulting in an average height difference of 1.32 ± 0.24 pm.
The origin of the asymmetry of the height of the A sites and B sites in the MFA images of Fig. 3b, c can be explained through an analysis of the structure of the Ti2O3 overlayer. Figure 3g is a diagram of the structure showing the bare Au(111)-(1 × 1) surface on the left, only the location of the Ti atoms shown in the centre, and the full Ti2O3 overlayer shown on the right. The Ti atoms (blue balls) are located in threefold hollow sites on the Au(111) surface, and the O atoms (red balls) are located in the outermost layer, on the ‘top’ sites. There are two types of threefold hollow sites, namely, hcp sites (yellow) and fcc sites (orange), as indicated in Fig. 3g. The structure of the overlayer results in half of the Ti atoms sitting in hcp sites, and the other half in fcc sites. Preliminary density functional theory calculations  show that the Ti atoms located on the hcp sites are marginally higher by less than a picometre than the ones on the fcc sites. It is according to this calculation that we assign the A and B sites to the fcc and hcp locations, respectively. These measurements show that through MFA we can perform atomic height determination to sensitivities comfortably better than a picometre.
Chiral unit identification on SrTiO3(111)
STM is an invaluable tool for visualising chiral crystal terminations [18, 19] and molecular arrangements on surfaces [20,21,22]. Individual chiral units can sometimes be very challenging to identify accurately in raw STM data. Here, we demonstrate the utility of performing MFA to enhance the image SNR and thereby to be able to reliably automate the identification of chiral units. The STM images shown in Fig. 4 are of the SrTiO3(111)-(4 × 4) reconstruction. This is an unusual crystal termination in that the surface unit cells have chirality associated with them. The surface exhibits domains of each of the two types of unit cell that are non-superimposable mirror images of one another [18, 19], as shown in Fig. 4a, b. We assign left-handed chirality with a blue label to the units shown in Fig. 4a, and right-handed chirality with a green label to the units shown in Fig. 4b. Unintentionally, we were able to generate more high-resolution images that contained a majority of left-handed units, which is why the left-handed image (Fig. 4a) is constructed from 297 averaged defect-free tiles and has a better SNR than the right-handed image (Fig. 4b) that is constructed from only 15 tiles.
Owing to the similarity of the two types of unit cell, it can be challenging to distinguish chirality in raw noisy images. After applying a template-matching tool on an image that contained both chiralities, it was possible to automatically identify the left and right-handed units, as shown in Fig. 4c. It is immediately apparent that unit cells of the same chirality prefer to be located next to each other, which results in extended chiral domains, separated by disordered regions. It can also be seen in Fig. 4c that a few (4 × 4) unit cells have not been identified with either chirality. This occurs where there are local defects, or where the unit cell is near the image boundary and the template is too large to be entirely overlaid on the image.
The example of chiral recognition presented here uses a single crystal termination, but of course the same approach could readily be used for STM and AFM images of adsorbed chiral molecules. In our example, this automated procedure of the identification of repeating motif units is only possible on images that contain fine-structural detail. This emphasises the necessity for correcting for scanning artefacts and using subsequent image averaging to enhance the SNR. Other methods for automated feature extraction, such as those based on Fourier transforms , may also be used for chiral unit recognition.
Artefacts present in individual STM images can include affine-distortion (shear/stretch), non-linear scanning distortion, and abrupt image contrast changes resulting from structural tip changes. These artefacts arise due to thermal drift between the sample and the tip, piezo-scanner hysteresis, or from the laboratory environment, and are generally exacerbated as field-of-view or scanning time increase. Thus, the resolution of a single STM image is determined by the combination of imaging/instrumental artefacts and the intrinsic limit to resolution due to quantum mechanical interactions. In reality, it is the artefacts that limit the resolving power of most STMs. Imaging artefacts are often hidden by using filters such as median (real-space), Wiener and low-pass (Fourier-space) filters . Nevertheless, median filters can distort the lattice or blur structural features. Wiener filters and low-pass filters involving Fourier transforms can introduce artificial periodicities or modify existing periodic features. A further point is that filters contain subjective elements where the researcher selects a specific filter to give the impression of resolution enhancement. However, we have shown in this paper that the MFA approach does not require any filtering steps. The scan-corrected images are reliable and highly reproducible due to the simple averaging process.
Previous studies from electron microscopy have shown that both the precision of image features (image intensity/feature-height) , and the lateral spatial precision of features , improves proportionally to the square root of the number of frames averaged. Here, we evaluate the signal–noise ratio (SNR) of aligned images for an increasing number of frames with similar findings. In the extreme case where many hundreds of frames are averaged, the median-filter and subtraction method becomes less sensitive to image noise and becomes limited by the finite sampling of the image data. This does not indicate that the precision is no longer improving, but merely that the resolvability of features or noise has become limited by pixel-size instead of SNR. In practice, the data in Fig. 1e shows that MFA of 30 images is sufficient for most applications because the rate of improvement diminishes significantly beyond this number.
The use of MFA techniques applied to STM images relies on obtaining images from the same area and under the same imaging conditions. Keeping sample bias and tunneling setpoint conditions the same is trivial; however the microscopist does not have control over the condition of the apical atom of the tip. Tip changes at the atomic level can result in significant changes in image contrast (e.g. Fig. 6 in Ref. ) and will often be the limiting factor that determines the number of sequential images that can be obtained. However, even as few as ten images will deliver a significantly improved SNR and it is common in STM to have this number of scans without a tip change.
We anticipate that MFA will find further application in STM images that suffer from serious distortions and thermal drift, such as those obtained during high-temperature imaging, and facilitate studies of surface diffusion . Accurate alignment of images allows movies to be created that directly reveal dynamic behaviour without the distractions inherent in unprocessed sequences . It is also possible to use automation to extract rare kinetic events that would be very time consuming to identify manually. The sensitivity of MFA may also provide new insights into the investigation of metal surfaces with corrugations less than 0.1 Å .
With the three examples presented here, we have demonstrated the fidelity, sensitivity, and selectivity that can be achieved for STM data when using a multi-frame averaging (MFA) approach. This approach is made possible by the robust and automated non-rigid registration afforded by the SmartAlign software package. We demonstrate the approximately square-root relationship improvement in SNR upon image averaging, a sub-picometre precision height measurement, and the automated identification of chiral unit cells on a surface. These automated tools, which do not require prior knowledge of the surface structure, promise to facilitate more rapid and higher-precision studies of surfaces, making full use of the experimentalists recorded data sets. This advance allows a new study of surface pico-science to be developed where subtle variations in surface structure can now be seen, that hitherto were not detected because they were buried in noise. In future developments, it would be interesting to combine MFA with automated probe microscopy , to remove the substantial operator time commitment in obtaining hundreds of STM images of the same area.
UHV-STM images were taken using two JEOL instruments, a JSTM4500s and a JSTM4500xt, both operating at a base pressure of 10−8 Pa. Constant current STM images were taken at room temperature using etched tungsten tips. The B-doped Si(111) samples were prepared by flashing at 1200 °C for 15 s to desorb the native oxide and cooled to room temperature to allow the (7 × 7) reconstruction to form. The (2 × 2) Ti2O3 honeycomb ultrathin films on Au(111) substrates were grown according to the description detailed in Ref. . The SrTiO3(111)-(4 × 4) reconstructions were generated on 0.5 wt% Nb-doped samples according to the recipe described in Ref. .
To estimate the reduction in image noise power (and resulting improvement in image signal–noise ratio), images were 3 × 3 px median-filtered and subtracted from the originals to leave an estimate of the noise only. From these noise-estimates, the standard deviation was plotted as a metric of the noise power. This process was repeated for increasing numbers of averaged images leading to the inverse square-root trend behaviour. For very large numbers of frames being averaged, the SNR becomes so high that the median-filtering approach to estimation of noise power no longer holds and the improvement becomes harder to track. For the template-matching step, repeat-tile searching was performed using a thresholded cross-correlation approach. Local maxima in this cross-correlation indicate the positions of the repeats of the given motif which are then cropped out.
scanning tunneling microscopy/microscope
signal to noise ratio
atomic force microscopy/microscope
scanning probe microscopy
hexagonal close packed
Binning, G., Rohrer, H., Gerber, C., Weibel, E.: Surface studies by scanning tunneling microscopy. Phys. Rev. Lett. 49, 57–61 (1982)
Gross, L., Mohn, F., Moll, N., Liljeroth, P., Meyer, G.: The chemical structure of a molecule resolved by atomic force microscopy. Science 325, 1110–1114 (2009)
Zhou, W., Oxley, M.P., Lupini, A.R., Krivanek, O.L., Pennycook, S.J., Idrobo, J.-C.: Single atom microscopy. Microsc. Microanal. 18, 1342–1354 (2012)
Rahe, P., Bechstein, R., Kühnle, A.: Vertical and lateral drift corrections of scanning probe microscopy images. J. Vac. Sci. Technol. B 28, C4E31–C4E38 (2010)
Sun, Y., Pang, J.H.L.: AFM image reconstruction for deformation measurements by digital image correlation. Nanotechnology 17, 933–939 (2006)
Wang, J., Wang, J., Hou, Y., Lu, Q.: Self-manifestation and universal correction of image distortion in scanning tunneling microscopy with spiral scan. Rev. Sci. Instrum. 81, 073705 (2010)
Jones, L., Yang, H., Pennycook, T.J., Marshall, M.S.J., Van Aert, S., Browning, N.D., Castell, M.R., Nellist, P.D.: Smart Align—a new tool for robust non-rigid registration of scanning microscope data. Adv. Struct. Chem. Imag. 1, 8 (2015)
Sang, X.H., LeBeau, J.M.: Revolving scanning transmission electron microscopy: correcting sample drift distortion without prior knowledge. Ultramicroscopy 138, 28–35 (2014)
Ophus, C., Ciston, J., Nelson, C.T.: Correcting nonlinear drift distortion of scanning probe and scanning transmission electron microscopies from image pairs with orthogonal scan directions. Ultramicroscopy 162, 1–9 (2016)
Berkels, B., Binev, P., Blom, D.A., Dahmen, W., Sharpley, R.C., Vogt, T.: Optimized imaging using non-rigid registration. Ultramicroscopy 138, 46–56 (2014)
Takayanagi, K., Tanishiro, Y., Takahashi, S., Takahashi, M.: Structure analysis of Si(111)-7 × 7 reconstructed surface by transmission electron diffraction. Surf. Sci. 164, 367–392 (1985)
Guo, H.M., Wang, Y.L., Du, S.X., Gao, H.J.: High-resolution scanning tunneling microscopy imaging of Si(111)-7 × 7 structure and intrinsic molecular states. J. Phys. Condens. Matter 26, 394001 (2014)
Straton, J.C., Moon, B., Bilyeu, T.T., Moeck, P.: Removal of multiple-tip artifacts from scanning tunneling microscope images by crystallographic averaging. Adv. Struct. Chem. Imag. 1, 14 (2015)
Straton, J.C., Bilyeu, T.T., Moon, B., Moeck, P.: Double-tip effects on scanning tunneling microscopy imaging of 2D periodic objects: unambiguous detection and limits of their removal by crystallographic averaging in the spatial frequency domain. Cryst. Res. Technol. 49, 663–680 (2014)
Wu, C., Marshall, M.S.J., Castell, M.R.: Surface structures of ultrathin TiO x films on Au(111). J. Phys. Chem. C 115, 8643–8652 (2011)
Wu, C., Castell, M.R., Goniakowski, J., Noguera, C.: Stoichiometry engineering of ternary oxide ultrathin films: BaxTi2O3 on Au(111). Phys. Rev. B 91, 155424 (2015)
Goniakowski, J., Noguera, C.: private communication (2017)
Marks, L.D., Chiaramonti, A.N., Rahman, S.U., Castell, M.R.: Transition from order to configurational disorder for surface reconstructions on SrTiO3(111). Phys. Rev. Lett. 114, 226101 (2015)
Russell, B.C., Castell, M.R.: Surface of sputtered and annealed polar SrTiO3(111): TiOx-rich (n × n) reconstructions. J. Phys. Chem. C 112, 6538–6545 (2008)
Fasel, R., Parschau, M., Ernst, K.-H.: Amplification of chirality in two-dimensional enantiomorphous lattices. Nature 439, 449–452 (2006)
Raval, R.: Chiral expression from molecular assemblies at metal surfaces: insights from surface science techniques. Chem. Soc. Rev. 38, 707–721 (2009)
Mali, K.S., Pearce, N., De Feyter, S., Champness, N.R.: Frontiers of supramolecular chemistry at solid surfaces. Chem. Soc. Rev. 46, 2520–2542 (2017)
Somnath, S., Smith, C.R., Kalinin, S.V., Chi, M.F., Borisevich, A., Cross, N., Duscher, G., Jesse, S.: Feature extraction via similarity search: application to atom finding and denoising in electron and scanning probe microscopy imaging. Adv. Struct. Chem. Imag. 4, 3 (2018)
Wiesendanger, R., Güntherodt, H.-J.: Scanning tunneling microscopy I & II. Springer, Berlin (1992)
Jones, L., Wenner, S., Nord, M., Ninive, P.H., Løvvik, O.M., Holmestad, R., Nellist, P.D.: Optimising multi-frame ADF-STEM for high-precision atomic-resolution strain mapping. Ultramicroscopy 179, 57–62 (2017)
Castell, M.R.: Scanning tunneling microscopy of reconstructions on the SrTiO3(001) surface. Surf. Sci. 505, 1–13 (2002)
Pennycook, T.J., Jones, L., Pettersson, H., Coelho, J., Canavan, M., Mendoza-Sanchez, B., Nicolosi, V., Nellist, P.D.: Atomic scale dynamics of a solid state chemical reaction directly determined by annular dark-field electron microscopy. Sci. Rep. 4, 7555 (2014)
Woolley, R.A.J., Stirling, J., Radocea, A., Krasnogor, N., Moriarty, P.: Automated probe microscopy via evolutionary optimization at the atomic scale. Appl. Phys. Lett. 98, 253104 (2011)
LJ and MRC conceived the experiments that led to the paper. They wrote the majority of the manuscript, with input from SW who created the figures. Image processing and analysis was carried out by LJ and SW. Experimental STM data were obtained by SW, XH and SUR. All authors read and approved the final manuscript.
We thank P.D. Nellist and A.I. Kirkland at the Department of Materials in Oxford for their contributions towards developing the SmartAlign code.
The authors declare that they have no competing interests.
Availability of data and materials
All data related to this paper may be requested from the corresponding author by email: firstname.lastname@example.org. A Matlab implementation of the SmartAlign code is available from http://www.lewysjones.com/software.
Ethics approval and consent to participate
This work was supported through the UK Engineering and Physical Sciences Research Council (EPSRC) grants EP/P511377/1 and EP/K032518/1.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Jones, L., Wang, S., Hu, X. et al. Maximising the resolving power of the scanning tunneling microscope. Adv Struct Chem Imag 4, 7 (2018). https://doi.org/10.1186/s40679-018-0056-7
- Multi-frame averaging
- Signal to noise ratio improvement
- Sub-picometre height resolution
- Si(111)-(7 × 7) reconstruction
- SrTiO3(111)-(4 × 4) reconstruction
- Ti2O3 monolayer on Au(111)