<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2023.115091</article-id><article-id pub-id-type="publisher-id">JAMP-125229</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Compensation of Parasitic Capacitance of Quartz Tuning Fork in AFM
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yidai</surname><given-names>Liu</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Physics Department, Hong Kong University of Science and Technology, Hong Kong, China</addr-line></aff><pub-date pub-type="epub"><day>05</day><month>05</month><year>2023</year></pub-date><volume>11</volume><issue>05</issue><fpage>1404</fpage><lpage>1413</lpage><history><date date-type="received"><day>18,</day>	<month>April</month>	<year>2023</year></date><date date-type="rev-recd"><day>27,</day>	<month>May</month>	<year>2023</year>	</date><date date-type="accepted"><day>30,</day>	<month>May</month>	<year>2023</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution-NonCommercial International License (CC BY-NC).http://creativecommons.org/licenses/by-nc/4.0/</license-p></license></permissions><abstract><p>
 
 
  We have built an atomic force microscope using a quartz tuning fork as sensor. The excitation method we adopted, the electrical excitation, introduces stray capacitance into the signal-processing circuit. In this report, we demonstrated a simple but effective method to compensate for this parasitic capacitance by adding a compensator circuit consisting of an inverting amplifier and a capacitor. The capacitor is connected in series with the inverting amplifier and the compensator is connected in parallel with the quartz tuning fork. The resonance curve of the system measured after adding the homemade compensator resembles that of a pure RLC circuit, meaning that the stray capacitance is successfully eliminated. Furthermore, we tried to use our equipment to measure PDMS sample and got clean data. This system can be further combined with confocal microscope and diamond with NV defect to build scanning NV magnetometry.
 
</p></abstract><kwd-group><kwd>Atomic Force Microscope</kwd><kwd> Quartz Tuning Fork</kwd><kwd> Stray Capacitance</kwd><kwd> Compensator Circuit</kwd><kwd> PDMS Sample</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Quartz tuning fork has been used as the sensing component of atomic force microscopes (AFM) for various reasons. They are small in size, having low damping effect, and very versatile [<xref ref-type="bibr" rid="scirp.125229-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.125229-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.125229-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.125229-ref4">4</xref>] . Many variations of this design exist including combining the tuning fork with a diamond with NV center to probe the magnetic field in the vicinity of the sample surface [<xref ref-type="bibr" rid="scirp.125229-ref5">5</xref>] . The biggest advantage of using quartz is its piezo-electric property which integrates easily into electric circuits and allows data to be obtained electrically [<xref ref-type="bibr" rid="scirp.125229-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.125229-ref6">6</xref>] .</p><p>To use the tuning fork to measure atomic forces, we need to make it oscillate. Although there always exists thermal excitation of the quartz tuning fork, the intensity is too small to be useful. There are mainly two ways to drive the oscillation of the fork, namely electrical excitation, and mechanical excitation. In a mechanical-excitation design, the input current drives a piezoelectric actuator attached to the fork which then drives the fork, while in an electrical-excitation design, voltage is applied directly to the quartz tuning fork. The material will deform according to the voltage applied. It is clear to us that the latter is simpler because it does not need an actuator. However, for the electrical-excitation design, the outcome is not so desirable because of stray capacitance intrinsic to the tuning fork and its wiring. There have been many ways to cope with this issue, including a theoretical approach [<xref ref-type="bibr" rid="scirp.125229-ref7">7</xref>] , usage of tunable compensation circuit [<xref ref-type="bibr" rid="scirp.125229-ref6">6</xref>] , and using another identical but immobilized tuning fork for compensation [<xref ref-type="bibr" rid="scirp.125229-ref4">4</xref>] .</p><p>In this report, we designed a phase compensator consisting of a tunable inverting operational amplifier connected in series with a capacitor to try to eliminate the non-harmonic effects of the quartz tuning fork. We achieved a more compact design by using the op-amp chip instead of the transformer as introduced by Grober [<xref ref-type="bibr" rid="scirp.125229-ref8">8</xref>] . In addition to that, we tested our equipment by measuring the resonance frequency shift when the sensor is in contact with Polydimethylsiloxane (PDMS) sample.</p></sec><sec id="s2"><title>2. Methods</title><sec id="s2_1"><title>2.1. qPlus Sensor</title><p>As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(a), the quartz tuning fork has two branches. They might oscillate symmetrically or asymmetrically, adding complexity to the measurement,</p><p>especially when the tuning fork becomes asymmetric when a tip is added to one of the branches to make a probe microscope. To maintain the symmetry of the tuning fork, balancing mass should be added to the other branch, which is obviously very difficult job. Alternatively, one can fix one of the branches to a firm base to make it a single quartz beam. This is called the qPlus sensor, which was first introduced by by Giessbl in 1998 [<xref ref-type="bibr" rid="scirp.125229-ref9">9</xref>] .</p><p>In the setup of this report, we use the qPlus sensor with a tip on the moving beam, as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(b) and <xref ref-type="fig" rid="fig1">Figure 1</xref>(c).</p></sec><sec id="s2_2"><title>2.2. The Parasitic Capacitance</title><p>There are two ways to excite the quartz tuning fork, the mechanical way, and the electrical way, as illustrated in <xref ref-type="fig" rid="fig2">Figure 2</xref>. In the setup of this report, we used the electrical excitation method. According to the theorem proved by Butterworth [<xref ref-type="bibr" rid="scirp.125229-ref11">11</xref>] , the tuning fork is equivalent to an inductor, a capacitor, and a resister connected in series, which is stunted by another capacitor [<xref ref-type="bibr" rid="scirp.125229-ref12">12</xref>] , as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>This is essentially due to the fact that the effective force exerted on the two</p><p>prongs of the quartz tuning fork is proportional to the derivative of the applied voltage. And the resulting current is proportional to the relative displacement between the two prongs. The input voltage gets converted to force which drives the mechanical oscillation of the sensor. And the mechanical oscillation in turn alters the output current. So, both the actuation and detection are done electrically. The two factors α and β shown in <xref ref-type="fig" rid="fig3">Figure 3</xref> are the conversion factors that determines the relation between electrical signal and mechanical signal [<xref ref-type="bibr" rid="scirp.125229-ref12">12</xref>] .</p><p>Without the stray capacitance, the quartz tuning fork or qPlus sensor is supposed to work like a harmonic oscillator which shows one single resonance peak in the resonance curve and a shift of the phase before and after the resonance frequency. For clarity and simplicity, here before resonance means the driving frequency is smaller than the resonance frequency of the harmonic part and vice versa. The parasitic capacitor alone has constant amplitude and phase given a stable ac input. When we add these two effects together to get the total output current, before the resonance frequency, the harmonic part and the stray capacitance part have same phase, thus they interfere constructively. But after resonance, the phase of the harmonic part changes and they start to have opposite phase, thus they interfere destructively, resulting in a local minimum right after the main resonance peak. This superposition is illustrated clearly in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>The resonance behavior of the qPlus sensor is tested and the result is as shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>. We can see a dip of the amplitude after the resonance peak due to destructive interference and the phase going back to the initial value after a brief drop at the resonance point instead of staying in the opposite phase.</p></sec><sec id="s2_3"><title>2.3. The Compensator</title><p>We dynamically measure the resonance frequency shift in real time while probing by keeping track of the zero phase on the phase curve using the PID feedback control loop, using frequency as the control variable and zero phase as the desired setpoint. The frequency is dynamically modulated based on the error which is the difference between the measured process value and the desired setpoint. PID controllers work best when the loop to be controlled is linear and symmetric. So, we need to compensate for the stray capacitance to get a phase curve which is roughly linear around the resonance point.</p><p>In order to compensate for the stray capacitance, we designed a compensator as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>The compensator is connected in parallel with the tuning fork, they share the same input voltage, and their current adds up. The op-amp in the compensator inverts the phase of the input signal (shifts by 180 degrees) and also amplifies it. The current then passes through the capacitor. Because the input signal of the capacitor in the compensator has inverted phase compared to the input signal of the tuning fork, the current from the branch of the compensator is supposed to interfere destructively with the current from the parasitic capacitor in the tuning fork when the current of the two branches add up. The gain of the op-amp is tunable by adjusting the two variable resisters. By fine-tuning the gain, we can make the amplitude of the compensating current to be the same as the stray capacitor current to achieve complete cancelation of the stray capacitance effect.</p><p>The operational amplifier we used is the ADA4899-1 chip manufactured by Analog Devices, which is unity-gain stable, having ultra-low distortion, and high speed [<xref ref-type="bibr" rid="scirp.125229-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.125229-ref14">14</xref>] . After fine tuning the gain, we get the compensated resonance curve of the sensor as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>.</p><p>We can see that after adding the compensator, the amplitude peak becomes more symmetric, and the phase goes from positive to negative after the resonance point, similar to that of a Lorentzian oscillator with minimal inharmonic behavior, which means that the stray capacitance is well compensated.</p></sec></sec><sec id="s3"><title>3. Results and Discussions</title><p>Polydimethylsiloxane (PDMS), whose chemical structure is as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>, is widely used as lubricants, damping fluids, and defoaming agents. Thus, its mechanical properties such as viscosity and surface tension need to be studied. Using the proposed system, we can measure various mechanical properties of the PDMS sample. However, in this report, we only used the sample to test the experimental setup.</p><p>We used a piezo-electric component to move the position of the sensor tip with precision, the larger the applied voltage (offset), the closer the tip is to the sample. We used the methods mentioned in the previous section to electrically actuate the quartz tuning fork with ac signal and modulated the driving frequency using PID feedback control loop to measure the shift of resonance frequency as the offset changes. The arrangement of the sample and sensor is as illustrated in <xref ref-type="fig" rid="fig1">Figure 1</xref>(c) on page 1. The full setup of the signal processing circuit is as shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p><p>We first let the tip of the sensor approach the sample. After the tip touches the surface of the liquid sample, the liquid wets the tip. So, later when we retract the tip from the liquid, liquid meniscus will form, and the tip does not break off from</p><p>the liquid sample until the tip is pulled to a place much higher than the initial contacting point.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>0 shows a microscopic photo of the PDMS sample hanging on the sensor tip just before rupture happens.</p><p>The frequency shift and amplitude change in a retracting process is recorded as in <xref ref-type="fig" rid="fig1">Figure 1</xref>1. After rupture happens, the tip breaks free and has less damping effect, thus the oscillating amplitude increases, and the frequency shift decreases.</p></sec><sec id="s4"><title>4. Conclusions</title><p>We have shown that the stray capacitance compensating system featuring inverting amplifier can effectively remove inharmonic effects of the sensor. The quartz tuning fork works as a force gradient sensor, allowing measurement of various mechanical properties of various types of samples. This simple but robust method may contribute to improve several electric-field induced mechanical systems (sensors, actuators, or resonator) by removing the unwilling non-linear effect of stray capacitance [<xref ref-type="bibr" rid="scirp.125229-ref4">4</xref>] . Furthermore, the tuning fork based AFM can be combined with confocal microscopy and diamond with nitrogen-vacancy (NV) defect to build scanning nano-magnetometry [<xref ref-type="bibr" rid="scirp.125229-ref5">5</xref>] , see <xref ref-type="fig" rid="fig1">Figure 1</xref>2. In this design, the AFM helps keeping the distance between the NV magnetic sensor and the sample by sensing the atomic forces, allowing controlled close proximity between the NV center and the sample.</p><p>However, there are some limitations of this method. Firstly, the compensator circuit may introduce additional noise into the system, which could affect the accuracy of the measurements. Secondly, the effectiveness of the compensator circuit may depend on the specific parameters of the system, such as the frequency range of the measurement and the magnitude of the stray capacitance. Also, the method may not be suitable for all types of atomic force microscopy applications, as the effectiveness of the compensator circuit may vary depending on the specific requirements of the measurement.</p></sec><sec id="s5"><title>Acknowledgements</title><p>I would acknowledge the help and constructive criticism of the PhD students in Prof. Sen Yang’s group.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Liu, Y.D. (2023) Compensation of Parasitic Capacitance of Quartz Tuning Fork in AFM. Journal of Applied Mathematics and Physics, 11, 1404-1413. https://doi.org/10.4236/jamp.2023.115091</p></sec><sec id="s8"><title>Appendix A: Experimental Setup</title><p>The op-amp chip used in this experiment was ADA4899-1 high speed op amp. The capacitor used was 1pF. The signal was processed using Zurich Instrument MFLI lock-in amplifier.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.125229-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Botaya, L., Otero, J., González, L., Coromina, X., Gomila, G. and Puig-Vidal, M. (2015) Quartz Tuning Fork-Based Conductive Atomic Force Microscope with Glue-Free Solid Metallic Tips. Sensors and Actuators A: Physical, 232, 259-266. https://doi.org/10.1016/j.sna.2015.06.006</mixed-citation></ref><ref id="scirp.125229-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Hida, H., Shikida, M., Fukuzawa, K., Murakami, S., Sato, K., Asaumi, K., Iriye, Y. and Sato, K. (2008) Fabrication of a Quartz Tuning-Fork Probe with a Sharp Tip for AFM Systems. Sensors and Actuators A: Physical, 148, 311-318. https://doi.org/10.1016/j.sna.2008.08.021</mixed-citation></ref><ref id="scirp.125229-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Qiao, S., Sampaolo, A., Patimisco, P., Spagnolo, V. and Ma, Y. (2022) Ultra-Highly Sensitive HCL-LITES Sensor Based on a Low-Frequency Quartz Tuning Fork and a Fiber-Coupled Multi-Pass Cell. Photoacoustics, 27, Article ID: 100381. https://doi.org/10.1016/j.pacs.2022.100381</mixed-citation></ref><ref id="scirp.125229-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">An, S., Lee, K., Kim, B., Kim, J., Kwon, S., Kim, Q., Lee, M. and Jhe, W. (2013) Compensation of Stray Capacitance of the Quartz Tuning Fork for a Quantitative Force Spectroscopy. Current Applied Physics, 13, 1899-1905. https://doi.org/10.1016/j.cap.2013.07.024</mixed-citation></ref><ref id="scirp.125229-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Appel, P. (2017) Scanning Nanomagnetometry: Probing Magnetism with Single Spins in Diamond. Universit&amp;#228;t Basel, Basel.</mixed-citation></ref><ref id="scirp.125229-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Hedberg, J. (2011) Low Temperature Force Microscopy on a Deeply Embedded Two Dimensional Electron Gas. McGill University, Montréa.</mixed-citation></ref><ref id="scirp.125229-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Lee, M., An, S. and Jhe, W. (2018) Evaluating Signal and Noise Spectral Density of a qPlus Sensor with an Active Feedback Control. AIP Advances, 8, Article ID: 055228.https://doi.org/10.1063/1.5028215</mixed-citation></ref><ref id="scirp.125229-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Grober, R.D., Acimovic, J., Schuck, J., Hessman, D., Kindlemann, P.J., Hespanha, J., Morse, A.S., Karrai, K., Tiemann, I. and Manus, S. (2000) Fundamental Limits to Force Detection Using Quartz Tuning Forks. Review of Scientific Instruments, 71, 2776-2780. https://doi.org/10.1063/1.1150691</mixed-citation></ref><ref id="scirp.125229-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Giessibl, F.J. (1998) High-Speed Force Sensor for Force Microscopy and Profilometry Utilizing a Quartz Tuning Fork. Applied Physics Letters, 73, 3956-3958. https://doi.org/10.1063/1.122948</mixed-citation></ref><ref id="scirp.125229-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Wutscher, E. and Giessibl, F.J. (2011) Atomic Force Microscopy at Ambient and Liquid Conditions with Stiff Sensors and Small Amplitudes. Review of Scientific Instruments, 82, Article ID: 093703. https://doi.org/10.1063/1.3633950</mixed-citation></ref><ref id="scirp.125229-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Butterworth, S. (1914) On Electrically-Maintained Vibrations. Proceedings of the Physical Society of London, 27, 410-424.https://doi.org/10.1088/1478-7814/27/1/330</mixed-citation></ref><ref id="scirp.125229-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Lee, M., Kim, B., An, S. and Jhe, W. (2019) Dynamic Responses of Electrically Driven Quartz Tuning Fork and qPlus Sensor: A Comprehensive Electromechanical Model for Quartz Tuning Fork. Sensors, 19, Article No. 2686. https://doi.org/10.3390/s19122686</mixed-citation></ref><ref id="scirp.125229-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Analog Devices (2007) ADA4899-1 Manual. https://www.analog.com/en/products/ada4899-1.html?doc=ADA4899-1.pdf#product-overview</mixed-citation></ref><ref id="scirp.125229-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Analog Devices (2012) Operational Amplifiers Selection Guide. https://www.analog.com/media/en/news-marketing-collateral/product-selection-guide/Op_Amps_SG_2011-12_GlossaryTechnology.pdf</mixed-citation></ref><ref id="scirp.125229-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Hamouni, S., Arous, O., Abdessemed, D., Nezzal, G. and Van der Bruggen, B. (2019) Alcohol and Alkane Organic Extraction Using Pervaporation Process. Macromolecular Symposia, 386, Article ID: 1800247. https://doi.org/10.1002/masy.201800247</mixed-citation></ref><ref id="scirp.125229-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Rondin, L., Tetienne, J.-P., Spinicelli, P., Dal Savio, C., Karrai, K., Dantelle, G., Thiaville, A., Rohart, S., Roch, J.-F. and Jacques, V. (2012) Nanoscale Magnetic Field Mapping with A Single Spin Scanning Probe Magnetometer. Applied Physics Letters, 100, Article ID: 153118. https://doi.org/10.1063/1.3703128</mixed-citation></ref></ref-list></back></article>