Amir
Farokh Payam‡
*,
Pardis
Biglarbeigi‡
,
Alessio
Morelli
,
Patrick
Lemoine
,
James
McLaughlin
and
Dewar
Finlay
Nanotechnology and Integrated Bioengineering Centre (NIBEC), School of Engineering, Ulster University, Jordanstown Shore Road, Northern Ireland BT37 0QB, UK. E-mail: a.farokh-payam@ulster.ac.uk
First published on 10th September 2020
The unique ability of Atomic Force Microscopy (AFM) to image, manipulate and characterize materials at the nanoscale has made it a remarkable tool in nanotechnology. In dynamic AFM, acquisition and processing of the photodetector signal originating from probe–sample interaction is a critical step in data analysis and measurements. However, details of such interaction including its nonlinearity and dynamics of the sample surface are limited due to the ultimately bounded bandwidth and limited time scales of data processing electronics of standard AFM. Similarly, transient details of the AFM probe's cantilever signal are lost due to averaging of data by techniques which correlate the frequency spectrum of the captured data with a temporally invariant physical system. Here, we introduce a fundamentally new approach for dynamic AFM data acquisition and imaging based on applying the wavelet transform on the data stream from the photodetector. This approach provides the opportunity for exploration of the transient response of the cantilever, analysis and imaging of the dynamics of amplitude and phase of the signals captured from the photodetector. Furthermore, it can be used for the control of AFM which would yield increased imaging speed. Hence the proposed method opens a pathway for high-speed transient force microscopy.
Recording the amplitude and phase response of the cantilever with respect to the real time for different harmonics and frequencies in both transient and steady state regimes can lead to an increase of the speed and precision of feedback control. Together, with development of advanced multifrequency techniques, this would result in the possibility of extracting more detailed information from the tip–sample interaction – especially in cases where the dynamic response of the sample is relevant – and exploring sample properties and structures during imaging in more detail. This opens the possibility for transient force microscopy which would record the information conveyed by the sensing tip as a transient motion of the cantilever, in contrast to steady state operation used in standard dynamic techniques.38–44 In the steady state analysis, in addition to the display of the images based on the averaging of the data per pixel, spectral analysis provided by standard techniques, such as Fourier transform (FT), provides an averaged spectrum which is integrated over the whole acquisition time.41–44 So, in order to analyze the whole dynamics of the non-stationary signals from the photodetector, an approach that is capable of combining time domain and frequency domain analysis is mandatory. The wavelet transform (WT) method overcomes the imposed constraints by using the wavelet as the basis function.45 Using the WT, not only can the steady state response of the cantilever be detected, but also the whole dynamics – including transient and higher frequency responses – are captured and recorded. Previously, the WT has been used in AFM for the analysis of scanned images,46 eigenmodes and energy dissipation for force spectroscopy,43,44,47–52 characterization of passive microrheology of living myoblasts53 and investigation of the amplitude of higher harmonics in tapping mode AFM.41,42
In this paper, for the first time, wavelet theory is used to analyze the multidimensional dynamics of both amplitude and phase of the cantilever signal acquired during imaging. The captured data are used to explore the probe–sample interaction and use the transient dynamics to provide amplitude and phase images of the sample. Working on simulated data, we demonstrate that this method is effective in detecting the transient response in relation to variation in sample properties under different environmental conditions. Finally, by applying the WT on the data stream from the AFM photodetector, the resulting amplitude and phase images are shown to be in agreement with – and indeed surpassing in resolution – the ones obtained by lock-in techniques embedded in the AFM system used for the experiments.
This could be a breakthrough in the development of AFM technology towards detection of the whole dynamic response of amplitude and phase of the cantilever. It would give the ability to capture images in both transient and steady state regimes and provide the opportunity for full acquisition of cantilever data during experiments, while in current lock-in amplifier based AFM systems only the steady state values of amplitude and phase are extracted and averaged to provide the corresponding images and control the AFM. The real-time implementation of the proposed technique can significantly improve the speed of AFM operation and capability of multifrequency methods. Using the detected real-time amplitude in the imaging and control of AFM, which requires the use of application specific hardware (e.g. FPGA54) to achieve the levels of performance necessary, can lead to the new concept of high-speed transient force microscopy in AFM technology.
The Continuous Wavelet Transform (CWT) is the sliding convolution of a signal, x(t), and the mother wavelet, Ψ(t), defined as follows (eqn (1)):
(1) |
The CWT uses scales as an alternative to frequency and decomposes a signal into a time–scale plane and each scale contains a range of frequencies. The transform of the signal into each scale is performed by a wavelet band-pass filter localized in frequency, ωs. The relative frequency, Δωs/ωs, is constant for all the scales. Therefore, at lower frequencies longer wavelets are considered to improve the frequency localization, while at higher frequencies shorter wavelets are used to recover a better time localization. Therefore, the temporal length or the time shift of the wavelet is variable depending on the scale or the frequency range.57 However, this implies that since CWT is not completely localized in time, it suffers from edge artifacts.58
The number of scales is determined by the number of voices and octaves, where an octave is defined as the frequency range and voices per octave are the number of scales across each octave.59 In this study, the number of voices per octave is 40 for all the CWT calculations.
There are numerous kinds of mother wavelets. In this study, we used Generalized Morse Wavelets (GMWs). GMWs are useful in analyzing modulated signals60 and are defined by complex analytic wavelet transforms that can preserve information on both amplitude and phase. GMWs use a two-parameter family of wavelets, namely symmetry, γ, which determines the wavelet shape and compactness parameter, β. GMWs in the frequency domain can be defined as follows (eqn (2)):61
(2) |
Pβ,γ2 = βγ | (3) |
It has been shown that the number of oscillations that can fit into the time-domain wavelet is equal to Pβ,γ/π, where Pβ,γ represents the wavelet duration or inverse bandwidth. Therefore, defining an appropriate GMW as the mother wavelet depends on the value of Pβ,γ2 and γ. Different studies have identified that Airy wavelets, GMWs with shape parameter γ = 3, have a Gaussian characteristic with high symmetry and concentration of time and frequency.61,63 In this study, we used Airy wavelets with Pβ,γ2 = 60, where each time-domain wavelet can fit 2.5 oscillations.
Considering a normalized GMW, the magnitude of the complex CWT coefficients is equivalent to the amplitude, eqn (4), and the phase, eqn (5), of the complex value corresponds to the time-related characteristic of the signal, eqn (5).
(4) |
(5) |
The cross wavelet transform (XWT) calculates the interaction between two time-series signals and is defined as eqn (6).
(6) |
A slow varying phase lag can be computed between two signals if they are physically related. Mathematically, wavelet coherence can give information on the local correlation of two time-series.65 Therefore, a local phase lag between the two time-series signals using XWT is only valid at the CWT scales where the two daughter wavelets are coherent.
Wavelet coherency determines the coherence of XWT in a time–frequency plane and can be calculated using eqn (7).
(7) |
(8) |
(9) |
(10) |
d = z + z0 + zc | (11) |
Furthermore, by integrating such method within the AFM system itself, the extracted amplitude information could be used to control the AFM to keep the setpoint value. This would yield an improvement in AFM measurement speed by substituting the lock-in amplifier which has a bandwidth limitation due to the low-pass filter. For this purpose, the CWT can be implemented using FPGA to detect and calculate the phase and amplitude signals in real time from the photodetector signal and provide the amplitude signal as an input of the feedback controller. The integration of implementation of CWT using FPGA70,71 and the recent development of FPGA for the control of high-speed AFM54,72 represent the applicability of the proposed method for high-speed operation.
Firstly, we evaluate the effectiveness and performance of the continuous wavelet transform to provide the amplitude and phase of the signal versus time consisting of both transient and steady state regimes. For this purpose, a simulated cantilever deflection signal is converted using CWT and compared with a signal obtained from slow time varying function theory67 (Fig. 2), showing very good agreement. It is however worth remarking that the slow time varying method is only applicable for theoretical studies and cannot be applied experimentally, the main advantage of CWT being its ability to be employed in both cases.
Fig. 2 Comparison between simulations obtained using CWT and slow varying function67 algorithms: (a) tip motion signal of AFM in the repulsive regime in an air environment, (b) amplitude of the signal calculated by both CWT and slow varying function method67 plotted against time, (c) dynamics of the phase calculated by both CWT and slow varying function method67 plotted against time.67 In this simulation, the AFM parameters are f0 = 300 kHz, Q = 300, k = 30 N m−1, Rt = 5 nm, Ah = 10−19 J, E = 1 GPa, a0 = 0.164 nm, A0 = 20 nm and zc = 16 nm. |
The possibility offered by the CWT method to convert a signal into a concise representation is illustrated in Fig. 3. In this case, starting from a simulated signal (Fig. 3a) representing the original cantilever motion, CWT provides information about amplitude and phase into the scalogram (Fig. 3b) and XWT (Fig. 3c) phase maps, respectively. In turn, from the maps the separated signals of the first (Fig. 3d) and second (Fig. 3e) eigenfrequencies of the cantilever are extracted. In this simulation, the effect of the second eigenmode on the original signal is significant and distorts the signal when the cantilever is in contact with the sample, as highlighted in the magnitude scalogram (Fig. 3b). As can be seen from Fig. 3a, during the contact with the sample, the cantilever experiences a repulsive force that excites the second eigenmode of the cantilever. Finally, further calculations yield the wavelet coherence map (Fig. 3f), in which the direction of the arrows show the relative local phase of the cantilever signal in a unit circle, where the coherence is higher than 0.5. Analyzing the XWT and local phase map, in this case, it can be inferred that the phase of the cantilever can be calculated at the first frequency with a wavelet coherence of 1. It is therefore evident from this simple simulation that a distinct advantage offered by employing CWT on an AFM signal is the extraction of information about harmonic effects in the time domain.
However, the main advantage offered by the CWT is the ability to produce data including information about the transient response of amplitude and phase in relation to the variation of the material's properties and sample topography. To demonstrate it, we performed simulations of the probe–sample interaction both in air and liquid environments (Fig. 4) and applied the CWT method to the resulting signal. The changes across the sample surface have been simulated with varying probe–sample distance zc (topography), Young's modulus E (stiffness), viscosity η and Hamaker constant Ah (adhesion) at set time intervals.
Fig. 4a–c are the simulated results for the liquid environment and Fig. 4d–f are the simulated results for the air environment. For the simulation in a liquid environment, six different scenarios are considered by changing one of the parameters of the simulation at a time. It starts with average cantilever–sample distance zc = 8 nm, free amplitude A0 = 13.5 nm and the sample's Young's modulus of 1 GPa. After 0.005 seconds, the Young's modulus is set to 100 MPa, leading to an increase in both amplitude and phase. In the case of the phase, a decrease in the material's stiffness means that the repulsive interaction is reduced, giving rise to an increase of phase towards the attractive regime, as we know that in the attractive regime the phase is more than 90°.67,73,74 Also, the increase of amplitude is explained by the fact that the probe experiences less force from the sample. In a third step, the viscosity (η = 100 Pa s) is included in the simulation. The responses to the change of viscosity are markedly different, with phase slightly increasing and amplitude decreasing. The increase of phase and decrease of amplitude are related to a phase shift due to dissipation in the repulsive regime. At t = 0.015 seconds the average distance of cantilever zc is decreased, leading to a decrease of both amplitude and phase, meaning that the cantilever experiences slightly more repulsive force. At t = 0.020 seconds the viscosity is decreased, which leads to a decrease in phase and increase in amplitude. Finally, the Young's modulus is increased leading to a decrease in both phase and amplitude, meaning more force experienced by the cantilever, i.e. increase in repulsive force. From the results it can be summarized that an increase of stiffness or decrease of average probe–sample distance leads to a decrease of both amplitude and phase, while an increase of viscosity leads to an increase of phase and decrease of amplitude. In other words, the behavior of amplitude and phase with respect to change in viscosity is different while for the change in stiffness their behavior is the same. The responses of the amplitude of the second and third harmonics are depicted in Fig. 4c. Both harmonics have the same behavior corresponding to the changes of the simulation parameters while in some cases they have different behaviors with respect to the amplitude of the main frequency, which is interesting to study. As can be seen, decreasing the Young's modulus, in contrast to the main frequency amplitude behavior, leads to a decrease of harmonics which can be expected given that the interaction force is decreased. Increasing the viscosity also slightly reduces the magnitude of harmonics, showing in this case the same behavior for the harmonics and main amplitude. Reducing the average distance leads to an increase of harmonics while the main amplitude is decreased. Then, reduction of viscosity not only increases the main amplitude but also magnifies the harmonics. Finally, increasing the Young's modulus increases the magnitude of harmonics while decreasing the main amplitude. To analyze the behavior of harmonics of the cantilever in a liquid environment due to the changes of parameters, it can be summarized that increasing the Young's modulus and decreasing the average distance – which reduces the main amplitude due to experiencing higher repulsive force – increase the magnitude and effect of harmonics on the main signal. The interesting point of this result is the impact of increase (decrease) of viscosity, or in other words dissipation, on the magnitude of harmonics. With respect to changes in dissipation, the harmonics of the cantilever signal have the same behavior as the main amplitude and increasing (decreasing) the viscosity leads to a decrease (increase) of the amplitude of the second and third harmonics of the cantilever. The effect of the parameter's changes on higher harmonics and second frequency of the cantilever is shown in the ESI.†
To study the behavior of the main amplitude, phase and second/third harmonics of the cantilever in an air environment, eight scenarios are considered. It is worth mentioning that in an air environment, due to the increase of quality factor, the effect on harmonics and eigenfrequencies is very low in comparison with the case of liquid medium. The simulation starts with zc = 8 nm, free amplitude A0 = 10 nm, Hamaker constant = 10−20 J and Young's modulus of the sample = 1 GPa.
After 0.005 seconds the Young's modulus of the sample is decreased, resulting in an increase of main amplitude and phase and decrease of second and third harmonics. This is due to the reduction of repulsive force and transition from the repulsive to the attractive regime. An increase of the sample's viscosity to 100 Pa s yields a slight decrease of phase (from 126° to 125.7°) and main amplitude. In contrast to the simulation in a liquid environment, the behaviors of amplitude and phase are the same. This phenomenon has been explained68,69 as originating from the difference of phase contrast in air and liquid environments. At t = 0.015 seconds an increase of Young's modulus from 100 MPa to 1 GPa leads to an increase in amplitude and decrease in phase. The increase of main amplitude – as is obvious from the phase value – is due to the fact that owing to the interaction in the attractive regime an increase in stiffness leads to a decrease of attractive force, leading to a decrease of phase value below 90° and increase in main amplitude. Increasing the Hamaker constant tenfold, meaning higher attractive force, leads to a slight increase in phase and decrease of main amplitude. At 0.025 seconds a decrease in average distance leads to a decrease in amplitude and increase in phase meaning that the interaction approaches maximum attractive force. Decreasing the Hamaker constant leads to an increase in amplitude and decrease in phase due to the lower value of attractive force. Finally, a decrease in viscosity, moving the interaction into the repulsive regime, increases the amplitude and decreases the phase. In this case the behaviors of phase and amplitude are different, same as in the liquid environment due to the presence of the repulsive regime. The harmonics increase slightly, which means that reduction of dissipation makes the transition from the attractive to the repulsive regime cause different behaviors between phase and amplitude than in the attractive regime.68,69 The scalograms of the simulation are given in the ESI.†
After comprehensive analysis of the dynamic response of the cantilever calculated using the continuous wavelet transform on simulated data, we applied the proposed method to the time domain data from actual measurements and compared the results to the data elaborated by the embedded LIA in the AFM system. Amplitude and phase images are generated by CWT as whole signals including transient responses, but for the sake of comparison with the images captured by the AFM system they are reduced to pixel AFM resolution by averaging them over the time interval of each pixel. Performing this operation on one set of data acquired on the calibration sample (sample 1) produces results showing a very good agreement between the two sets of images (Fig. 5), not only for the amplitude but also for the phase signal as well.
Non-averaged images obtained by the CWT carry a greater deal of information than the ones provided by the AFM system, mainly due to the fact that the CWT provides a time–frequency analysis of a signal. Therefore, the CWT and its coherence are capable of calculating the amplitude and phase of the signal at all the available datapoints and the only limitation would be the computational cost of applying this signal processing method. Comparison of images obtained by the standard averaging procedure and whole points captured by CWT (Fig. 6b–e), especially between the line profiles of the same line (Fig. 6f–i), not only shows the capability of CWT to provide standard images based on the averaging procedure, but also shows a significant enhancement of the quality and resolution of the temporal CWT images, since the operation of averaging at each pixel leads to information loss in the image with respect to the whole response. Such loss of information becomes critical in case fast dynamic response information from the sample needs to be analyzed. Moreover, computation of the material's properties starting from data extracted from averaged images might be affected and possibly lead to significant error due to the sensitivity of computation at the nanoscale. Note that in this figure we use the same color bar for images based on the maximum and minimum values of averaged images. The same images but considering max and min values of temporal CWT images are shown in the ESI (Fig. S4†) which represents CWT's potential in illustrating the details of an image compared to averaged images. Further details are provided in the ESI section (Fig. S5 and S6†).
Fig. 7a and b show the real-time cantilever signal of line 21 of the Y axis in the scanned image of Fig. 6 directly obtained using a photodetector. Fig. 7c–f show the information extracted by CWT from the photodetector signal of Fig. 7a and b. Both the trace and retrace of the signal are analyzed, obtaining the magnitude scalogram and XWT phase map. The associated tip motion signals and the transient response of amplitude and phase are given in Fig. 7e–j. It is noteworthy to highlight that with this procedure all the dynamics of the signals of the cantilever are captured and recorded in scalograms and can be recovered at any time. In contrast, with standard AFM data acquisition and processing, the transient response is lost due to averaging and use of stationary spectral analysis. From the behavior of amplitude and phase with respect to time it is completely obvious that the cantilever experiences the height changes of the calibration sample. Comparison between line 21 of the amplitude and phase images with the real-time response of amplitude and phase in Fig. 7g and i shows the effect of the height variation and details of cantilever motion in the response of amplitude and phase which can be easily seen in the results from CWT analysis. It is important to mention that the trace and retrace amplitude and phase signals are direction-dependent, which is easily understood by considering the case of amplitude: the probe passing over an ascending (descending) step will experience a decrease (increase) in amplitude before the feedback adjusts the probe–sample distance. For this reason, at the same step, the amplitude signal is increased in the trace while it is decreased in the retrace direction. For the phase signal the explanation is the same.
In order to show the CWT's capability to provide nonlinear and multifrequency information on cantilever sample interaction, we plot the amplitude maps of non-integer harmonics. Due to the CWT's capability in transforming the signal into daughter wavelets with different scales, where each contains information on a range of frequencies available in the signal, it is possible to plot the images of non-integer harmonics and side band simultaneously in the wide range of frequencies around the excited frequency of the cantilever. The non-integer harmonics are associated with a frequency of transient beats occurring on the cantilever and can provide information about the interaction force and transient instability of the cantilever interacting with the sample surface.75–79 The proposed CWT methodology for simultaneously detecting non-integer harmonics, harmonics and eigenfrequencies can provide an opportunity to extract more physical and chemical information from images and acquired data of interaction. Fig. 8 exhibits the non-integer harmonic amplitude images of sample 1 (calibration sample) between 0.7 and 1.5 times the main frequency. As can be seen, the amplitude of non-integer harmonics is different and as the frequency is closer to the main frequency the amplitude increases. For this purpose, the images are plotted in different color scales to better show the data that are saved in different non-integer harmonics. The comparison between non-integer harmonic images shows that the resolution of images in the non-integer harmonics that are higher than the main frequency is better than those with values lower than the main frequency. Moreover, as the non-integer harmonic is closer to the main frequency, the resolution is closer to the image of main frequency. Furthermore, the range of amplitudes in each graph also varies for different non-integer harmonics. A non-integer harmonic of 0.7f exhibits the lowest amplitude and lowest range of amplitudes while a non-integer harmonic of 1.1f has the closest amplitude and amplitude range to the main frequency. Comparison between 1.3f and 0.7f shows higher amplitude for 1.3f which indicates that for the case of same frequency difference with respect to main frequency, the amplitude of non-integer harmonics with frequency higher than the main frequency is higher than those with lower frequency. From the acquired data, it can be summarized that the distribution and amplitude of non-integer harmonics are not symmetric around the main frequency of the signal which can be related to the nonlinear nature of interaction force. So, CWT can be considered as a versatile tool to study the interplay between a material's properties and nonlinearity and transient response of the cantilever to explore more information about the stability of imaging and extract physical, chemical, and mechanical information from the samples.
Finally, in order to show the performance of our method to detect the transient responses in the presence of continuous topography variations, a measurement and analysis on a typical AFM probe qualification sample, sample 2, have been performed. Fig. 9f–i show the averaged and real-time amplitude and phase response of the cantilever of line 14 of the images of Fig. 9b–e. As can be seen here the variation in real-time response of amplitude and phase can be detected precisely, while in the averaged amplitude and phase the data from the signal dynamics are lost. This strongly proves the capability of the proposed technique to detect the transient response of the cantilever. As for the calibration sample measurement and analysis, images and line profile comparison clearly show loss of information during averaging.
In order to show the capability of the CWT to detect the transient response of the cantilever we plot the histogram of the amplitudes detected by CWT and compare the data with the detected amplitudes of the standard LIA used in commercial AFMs (Fig. 10). As can be seen, the distribution of amplitudes in the CWT histogram is significantly wider than those of the LIA which means that when using CWT all of the transients and changes that the cantilever experienced can be detected while in the LIA due to its detection mechanism which is based on the steady state regime of the signal and also averaging the data, the transients and fast changes of the signal are lost. Details of the non-integer harmonics of sample 2 are given in the ESI.†
By use of simulations, we proved the capability of the method to produce data including information about the transient response of amplitude and phase in relation to the variation of a material's properties and sample topography. The technique was successfully used to reconstruct amplitude and phase images of standard samples, starting from time domain data from actual measurements. The results match and surpass in details the images generated by standard LIA analysis.
Finally, this novel concept, by integration within the feedback system of the AFM setup, can be used to control probe movement, opening the path for high-speed transient force microscopy. Substitution of the LIA feedback – with its inherent bandwidth limitation – with the CWT method would firstly improve measurement speed, and secondly reduce information loss, giving access to a wealth of information about transient response, leading to the possibility of analyzing in detail a material's properties in dynamic AFM.
Footnotes |
† Electronic supplementary information (ESI) available. See DOI: 10.1039/d0na00531b |
‡ AF Payam and P Biglarbeigi have equal contribution. |
This journal is © The Royal Society of Chemistry 2021 |