Introduction

There are many periodic processes with such a high frequency that they are difficult to measure experimentally. A solution is the application of a heterodyne detection scheme, as it down-converts the high-frequency signal to a lower, easily measurable frequency by mixing it with a reference signal. This enables the quantification of the amplitude, the phase and the frequency modulation of the original, high-frequency signal. A well-known example of a heterodyne detector is the radio. Heterodyne detection is also widely used in optics, in quantum devices, in the detection of nuclear magnetic resonance, in microwave detection, in scanning tunnelling spectroscopy and even in the search for gravitational waves1,2,3,4,5,6,7.

Despite the successful application of heterodyne detection schemes, the exact generation of the heterodyne signal is often not well understood such that quantitative interpretations are only possible with extensive numerical calculations. Moreover, until now it has not been realized that the standard textbook equation for mixing usually fails, as in reality almost all mixers contain a beating stage at their input. To address this problem, we derived a general analytical theory that uses beating plus mixing for the generation of the heterodyne signal such that it becomes valid for all heterodyne detection schemes.

Although not recognized, almost all heterodyne mixers have a single input channel, through which a superposition is realized of the high-frequency signal and the reference signal before the real nonlinear mixing takes place: in optics, for example, the measured intensity is the square of the superposed electric fields. Consequently, we have to differentiate between beating, which is a linear effect occurring for superpositions and mixing occurring for nonlinear couplings.

In the following, we show that both beating and mixing are necessary to correctly describe the generation of the heterodyne signal. By deriving a general analytic theory that we confirm with simulations and experiments, we demonstrate that beating plays a crucial role in any type of heterodyne measurement system. In particular, we show that beating dominates mixing, if the mixer is of higher order than quadratic.

Results

Differentiating between Beating and Mixing

The upper panel of Fig. 1 depicts beating: it is the sum of two harmonic excitations at frequencies ωs and ωt. The result (black line) oscillates with a frequency ωh (ωs<ωh<ωt) and beats in amplitude at the difference frequency ωdiff=sωt| (red lines). However, as the Fourier transform of the time trace only shows the two original frequencies ωs and ωt, no signal is generated at the difference frequency ωdiff. Mixing, see lower panel of Fig. 1, is the product of two or more harmonic excitations and occurs if the transfer function of the mixer is of quadratic or higher order. This result really oscillates at the difference frequency (red line) and the sum frequency (black line). In contrast to beating, the Fourier transform shows the difference and the sum frequency, but not the two frequencies of the original harmonic excitations. Although beating and mixing are two intrinsically different effects that are classified by the type of mixer and their Fourier analyses, we will fully counterintuitively demonstrate that beating even dominates mixing, if the mixer is of higher order than quadratic!

Figure 1: Beating versus mixing.
figure 1

Beating is the sum of two harmonic functions (upper panel): the Fourier transform (FT) contains only the two original frequencies ωs and ωt. Mixing is the product of two harmonic functions (lower panel): the FT contains only the two nonlinear frequencies sωt| and |ωs+ωt|. The graphs have been calculated for ωs=1.1 MHz, ωt=1 MHz, As=0.1 nm and At=1 nm.

To illustrate the importance of beating in heterodyne measurements, we use the example of heterodyne force microscopy (HFM)8,9,10, as it represents a model system with a highly nonlinear mixing element (much higher order than quadratic). HFM enables the non-destructive imaging below a surface with nanometre resolution using an atomic force microscope11,12,13,14,15,16,17,18,19. The typical excitation scheme is sketched in Fig. 2a. The subsurface information is contained in an ultrasonic sound wave that travelled through the sample with a frequency ωs of several MHz (well above the first resonance of the cantilever). To detect this signal, one applies a heterodyne detection scheme and excites, therefore, also the cantilever/tip with a high frequency ωt that deviates slightly from ωs. The nonlinear tip–sample interaction generates a heterodyne signal at a sufficiently low difference frequency ωdiff such that the cantilever really starts to move at ωdiff. In this way, the tip–sample distance is the superposition of the sample vibration with amplitude As and phase φs, and the cantilever vibration with amplitude At and phase ϕt, on the basis of which the nonlinear tip–sample interaction generates the difference frequency. Usually, one tunes ωdiff below the first resonance of the cantilever, however, this choice is not necessary, as long as the difference frequency can still excite a real motion in the cantilever. This information is provided by the transfer function of the cantilever, as it describes the reaction of the cantilever for a given applied force as a function of the frequency.

Figure 2: Heterodyne force microscopy excitation scheme.
figure 2

(a) The Si sample vibrates with amplitude As and phase ϕs at a frequency ωs, while the tip vibrates with At and ϕt at ωt. Using an optical beam method and a lock-in, we detected the amplitude Adiff and phase ϕdiff of the difference frequency ωdiff=s−ωt|. The tip–sample distance z was varied by moving the cantilever towards the surface (approach) and out again (retract). (b) The tip–sample distance is the sum of the ultrasonic motion of the cantilever At cos(ωtt) and the sample As cos(ωst), which results in beating. The nonlinear tip–sample interaction generates drive forces (among others at the difference frequency), which lead, via the transfer function H(ωdiff) of the cantilever that also acts as a low-pass filter, to a real motion that is coupled back into the tip–sample distance (red arrow). (c) The tip–sample interaction as a function of the distance z (left panel): obtained from the experiment (red), as used in the analytical calculation (dashed black), and a second-order approximation around ze=0.53 (blue). The derivative of the tip–sample interaction as a function of the distance z (right panel): as used in the analytical calculation (dashed black) and the second-order approximation around ze=0.53 (blue). The blue line is only a good approximation of Fts near z=ze=0.53.

Figure 2b depicts the heterodyne signal generation for the example of HFM. The sum of the ultrasound signals at frequencies ωt and ωs results in beating at the mixer’s input. This mixer generates a heterodyne drive force at ωdiff, which results in a real motion of the cantilever via the cantilever’s transfer function H(ωdiff). HFM is special, as the output of this transfer function (real motion at ωdiff) is coupled back into the tip–sample distance, which leads to an additional beating term at the input of the mixer. The transfer function also acts as a filter, which eliminates almost any contribution from the sum frequency |ωt+ωs|, as well as higher-order mixing terms: A | ω s + ω t | / A | ω s + ω t | =0.004 . We derive the transfer function in Supplementary Note 5.

We also address the general case without back coupling to the mixer below, as well as in Supplementary Note 4, and show that beating still gives significant corrections to the heterodyne signal. Although the back coupling can, in principle, also alter the ultrasonic amplitudes At and As (and corresponding phases), it was surprisingly shown experimentally that At and As remain constant for all tip–sample distances z in HFM20,21. Therefore, HFM behaves exactly as a conventional heterodyne detection scheme with an additional back coupling of only the difference frequency signal ωdiff=|ωsωt| to the input of the mixer.

Analytical theory for the heterodyne signal generation

To derive an expression for the heterodyne signal, we need a description of the mixer’s input, which is given by the tip–sample distance z. This distance contains a static offset zb given by the position of the cantilever’s base, a deflection δ and a back coupling term that accounts for the real motion at the difference frequency, in addition to the ultrasonic motion of both the cantilever and the sample.

To enable a proper comparison between our theory and both a numeric simulation and experiments, we subtract an offset in zb such that zb=0, if the deflection δ=0 during the approach cycle of the cantilever to the surface. Equation (1) is used for the input signal of the mixer, which generates via the nonlinear tip–sample interaction Fts(z) an effective drive force on the cantilever at the difference frequency. The derivation can be performed in two ways: either one makes, as usual, a second-order Taylor expansion of the tip–sample interaction around the equilibrium position (which is ze=zb+δ) or one first uses beating to rewrite the high-frequency components of the mixer’s input as a motion at a high frequency ωh with amplitude and an additional amplitude modulated term at the same frequency, before making a linear expansion of the tip–sample interaction around a time varying equilibrium position. This linear expansion is justified, as a third-order expansion alters the heterodyne signal at most by 4.5%. The first method, referred to as ‘Standard Mixing’ can be found in most textbooks, but (commonly not mentioned) this solution is valid only for second-order (quadratic) interactions. In contrast, our alternative approach, which we call ‘Beating & Mixing’, is valid for any type of interaction. The derivations and validities of both methods are described in detail in Supplementary Notes 2–4. ‘Beating & Mixing’ is a generalization of the standard theory and produces the ‘Standard Mixing’ results, if one artificially sets the beating term to zero. We find proof for our ‘Beating & Mixing’ description from excellent agreements of our results from numerical simulations and HFM experiments, as discussed below.

Let us now compare the ‘Standard Mixing’ textbook solution with our ‘Beating & Mixing’ generalization, in which the amplitude Adiff and the phase ϕdiff of the heterodyne signal (Table 1; equation (2)) and the static deflection δ of the cantilever (Table 1; equation (3)) are determined by three parameters: I0 denotes the average tip–sample interaction, I1 denotes an effective tip–sample spring and I2 represents the nonlinear characteristics (curvature) of the mixer. In the ‘Standard Mixing’ solution, I1 and I2 are determined by the values of the first and the second derivative of the tip–sample interaction at the equilibrium position ze. In contrast, the ‘Beating & Mixing’ solution takes explicitly into account the high-frequency motion and, therefore, the derivative of the tip–sample interaction at all tip–sample distances between ze and ze±Ah. This description holds as long as As·At is smaller than Ah2. The three parameters I0, I1 and I2 become weighted integrals of Fts and ∂Fts/∂z. Only if the mixer is purely quadratic, the integrals reduce to the exact values for I0, I1 and I2 of the textbook solution of ‘Standard Mixing’ (see Supplementary Note 3). Consequently, the ‘Beating & Mixing’ solution is required for all mixers that cannot be approximated with a quadratic function.

Table 1 Analytical expressions for the heterodyne signal.

The tip–sample interaction in HFM deviates significantly from a quadratic behaviour. This becomes evident from the left panel of Fig. 2c, in which we show Fts obtained from the experiment (red), Fts as used in the analytical calculation (dashed black) and the quadratic interaction or second-order approximation of Fts around z=ze=0.53 nm (blue). Although the quadratic interaction is a good approximation of the tip–sample interaction close to ze=0.53 nm, this approximation clearly fails 1 nm further at a tip–sample distance of, for example, z=ze=1.53 nm. This is even worse for the first derivative of the tip–sample interaction, which is shown in the right panel of Fig. 2c. Therefore, ‘Standard Mixing’ cannot describe the heterodyne signal generation in HFM: the tip–sample interaction cannot be approximated quadratically over a z range that is equal to the typical ultrasonic vibration amplitude Ah of 1 nm.

Experimental verification of the ‘Beating & Mixing’ theory

In Fig. 3, we compare the ‘Beating & Mixing’ result with a full numerical simulation, an experiment, and the ‘Standard Mixing’ theory. For simplicity, we only show the approach curves. Both the ‘Beating & Mixing’ theory and the ‘Standard Mixing’ theory, as well as the numerical simulation, need an analytical description of the tip–sample interaction, which we obtained by fitting the Derjaguin–Muller–Toporov model22 and I0 to the experimental deflection δ (see Supplementary Note 6). This experiment was performed with a 2 N m−1 cantilever, which had its first resonance frequency around 73 kHz. The sample was a freshly cleaned silicon wafer. The cantilever was excited at 2.87 MHz with an amplitude of 0.96 nm, while the sample was excited such that ωdiff=1 kHz. The vibration amplitude of the sample was 0.32 nm. The full experimental details are described in Supplementary Note 7.

Figure 3: Comparison between analytical theory, simulation, and an experiment.
figure 3

The heterodyne amplitude Adiff as obtained from ‘Beating & Mixing’ (a: red), from a full numerical simulation (b: black), from the experiment (c: black) and from ‘Standard Mixing’ (d: black). For comparison, the ‘Beating & Mixing’ curves (red) are also shown in b,c and d. The bottom panels show the corresponding static deflection δ of the cantilever. Notice that both the numerical simulation and the experimental results support the validity of ‘Beating & Mixing’: their curves qualitatively fit the ‘Beating & Mixing’ ones. In contrast, ‘Standard Mixing’ deviates significantly.

To confirm that ‘Beating & Mixing’ is important in HFM, we calculated both the amplitude of the heterodyne signal Adiff and the deflection δ as a function of the tip–sample distance (defined by the cantilever’s base position zb; see Fig. 3a). The numerical simulations quantitatively fit our ‘Beating & Mixing’ curves (see black line in Fig. 3b) perfectly. Additional proof comes also from experiments (see Fig. 3c)21, as the general curvature correctly reproduces the ‘Beating & Mixing’ results at all tip–sample distances zb. If we compare the textbook solution of ‘Standard Mixing’ shown in Fig. 3d, one clearly notices a significant deviation: ‘Standard Mixing’ fails to describe the mixing signal. This is in contradiction with the general conception that standard frequency mixing generates the observed signal in HFM. The discontinuities, in both the amplitude and the deflection, are due to the specific choice of tip–sample interaction (see Supplementary Note 6). In conclusion, this confirms that ‘Beating & Mixing’ indeed correctly describes the generation the difference signal in HFM and that ‘Standard Mixing’ fails.

Discussion

Let us now discuss the significant effect of the ultrasound on the deflection in HFM, which can be evaluated by the static output (I0) of the mixer with respect to the case without ultrasound. Alternatively, one can compare the deflection curves of the ‘Standard Mixing’ theory with the ‘Beating & Mixing’ theory, which is shown in Fig. 3d. In conclusion, both the adhesion and the elasticity appear smaller in HFM experiments, if one does not account for the existence of the ultrasound.

Finally, we address the more general case of heterodyne measurements without a back coupling to the input of the mixer as existent in HFM. Even without back coupling, beating is still essential to correctly describe the heterodyne signal generation. As the back coupling term in HFM is generated by I1 (see Supplementary Note 4), we can set I1 to zero in equation (2). Also without back coupling, ‘Beating & Mixing’ still determines the heterodyne signal and the static deflection through the parameters I0 and I2. Therefore, we generally conclude that beating is of crucial importance for heterodyne detection schemes.

In conclusion, we have shown that beating, although it is a linear effect and has never considered to be of importance in heterodyne detection schemes, dominates the generation of the signal at the difference frequency in heterodyne measurements. We derived a general, analytical theory for any type of interaction that takes into account Beating & Mixing, and shown that our ‘Beating & Mixing’ theory correctly produces the standard beating solution for a pure linear interaction, as well as the Standard Mixing solution for an interaction that is purely quadratic. Correction terms are necessary for any interaction that is of higher order than quadratic. We verified our theory with a finite time step simulation and with an experiment applying HFM, which is a typical example of a heterodyne measurement with a highly non-quadratic mixer.

Additional information

How to cite this article: Verbiest, G. J. and Rost, M. J. Beating beats mixing in heterodyne detection schemes. Nat. Commun. 6:6444 doi: 10.1038/ncomms7444 (2015).