Introduction

Secondary electron (SE) doping contrast has hitherto been widely adopted as a scanning electron microscope (SEM) metrology standard in several phases of semiconductor manufacturing; this technique is instrumental in, inter alia, physical and failure analysis1,2,3, critical dimension mapping and control4, and process optimisation5 to implement new generations of intensely reliable and energy-efficient integrated circuits and devices. Upon irradiating a specimen with an energetic stream of primary electrons, ions or photons, the resulting low energy electron emissions via inelastic scattering when the ionisation potential is exceeded constitute the SE signal. At a p-n junction, the SE signal is strong from the p-region and weak from the n-region under standard SEM imaging conditions. P-regions appear bright and n-regions dark in semiconductor circuits, producing the so-called doping contrast, which is versatile as a voltage contrast technique of considerable scientific and technological importance. This sharp brightness transition can be used, sometimes in conjunction with EBIC analysis6, to evaluate electrical properties of doped homo- or hetero-junctions. Increased sensitivity can be achieved by external reverse biasing even under high magnification2,4,7,8,9,10, albeit trading off resolution10. Demonstrations of SE imaging capability have also recently reached an unprecedented level with visualisation of the crystal lattice and individual atoms in the bulk and surface11, rivalling that in the scanning tunnelling electron microscope12. Owing to an instrumental ability to generate sub-nanometre ultrafine probes and obtain highly-localised secondary emissions, doping contrast at atomic-scale resolution may be possible, especially for heavy atoms11.

Although an initial drawback of the SEM technique is the dearth of well-calibrated quantitative models, progress has been made in evaluating and modelling the doping contrast mechanism in bulk materials, which is due to the built-in potential across the electrical junction, modified by the effects of surface band-bending, surface boundary scattering, the local electric fields above the specimen surface called patch fields, and the detector collection solid angle13. Where the crystal is terminated at the surface, the abrupt potential change results in the formation of a surface dipole layer, which for a semiconductor, extends below the surface giving rise to a surface depletion region and surface band-bending14,15,16. The charges on a clean and ideal surface give rise to states, typically in the band gap, called Shockley or Tamm states; and surface states also arise from an oxide overlayer. Moreover, any variation in the two-dimensional electric potential landscape due to a non-uniform surface charge distribution can result in patch fields outside a specimen17,18. SEs generated in semiconductor crystals that diffuse to the surface therefore either encounter a diffusion barrier or drift through sub-surface electric fields due to the surface depletion region and dipole layer before percolating through surface/interface boundaries that modify the trajectories of emission13,19, and may be further subjected to refraction by any patch fields after escaping the surface13,20. The SE signal intensifies if the doping-dependent field and scattering effects enhance the collection efficiency into the lens bore, and vice versa.

Optimisation and quantification schemes are thus continually being developed and deployed to exploit the SE characteristics for rapid, contactless and non-destructive dopant profiling in the SEM at high spatial resolution. Notably, energy-filtered imaging allows improved quantitative features, reproducibility, sensitivity and accuracy9,21,22,23,24,25,26. Further, by acquiring an image series through an energy window of interest, in situ SE spectromicroscopy mandates an additional dimension permitting evaluation of the surface electronic band structure via kinetic energy (ESE) constituents of the composite signal22,27. However, it is known that the inherent and heretofore unresolved limitations in the interpretation of SE signal measurements represent a major source of quantification error. For instance, adlayer-semiconductor contacts formed from adventitious hydrocarbons alter the surface dipole layer and contribute to doping contrast28 but lead to stochastic uncertainty in the final analysis24,27,29. Hence, quantitative dopant profiling cannot be reliably performed with sufficient sensitivity and accuracy unless the near-surface effects, including that of surface band-bending and patch fields, are well controlled and well correlated with changes in doping contrast. Analogous to other surface-sensitive characterisation techniques such as absorption spectroscopy or X-ray photoemission spectroscopy30, doping contrast will be strongly modified by (electro)chemical processing methods that are routinely employed for ULSI microfabrication, or have potential utility in single dopant electronic device fabrication31. Therefore in this study, we examine and demonstrate in the SEM for the first time, energy-filtered SE intensity and spectromicroscopy measurements from a wide semiconductor doping range, not only before, but after wet chemical etching. Herein, we report on doping contrast characterisation from silicon specimens that were treated reproducibly using CMOS electronic grade ammonium fluoride (NH4F) solution.

The NH4F-treatment at room temperature is known to etch the surface, removing the native oxide layer and any organic contamination, and produce clean and atomically flat or vicinal silicon surfaces having ideal hydrogen atom surface termination and passivation that is stable in air, and known to last several hours or up to hundreds of days32,33,34. Single-domain silicon monohydride passivation can be achieved, as opposed to the generation of co-existing monohydride-, dihydride- and trihydride-terminations that underpin a microscopically rough surface topology if using aqueous hydrofluoric (HF) solution32,35. Recent results27 have established that the consequential doping contrast change follows an evolution of charge states and an increased surface state density and surface band-bending which suppresses patch fields and isolates surface band-bending effects on doping contrast. We will show using a combination of specialised energy-filtering and in situ SE spectromicroscopy techniques, that by avoiding or minimising possible sources of quantification errors viz. patch fields, residual contamination, surface roughness, etc., the effect of the surface-treatment on doping contrast is to promote quantitative dopant profiling over a wide doping and spectral range.

Results

Unfiltered doping contrast

Figure 1 compares the unfiltered doping contrast from abrupt homojunctions of freshly-cleaved and NH4F-treated silicon specimens. The extraction potential was 20 V and the working distance was ~6 mm, providing standard micro-analytical conditions for strong doping contrast and high signal-to-noise quality8,26,29. A native oxide surface layer, ca. 5–10 Å thick, is expected to form rapidly on the freshly-cleaved sample36, but will be removed by treatment with 40% NH4F which passivates the surface so that the oxide layer does not reform rapidly. The specimen was immediately inserted into the SEM and the SE images were recorded within ~10 min. after surface-treatment, thus no oxide overlayer is expected under clean, high vacuum conditions, consistent with e.g. refs37,38.

Figure 1
figure 1

Doping contrast from silicon specimens before and after NH4F-treatment. (Top) Cross-sections of epitaxial structures comprising boron-doped silicon layers grown with (specimen a) or without (specimen b) a silicon-germanium marker layer on an n-type silicon substrate antimony-doped to 5 × 1018 cm−3. The dopant levels have been confirmed by SIMS measurements. (Middle) Unfiltered SE doping contrast images with depth profile overlays from freshly-cleaved and treated specimens. The white specks that appear after NH4F-treatment represent residual ammonium salts on the surface. Appropriate brightness and contrast settings were applied for the respective images to demonstrate strong doping contrast. (Bottom) Column-averaged doping contrast values from the p-layers of interest as a function of acceptor concentration, before and after surface-treatment. The dopant concentration varies steeply from ~6 × 1017 to ~6 × 1018 cm−3 across layer F (specimen a), and from ~8 × 1017 to ~7 × 1018 cm−3 across layer V (specimen b), hence these layers are not included in the data points. The experimental error for each data point is ±15% of the contrast value for the freshly-cleaved specimens and ±3% after surface-treatment.

Whereas the doping contrast sensitivity to low Na is unchanged by energy-filtering26, it reduced considerably after surface-treatment (Fig. 1). On the treated specimen, the p-layer doping contrast was markedly enhanced by up to 50% for high acceptor concentrations (Na) > 1019 cm−3 but reduced by up to threefold otherwise, and resulting in more than double the sensitivity to Na changes (specificity). The surface band-bending is strong in heavily doped regions due to an increased surface state density, thereby imparting (attenuating) kinetic energy for SEs escaping the p-type (n-type) surface13, and hence boosting doping contrast. For moderate to light doping, the internal surface fields are weak, and extend deeper below the surface13; but the surface band-bending effect on SEs (within the escape depth), which although differentiates the doping level, is not expected to be as significant13,26 as that of the patch fields (see later). Consequently, doping contrast is reduced since the surface Fermi level pinning results in decreased surface potentials or patch fields, which are in turn essentially independent of the doping13,29. Moreover, this doping contrast reduction may further imply quantitative characteristics of the pre-existing doping-dependent surface oxide film39 especially in the doping range ≤ 1018 cm−3.

Comparing freshly-cleaved specimens a and b, doping contrast disparities for a given Na are due to the influence of doping geometry-dependent patch fields with or without the thin silicon-germanium epitaxial marker layer26. Within experimental error, there is practically no difference in the doping contrast from treated surfaces of heavily doped regions (eg. 6 × 1018 cm−3), and this is attributed to strong surface band-bending which suppresses the patch field effects27, as will be illustrated in the ensuing SE spectral imaging results.

Energy-filtered SE imaging and in situ spectromicroscopy

Freshly-cleaved silicon specimens

Figure 2(a) shows experimental SE intensity curves (energy integrals of the spectra) from the respective doped regions in specimen b (c.f. Fig. 1), including an inset at Vdef = 9 V demonstrating contrast inversion for layer III (~1018 cm−3) but nearly zero contrast for layers II (~6 × 1018 cm−3) and IV (~3 × 1017 cm−3). The extraction potential was 250 V and working distance was ~3 mm, so that the high extraction field maximises the number of SEs by increasing the angular acceptance range into the lens bore for the more energetic particles29. However, a larger extraction voltage and/or smaller working distance increases the detector collection solid angle which in turn reduces doping contrast; patch field effects can be more fully accounted for and quantification accuracy is enhanced26,29, though at the price of significant doping contrast because SEs emitted at higher angles contribute less to doping information13. The SE intensity curve from the n-substrate intersects with that from all the p-layers at the respective Vdef (see Fig. 2(a)), indicating contrast inversion onset at ~8.62 ± 0.04 and ~11.02 ± 0.04 V for the highest and lowest Na respectively. Whilst patch fields, and hence the doping contrast (unfiltered), progressively increase with Na, energy-filtering reveals a general decrease in the contrast inversion onset energy.

Figure 2
figure 2

Doping contrast analysis by energy-filtering on the freshly-cleaved silicon specimen. (a) Experimental SE intensity curves from the respective p- and n-regions (c.f. specimen b of Fig. 1); inset shows an energy-filtered cross-sectional SE image of the sample at Vdef = 9 V, including a doping contrast profile overlay. (b) Differential SE spectra. (c) Column-averaged doping contrast values as a function of Na for Vdef at 5, 10, 15 and 20 V (filtered; c.f. Fig. 2(a)), and 60 V (unfiltered).

Despite the energy upshift of the p-layer integral curve relative to that of the n-substrate, the low energy emission does not relate to the energy shift-based model system invoked by Kazemian et al.21,22 for measuring surface potentials. It is understood that the region doped to a higher Na is at a lower potential, thus the ionisation energy is smaller. Therefore secondary emissions from a region of higher Na should in principle have a higher average kinetic energy. If energy-filtering of the SEs were employed allowing through only the least energetic electron flux, the image intensity should stem preponderantly from the region of low Na. Hence in energy-filtered images, lower Na regions should accordingly appear brighter. Nevertheless, a converse result was demonstrated incontrovertibly by our experiments (see Fig. 2).

The SE intensity is largely incommensurate at Vdef < 5 V, but an inverse correlation between the energy displacement and Na is clear in the upper energy portion (e.g. > 6.21 eV) of the yield curve (Fig. 2(a)). Qualitative agreement is found for the latter relationship with measurements in ref.21 exhibiting energy upshifts of the SE intensity curve as Na reduces (or surface potential increases). However, this is supposably peripheral to their main results because it fundamentally undermines the ability to calibrate the SE intensity effect of changing Vdef on silicon samples using the negatively correlated copper wire bias-mediated spectral shifts. Crucially, the dissimilar secondary emission properties from bulk silicon and copper and their associated surface dipoles might have been overlooked, leading somewhat to a major theoretical aberration. Positive covariance of the spectral shift with Na is exhibited in the differential spectra within a higher, albeit limited, energy band above the peak energies (Fig. 2(b)), but this arises from broader spectral emission with increasing acceptor doping. Furthermore, the presence of significant patch fields, surface oxide/contamination or micro-roughness results in poorly-defined energy peaks between 2.76 ± 0.01 and 5.52 ± 0.01 eV through their influence on the emission and trajectories of the secondaries.

Two- to three-fold reduction in the unfiltered doping contrast is indicated in Fig. 2(c) (c.f. Fig. 1) due to a higher angular collection efficiency of the SEs, but in the same figure we demonstrate that energy-selective imaging, e.g. at 15 V ≤ Vdef ≤ 20 V, can enhance the sensitivity by at least ~40%, and specificity by up to ~66%, for the doping range studied. Though, the classical logarithmic doping dependence of contrast approximation is not satisfied when energy-filtering at Vdef ≤ 10 V. Whilst the doping contrast displayed non-monotonicity using the slowest secondaries, it can be seen that contrast inversion occurred on every p-layer at Vdef = 5 V, and on p-layers with Na ≤ 6 × 1018 cm−3 at Vdef = 10 V (see Fig. 2(a) and (c)).

Surface-treated silicon specimens

Unlike that from the freshly-cleaved specimen, basically no contrast inversion of the p-layer occurred for Na ≥ 1018 cm−3 after surface-treatment (see Fig. 3(a)). The SE intensity curves from the p-layers I to III converge with that from the n-substrate (i.e. zero contrast) at Vdef = 1.80 ± 0.02 to 7.24 ± 0.02 V for the highest to the lowest Na respectively. Hence, the low energy emission characteristics signify the suppression of patch fields due to Fermi level pinning by a high surface state density13,27. Strong surface band-bending and a significantly reduced surface junction potential is commensurate with dopant concentration, so that the increased (decreased) secondary emission rate at the p-type (n-type) region is evident over the entire Vdef range wherein the p-layer yield curve is seen to translate towards lower energies with respect to that of the n-substrate as Na increases. Nevertheless, the p-layer IV curve intersects with that of the n-substrate at Vdef values between 7.60 ± 0.02 and 8.20 ± 0.02 V, with contrast inversion occurring below which till 3.46 ± 0.02 V, thereby suggesting that the surface band-bending for Na ≤ 3 × 1017 cm−3 is insufficient to quench out patch field effects on the slowest secondaries13,27. Accordingly, the p-layer IV differential spectrum upshifted in energy with respect to that of the n-substrate, contrary to that of the other p-layers (see Fig. 3(b)). The energy peaks have also become more pronounced and have concomitantly reduced to between 1.93 ± 0.01 and 2.51 ± 0.01 eV.

Figure 3
figure 3

Doping contrast analysis by energy-filtering on the NH4F-treated silicon specimen. (a) Experimental SE intensity curves from the respective p- and n-regions (c.f. specimen b of Fig. 1); inset shows an energy-filtered cross-sectional SE image of the sample at Vdef = 18 V, including a doping contrast profile overlay. (b) Differential SE spectra. (c) Column-averaged doping contrast values as a function of Na for Vdef at 5, 10, 15 and 20 V (filtered; c.f. Fig. 3(a)), and 60 V (unfiltered). (d) SE kinetic energy-calibrated Vdef for 8 V ≤ Vdef ≤ 18 V versus Na at specific intensity levels (c.f. Fig. 3 (a)).

For quantification purposes, there is also a wider spectral range for which the SE intensity depends monotonically on Na, notably when energy-filtering at Vdef > 3.56 ± 0.02 V (Fig. 3(a) and (c)), though at Vdef ≥ 10 V there is no considerable impact on doping contrast, even for low Na (see Fig. 3(c)). The intensities/contrast appear similar to that as-cleaved at Vdef = 20 V (c.f. Fig. 2(c)), thereby suggesting a correlation with surface band-bending within the relevant escape depths rather than any patch fields (now diminished) or any extraneous effects due to a previously reactive or microscopically rough surface. At low Vdef (e.g. 5 V), the results depict two putative cases: (i) for the lowest Na (e.g. 3 × 1017 cm−3) regions, the slowest SEs, which are sensitive to any surface potential difference, stem mainly from the n-region (or higher potential surface), hence yielding contrast inversion and; (ii) for sufficiently high Na (e.g. 3 × 1019 cm−3), the strong surface band-bending boosts emission of even the least energetic SEs, thus inhibiting contrast inversion13 (c.f. Fig. 3(a) and (c)).

The correspondence between Vdef and Na at different mean pixel intensities (Fig. 3(d)) show that to obtain a higher SE count, the kinetic energy limit has to be increased, and vice versa. The data are described quite well by the linear regressions (dotted lines), which demonstrate that to obtain a given number of secondaries, the maximum kinetic energy requirement increases monotonically as Na reduces (or Vdef  → A V as Na → 1 cm−3) according to the following relation:

$${N}_{a}={10}^{-(\frac{{V}_{def}-A}{B})}$$
(1)

Moreover, the greater the pixel intensity value, the larger the Vdef change (or B) is required to equalise the SE count between different Na; this result, which characterises the integrated SE spectral shift, can be derived from a wider Vdef range after surface-treatment, and in this sense, means an increased spectral resolution. Therefore the empirical Vdef dependence of the SE intensity may confer predictive capability to evaluate the doping provided that it is calibrated by a quantitative model such as that based on the Monte Carlo method taking into account patch fields, surface band-bending, surface boundary scattering and the detector solid collection angle as addressed above, and elaborated in ref.13.

Discussion

Angle- and energy-resolved doping contrast measurements and in situ SE spectromicroscopy studies have for the first time been performed, analysed and compared from a wide doping range, with and without surface-treatment of the silicon specimens. Doping contrast under a controlled low and high angular/energy collection efficiency of the detector has illustrated the classic roles of patch fields and surface band-bending. The slowest secondaries, which are most sensitive to any patch fields, originate mainly from the n-region (having higher ionisation energy) for freshly-cleaved specimens. Hence when energy-filtering, contrast inversion occurs due to convolution of the angular acceptance and patch field effects13. The extent of negative correlation with Na of the low energy range for which the n-region SE yield eclipses that of the p-region indicates the competing effects of surface band-bending and patch fields (Fig. 2(a)); surface band-bending effects, which are strong at high doping concentrations, prevail above the threshold Vdef and vice versa. After etching in NH4F, surface Fermi level pinning was induced by a high density of surface states, which suppresses patch fields and largely isolates surface band-bending effects on doping contrast27. The increased (decreased) number of secondaries emitted from the p-(n-)region, even for the slowest particles, explains why contrast inversion generally does not occur (see Fig. 3(a)).

On account of the non-linear surface band-bending dependence of the SE energy and angular distributions, the linear analytical model applied by Kazemian et al.21,22 is likely to be inadequate to accurately determine the surface potentials of p-n junctions since the doping-dependent field and scattering effects are governed by the three-dimensional (sub-)surface potential disposition. Moreover, their theory21,22 essentially avers that doping contrast is zero when patch fields are suppressed or when no surface potential variation exists across surface Fermi level pinned homo-/hetero-junctions18,22. However, we expect that even though a homogenous net charge density or in-plane uniformity of surface states characterises the surface plane, doping sensitive surface dipoles or surface band-bending will yet play a considerable role in doping contrast generation13,27. The surface band-bending effects are reflected in the spectral peak broadening with increasing acceptor concentration (c.f. Figs 2(b) and 3(b)) as the surface depletion width becomes comparable with the SE escape depth13,26,29. Hence for quantitative dopant profiling, instead of quantifying only the singular spectral shift in a linear regime21,22, we recommend mapping out the one-to-one correspondence between the intensity/contrast and dopant concentration at the respective Vdef, and analysing the spectromicroscopy results through a detailed comparison with numerical simulations in refs13,27 as we have done in the present study.

Additionally, we have demonstrated that energy-filtering conspicuously enhances the dopant profiling sensitivity and specificity for freshly-cleaved specimens, albeit choosing from within a limited spectral band for accurate quantification (Fig. 2(c)). By energy-filtering, signal components selected from within a depth below the surface evade deleterious effects once ineluctable from oxides, Si-SiO2 interfaces, beam-induced contamination or surface micro-roughness; but too low Vdef renders quantification impracticable as the least energetic SEs succumb to the relatively strong geometry-dependent patch fields. After NH4F-treatment, the doping contrast reduces when below a critical doping concentration (see Fig. 1), which we attribute to total internal reflection and Fresnel losses owing to an amplified index contrast13,29 after removal of the surface oxide layer; and increases otherwise when the former is superseded by surface band-bending effects at higher doping concentrations (>1018 cm−3). Moreover, the logarithmic Na dependence of the doping contrast strikingly manifests within a much wider energy range (Fig. 3(c)). Passing through only the slowest secondaries (e.g. ≤1.38 eV) can further enhance sensitivity to Na changes by exploiting the competing relationship between patch fields and surface band-bending. For high Na, remnant patch fields are insignificant due to proportionately strong surface band-bending, and the converse is true. Information complementary to the aforementioned is unravelled in the spectromicroscopy measurements that unambiguously indicate the potential of surface-treatment to facilitate quantitative dopant profiling over a broader spectral range after dissolution of any oxides/contamination, reduction in rugosity, passivation of the surface, and suppression of the patch fields. Consequently, the spectral peaks are more pronounced, and a concomitant redshift can be seen in the differential spectra (Fig. 3(b)), thereby reflecting a systematic dependence on the surface electron affinity modified by surface band-bending due to hydrogen atom surface termination and Fermi level pinning. Above a critical Vdef, energy-filtering has practically little impact on doping contrast (Fig. 3(c)) as surface band-bending effects outcompete that of patch fields, and thus may not be crucial for quantification after appropriate surface hydrogen passivation and termination.

In this study, the foregoing results underscore the prospects of optimising surface-treatment to enable targeted and proportionate doping contrast from clean and passivated surfaces that is purely differentiated by doping-dependent surface band-bending, and the cardinal importance of calibrating the edge terminations so that accurate dopant profiling is possible by means of a robust, quantitative model accounting for surface states and surface band-bending.

Materials and Methods

Doping contrast characterisation from abrupt homojunctions

The multilayered specimens comprise a series of boron-doped (p-type) layers having thicknesses and dopant levels ranging from ~0.4 to 0.8 μm and ~3 × 1017 to 7 × 1019 cm−3 respectively, on a monocrystalline n-type silicon substrate antimony-doped to 5 × 1018 cm−3, with or without a 100 ± 0.01 nm thick epitaxial marker layer of silicon-germanium (with 5 at.% Ge). The capping layer and the spacer layers between the p-layers were nominally undoped. These specimens were diced from 5-inch silicon wafers that were chemical vapour deposition (CVD)-grown along the [001] direction with dopant incorporation at a growth rate of ~0.15 μm/min., under an operating temperature of ~1123 K and atmospheric pressure.

Spectral imaging and SE doping contrast measurements were performed on silicon {110} cross-sections that were freshly-cleaved in ambient air, and directly after surface-treatment by aqueous NH4F solution. Great care was taken to ensure that the cleaved surface was optically flat and mirror-like, and clean and of high quality, without evident striations in the regions of interest. During surface-treatment, the samples were dipped into freshly-prepared 40% NH4F (ARISTAR™) for ~1 min., using PTFE tweezers, before they were rinsed thoroughly in deionised (DI) water for ~3–4 min. to reduce ammonium salt deposits on the surface. The highly hydrophobic treated surface implies at least partial hydrogen-termination. The specimen was inserted into the SEM vacuum chamber with intervening exposure to air of no more than ~3 min. The base pressure was ~3 × 10–6 mbar using an oil-free turbo-pump system.

Mechanical alignments were carefully made so that the primary electron beam was incident normally on the specimen cross-section, and the doped homojunctions were orthogonal to the raster scan direction. A 30 μm-diameter objective aperture was used, with an optimised set of beam parameters for doping contrast: a 1 kV focussed electron probe having a current of ~32 pA and a probe diameter of ~16 nm. SE imaging was performed in the ultra-high resolution (UHR) mode, and to ensure high contrast and signal-to-noise ratio, all the images (712 × 484 pixels) were digitally acquired at a magnification of 8000 × and a scan frequency of ~0.1 frame s−1, and stored as 8-bit datasets. Too high a magnification and too low a scan frequency may impair doping contrast through excess electron-hole pair generation and surface charging, and/or contamination. The data were processed using a Java plug-in written for ImageJ40. Line profiles across regions of interest were row-averaged over at least 100 pixels perpendicular to the scan direction to obtain the doping contrast profiles. The doping contrast value C was determined by normalising the SE intensity from the region of interest to that from the doped substrate through the following formalism:

$$C=\{\begin{array}{c}\frac{\Delta I}{{\dot{I}}_{d}}=\frac{{I}_{d}-{\overline{I}}_{sub}}{{I}_{d}-{I}_{0}};\,{I}_{d}\ge {\overline{I}}_{sub}\\ \frac{\Delta I}{{\dot{I}}_{sub}}=\frac{{I}_{d}-{\overline{I}}_{sub}}{{\overline{I}}_{sub}-{I}_{0}};\,{I}_{d} < {\overline{I}}_{sub}\end{array}$$
(2)

Id is the pixel intensity from the layer of interest, \({\bar{I}}_{sub}\) is the mean pixel intensity from the uniformly doped substrate, and I0 is the spurious background intensity obtained by blanking out the primary electron beam. The absolute contrast value lies within −1 ≤ C ≤ 1, and is independent of the contrast and brightness settings on the microscope control console.

The SEM was a Schottky field emission gun (sFEG) FEI XL30TM equipped with an SE detection system that combines a through-the-lens detector (TLD) with an energy filter. Under standard UHR imaging conditions, the deflection voltage (Vdef) is set at a maximum of 60 V, and image formation and doping contrast are derived from SEs of virtually all energies (up to 50 eV), which are trapped on-axis by the strong objective lens magnetic fields, and spiral up through the lens bore at a rate proportionate to the extraction voltage. To perform low-pass energy-filtering, Vdef is reduced, the magnitude of which dictates the highest kinetic energies of the SEs that are allowed to pass through to the scintillator to be detected and contribute to the image; further elaboration on energy-filtering with the TLD can be found in refs21,29.

SE energy-filtering and in situ spectromicroscopy

By steadily varying Vdef in discrete steps at regular temporal intervals, SE spectral measurements can be directly performed via energy-filtering for the evaluation of surface potentials and surface states27. High spectral resolution was enabled by a bespoke DC power supply that can configure on the deflector electrode, potential changes as small as ±30 mV over a dynamic range from 0 to 20 V21,29. Vdef control and real-time data acquisition were automated through the National Instruments (NI) DAQ platform, which utilises data I/O and a timing controller with LabVIEW 7TM software to synchronously acquire, process and analyse data on a separate personal computer. The pixel intensity value at each deflector bias step characterises the energy integral of the SEs up to the corresponding maximum kinetic energy limit; differentiating the SE intensity with respect to Vdef results in its spectral distribution. For quantitative analysis, the SE intensity measurements were processed by box averaging at least 40 × 40 pixels within targeted scanned field areas at a magnification of 6500× and a TV scan frequency of 1 frame s−1 (frame refers to 8 averaged frames), and recorded in real-time against Vdef which was stepped through a voltage/energy range of interest. Beam-induced extraneous effects were kept minimal with a judicious choice of a dwell time <400 ns as complete data acquisition was performed rapidly (within 50 s) under the scan settings used. Essentially the same yield curves were obtained when forward or reverse sweeping Vdef in 0.2 V steps, thereby confirming that a delicate balance between granularity and throughput is struck of the discrete temporal sequence to curtail contamination/charging effects on the measurements over the full Vdef range for the specimens studied; and doping contrast is not a dynamical, but statical, function of Vdef.

To calibrate the energy response of the TLD, we leveraged our Monte Carlo method13 to compute its geometrical acceptance by ray tracing the SEs from a point source of a Lambertian angular distribution, through immersion lens magnetic and electrostatic fields in the electron optical column and the specimen chamber. These latter fields are described by a generic, geometric finite-element model of the TLD at the specified UHR settings, including extraction voltage, working distance, etc., for spectral imaging27. An ideal detector is assumed, having a step function discriminator response, 100% intrinsic efficiency of the scintillator/photomultiplier, and ergodicity of pixel response. Disregarding the tertiary electron (SE3) signals originating from the pole pieces or objects other than the sample, a linear detector response function, DRF = \(\frac{\Delta {V}_{def}}{\Delta {E}_{SE}}\) is found in the low-energy portion (at least <12 eV) with which the maximum kinetic energy (ESE) limits are mapped onto Vdef. The actual sensitivity of the energy-resolved detector is further limited by the threshold energy for SE detection, and the origin of kinetic energy is estimated to be centred on Vdef  ≈ 2 V, which depends not only on the geometrical acceptance, but the type and thickness of the protective passivation layer on the scintillator.