Skip to main content

Scan speed control for tapping mode SPM


In order to increase the imaging speed of a scanning probe microscope in tapping mode, we propose to use a dynamic controller on 'parachuting' regions. Furthermore, we propose to use variable scan speed on 'upward step' regions, with the speed determined by the error signal of the closed-loop control. We offer line traces obtained on a calibration grating with 25-nm step height, using both standard scanning and our scanning method, as experimental evidence.


Tapping mode is considered to be the most precise mode of the scanning probe microscope [SPM] [14]. The main disadvantage of this SPM mode is low performance; it takes a long time to obtain the topographic image of the sample surface. The main limiting parameter of increasing imaging speed in tapping mode is the time constant [τ c ] of the cantilever. In contact mode, this limitation is absent. This fact allows the imaging speed to be higher when using, for instance, a high-speed piezoelectric stack actuator [5, 6]. However, it's desirable to use tapping mode in many instances since it reduces the lateral forces exerted by the tip on the sample, thereby reducing tip-sample wear [1, 4].

The following methods are known to reduce scanning time:

  1. 1)

    The cantilever resonant frequency [ω0] is increased by reducing cantilever size (and mass) and increasing its stiffness. However, this can be done only by completely changing the probe construction [1].

  2. 2)

    The cantilever quality factor [Q] is reduced by means of cantilever external excitation. In this instance, the total signal consists not only of the excitation signal but also of an extra component proportional to the speed of the cantilever deflection. Reducing the cantilever Q factor, however, will result in a reduction in the image resolution [3].

  3. 3)

    A dynamic controller (a switching gain proportional-integral [PI] controller) is used on the base of the error signal which increases in a 'parachuting' region [2, 4].

The scan speed is assumed constant in each of the above instances. A variable-speed scanning method [7] allows the determination of the scan speed value according to a particular transient response of the PI controller output signal.

In the present paper, we used both the dynamic controller method and variable-speed scanning to obtain the topographic image of the sample surface. In contrast to Zhang et al. [7], the scanning speed was determined by the behavior of the error signal controls (which was the input signal for the PI controller). The PI controller output bandwidth can be determined from the time constant of the loop control. The error signal bandwidth can be determined from the time constant of an AM (or FM) detector of the probe deflection signal. This time constant is an order of magnitude smaller than the time constant of the loop control [14]. This allows faster adaptation of the scan speed to a particular sample surface topography.


The cantilever oscillation amplitude A(t), while scanning a step of height Δ z, is expressed as [1]

A t = A sp + Δ z 1 - exp - ω 0 t / 2 Q ,

where ω0 is the cantilever resonant frequency, Q is the cantilever quality factor, and Asp is the set point amplitude. Thus, the cantilever transfer function C(s) takes the form C s = 1 1 + s τ c , where τ c is the time constant of the cantilever and is equal to τ c = 2 Q ω 0 . The frequency response of the actuator G(s) and the cantilever deflection signal detector K(s) has a constant gain equal to DC gain and don't add extra phase lag (it can be assumed that G(sK(s)· =G0·K0 ≈ 1) in the bandwidth of interest. Indeed, the pole frequency of the detector transfer function [ωdet] should be at least ten times less than the cantilever resonant frequency ω det = ω 0 10. The pole frequency of the transfer function C(s) is equal to τ c - 1 = ω 0 2Q ω det (if Q~100).

Suppose the feedback controller is an integral controller with time constant τ i whose transfer function R(s) is R ( s ) =- 1 s τ i . Then, the frequency-dependent open-loop gain becomes - 1 s τ i G 0 K 0 1 ( 1 + s τ c ) . Thus, the characteristic polynomial of the loop control's frequency response D(s) can be written as

D ( s ) = s 2 + 1 τ c s + G 0 K 0 τ c τ i s + 1 τ c s + G 0 K 0 τ i .

For stability of the loop control, we need to have significantly different frequencies for the real poles of the transfer function:

G 0 K 0 τ i 1 τ c .

In the case of such characteristic polynomials, the transient response is described by two exponential function, the fast function having time constant τ c and the slow function, τ i G 0 K 0 . As a result, the speed of a closed-loop control system (that is, without loss of surface) is determined by the time constant τ i G 0 K 0 . Feedback speed, the speed of the actuator, is limited in tapping mode by the stability condition of the loop control (Equation 3). Thus, the feedback speed is limited by the cantilever time constant τ c .

Increasing scan speed leads to a loss of surface when a 'downward step' is scanned or a parachuting effect. If an 'upward step' is scanned, it leads to instability of the loop control [1, 2].

Let us find the maximum scan speed without loss of surface. The transient response of the loop control to a capacitive displacement sensor output (if the high-frequency pole (frequency τ c - 1 , Equation 2) is ignored) can be written as

Δ Y ( s ) Δ Z ( s ) = 1 1 + s τ i G 0 K 0 .

Then, the transient response of the loop control for a downward step of height Δz takes the form

Δ y t = Δ z 1 - e - G 0 K 0 t τ i .

In the latter case the initial vertical actuator speed is

υ v = Δ y 0 Δ t = Δ z G 0 K 0 τ i .

Assuming that there is no loss of surface by the probe, the horizontal scan speed υ H is related to the vertical actuator speed υ v by

υ H = υ v t g a 2 = Δ z G 0 K 0 t g a 2 τ i ,

where a is the apex angle of the diamond tip.

From Equation 3, it follows τ i G 0 K 0 10 τ c = 2 0 Q ω 0 yielding

υ H = Δ z ω 0 t g a 2 2 0 Q

An increase in the actuator speed is caused by an increase in the error signal e(t) = A(t) - Asp. For a step of height Δz <Afr-Asp, where Afr is the free-air amplitude (the amplitude of the cantilever oscillation without touching the surface), the error signal is e(0) = Δz. That's why the velocity υH depends on the step height Δz. For Δz = (Afr-Asp), the scan speed becomes

υ H lim = A fr - A sp ω 0 t g a 2 2 0 Q .

For higher steps, the initial probe speed doesn't increase as the error signal is saturated at emax = Afr-Asp. For scan speed υ H > (υ H )lim, the tip doesn't touch the surface and loses sample surface.

For example, let us find the scan speed limit for the SPM NanoScan-3D [8] where the probe is a piezoceramic cantilever with a diamond tip. This device allows you to scan the surface topography and to produce indentation and sclerometry simultaneously. If the set point amplitude is Asp = 0.8·Afr (where the cantilever free-air amplitude is Afr = 100 nm), the cantilever resonance frequency is f0 = 11.5 kHz, the quality factor is 100, and the apex angle of a diamond tip is 120° [8], then the scan speed limit is approximately (υ H )lim ≈ 12.5 μm/s.

The loop control is a high-pass filter for the error signal which is related to the height step Δz by e t =Δz K 0 e - t G 0 K 0 τ i . In the case of parachuting, the loop control is opened by the loss of sample surface by the probe. The error signal is saturated at emax = (Afr-Asp) ≈ 0.2 Afr. To avoid, or at least reduce, the parachuting region, the dynamic controller should increase the error signal emax [2] or reduce the integral controller time constant τ i .

According to the algorithm implemented on FPGA, if the error signal is more than a threshold eth, the integrator time constant is reduced according to

τ i t = τ i - g e t - e th ,

where g is the 'gain' of the dynamic controller.

As the tip scans over an upward step, the probe oscillation amplitude is reduced. It can be reduced to zero for the height step Δz >Asp and scan speed υ H > (υ H )lim (Equation 9). A higher scanning speed can damage both the sample and the tip. A decrease of the time constant τ i can cause instability of the closed-loop. According to the found algorithm, the scanning speed is reduced for the threshold of the amplitude Alow <Asp. Scanning at the lower speed is continued as long as the error signal is reduced and the oscillation amplitude is restored.

Results and discussion

A calibration grating with a step height of 25 nm was used as the sample. A line trace with constant scan speed of 30 μm/s is shown in Figure 1a. A typical scan has a parachuting over a downward step and a peak over an upward step.

Figure 1
figure 1

The line traces of the calibration grating with the step height equal to 25 nm. At a constant speed of 30 μm/s (a), with a dynamic control (b), and with a dynamic control and at a variable speed (c).

The time constant of the implemented dynamic controller is four times decreased in the parachuting region. Figure 1b shows a scan line trace using the algorithm of the dynamic controller. There is practically no parachuting, as shown in the figure. However, the peak over the upward step stayed. In addition, there formed another peak due to a significant increase in the error signal of the loop control after the probe reached the bottom after a downward step. It was decided to reduce the scanning speed in this region.

Figure 1c shows the line over a downward step trace in the case of a dynamic control and over an upward step for a variable scanning velocity. For a detailed comparison, Figure 2 shows a part of the line traces (parachuting region) in the case of the usual scanning with a constant speed of 30 μm/s and in the case of using dynamic control with variable scanning velocity. For dynamic control, the length of parachuting is reduced by three times.

Figure 2
figure 2

Comparative line traces for a usual scanning (black) and with a dynamic control (red).


The novelty of the presented scanning method consists of using a dynamic controller on a downward step and variable scan speed on an upward step, with scan speed determined by the magnitude of the error signal. As the experimental data on a calibration grating show, assuming equivalent image quality, our method has an advantage of up to three times in imaging speed.


  1. Sulchek T, Yaralioglu GG, Quate CF: Characterization and optimization of scan speed for tapping-mode atomic force microscopy. Rev Sci Instrum 2002, 73(8):2928–2936. 10.1063/1.1488679

    Article  Google Scholar 

  2. Kodera N, Sakashita M: Dynamic proportional-integral-differential controller for high-speed atomic force microscopy. Rev Sci Instrum 2006, 77: 083704. 10.1063/1.2336113

    Article  Google Scholar 

  3. Orun B, Necipoglu S, Basdogan C, Guvenc L: State feedback control for adjusting the dynamic behavior of a piezoactuated bimorph atomic force microscopy probe. Rev Sci Instrum 2009, 80: 063701. 10.1063/1.3142484

    Article  Google Scholar 

  4. Agarwal P, De T, Salapaka MV: Real time of probe-loss using switching gain controller for high speed atomic force microscopy. Rev Sci Instrum 2009, 80: 103701. 10.1063/1.3233896

    Article  Google Scholar 

  5. Zhao B, Howard-Knight JP, Humphris ADL, Kailas L, Ratcliffe EC, Foster SJ, Hobbs JK: Large scan area high-speed atomic force microscopy using a resonant scanner. Rev Sci Instrum 2009, 80: 093707. 10.1063/1.3227238

    Article  Google Scholar 

  6. Fleming AJ, Kenton BJ, Leang KK: Bridging the gap between conventional and video-speed scanning probe microscopes. Ultramicroscopy 2010, 110(9):1205–1214. 10.1016/j.ultramic.2010.04.016

    Article  Google Scholar 

  7. Zhang Y, Fang Y, Yu J, Dong X: Note: a novel atomic force microscope fast imaging approach: variable-speed scanning. Rev Sci Instrum 2011, 82: 056103. 10.1063/1.3592598

    Article  Google Scholar 

  8. Useinov A, Gogolinskiy K, Reshetov V: Mutual consistency of hardness testing at micro- and nanometer scales. Int J Mater Res 2009, 7: 968.

    Article  Google Scholar 

Download references


The authors would like to thank the Federal target programme Research and Pedagogical Cadre for Innovative Russia for 2009-2013 (grant no 14.740.11.1449) for providing financial support to this project.

Author information

Authors and Affiliations


Corresponding authors

Correspondence to Aleksey V Meshtcheryakov or Vjacheslav V Meshtcheryakov.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors' contributions

AVM and VVM contributed equally to this work. All authors read and approved the final manuscript.

Aleksey V Meshtcheryakov contributed equally to this work.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and Permissions

About this article

Cite this article

Meshtcheryakov, A.V., Meshtcheryakov, V.V. Scan speed control for tapping mode SPM. Nanoscale Res Lett 7, 121 (2012).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


  • tapping-mode SPM
  • scan speed
  • closed-loop control