Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
APPARATUS AND METHOD FOR DEMODULATING AN INPUT SIGNAL
Document Type and Number:
WIPO Patent Application WO/2011/109913
Kind Code:
A1
Abstract:
The invention relates to an apparatus (300; 400; 500; 600) for demodulating an input signal (306; 402; 520), comprising a frequency detector (302; 403; 502.1,..., 502. N; 603) for tracking a frequency (f2; fd1,..., fdN) of the input signal (306; 402; 520), an oscillator (304; 410; 505; 605, 606) and a mixer (305; 408; 507; 608, 609), wherein the input signal (306; 402; 520) and an output signal (307; 409) of the oscillator (304; 410; 505; 605, 606) constitute the incoming signals for the mixer (305; 408; 507; 608, 609) and the output signal of the mixer (305; 408; 507; 608, 609) constitutes the demodulated input signal, wherein an arithmetic unit (303; 404; 504; 604) is arranged downstream of the frequency detector (302; 403; 502.1,..., 502. N; 603) and upstream of the oscillator (304; 410; 505; 605, 606), wherein the tracked frequency (f2; fd1,..., fdN) of the input signal (306; 402; 520) and a predefined second frequency (f1; faux1,..., fauxM) constitute the incoming signals of the arithmetic unit (303; 404; 504; 604) and the arithmetic unit (303; 404; 504; 604) is designed such that it computes a control signal (f3; f4; fo1,..., foP) for the oscillator (304; 410; 505; 605, 606) from the tracked frequency (f2; fd1,..., fdN) of the input signal (306; 402; 520) and the predefined second frequency (f1; faux1,..., fauxM) with the output signal (307; 409) of the oscillator (304; 410; 505; 605, 606) depending on the control signal (f3; f4; fo1,..., foP). The invention furthermore relates to a method for demodulating an input signal (306; 402; 520) with such an apparatus (300; 400; 500; 600).

Inventors:
HAFIZOVIC SADIK (CH)
HEER FLAVIO (CH)
KOCH STEFAN (CH)
HAANDBAEK NIELS (CH)
Application Number:
PCT/CH2010/000066
Publication Date:
September 15, 2011
Filing Date:
March 10, 2010
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ZURICH INSTR AG (CH)
HAFIZOVIC SADIK (CH)
HEER FLAVIO (CH)
KOCH STEFAN (CH)
HAANDBAEK NIELS (CH)
International Classes:
H03D3/00; H03D1/00
Domestic Patent References:
WO2001081857A22001-11-01
Foreign References:
US20060148441A12006-07-06
US6823724B12004-11-30
US6097197A2000-08-01
Other References:
None
Attorney, Agent or Firm:
E. BLUM & CO. AG (Zürich, CH)
Download PDF:
Claims:
Claims

1. Apparatus for demodulating an input signal (306; 402; 520), comprising a frequency detector (302; 403; 502.1,..., 502. N; 603) for tracking a frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520), an oscillator (304; 410; 505; 605, 606) and a mixer (305; 408; 507; 608, 609), wherein the input signal (306; 402; 520) and an output signal (307; 409) of the oscillator (304; 410; 505; 605, 606) constitute the incoming signals for the mixer (305; 408; 507; 608, 609) and the output signal of the mixer (305; 408; 507; 608, 609) constitutes the demodulated input signal, characterized by an arithmetic unit (303; 404; 504; 604) that is arranged downstream of the frequency detector (302; 403; 502.1,..., 502. ; 603) and upstream of the oscillator (304; 410; 505; 605, 606), wherein the tracked frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520) and a predefined second frequency (fl; fauxl,..., fauxM) constitute the incoming signals of the arithmetic unit (303; 404; 504; 604) and the arithmetic unit (303; 404; 504; 604) is designed such that it computes a control signal (f3; f4; fol,..., foP) for the oscillator (304; 410; 505; 605, 606) from the tracked frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520) and the predefined second frequency (fl; fauxl,..., fauxM) with the output signal (307; 409) of the oscillator (304; 410; 505; 605, 606) depending on the control signal (f3; f4; fol,..., foP) .

2. Apparatus according to claim 1, wherein a low-pass filter (308; 411; 512; 607, 610) is arranged downstream the mixer (305; 408; 507; 608, 609).

3. Apparatus according to claim 1 or 2, wherein the tracked frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520) is its carrier frequency and/or wherein the predefined second frequency (fl; fauxl,..., fauxM) is the modulation frequency by which the input signal (306; 402; 520) has been modulated.

4. Apparatus according to one of the preceding claims, wherein the control signal (f3; f4; fol,..., foP) is given by a reference frequency for the oscillator (304; 410; 505; 605, 606) .

5. Apparatus according to claim 4, wherein the reference frequency is given by the difference or the sum of the tracked frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520) and the predefined second frequency (fl; fauxl,..., fauxM) .

6. Apparatus according to one of the preceding claims, wherein the arithmetic unit (303; 404; 504; 604) is designed such that it computes a second control signal (f4) for a second oscillator (405) from the tracked frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520) and the predefined second frequency (fl; fauxl,..., fauxM) with the output signal of the second oscillator (405) depending on the second control signal (f4), in particular wherein the second oscillator (405) is connectable to a device to be tested.

7. Apparatus according to one of the preceding claims, wherein the second control signal (f4) is given by a reference frequency for the second oscillator (405) .

8. Apparatus according to one of the preceding claims, wherein several frequency detectors (502.1,..., 502. N) for tracking several frequencies (fdl,..., fdN) of the input signal (520) , several mixers (507) and several oscillators (505) are provided with one oscillator (505) assigned to each mixer (507), wherein the tracked frequencies (fdl,..., fdN) of the input signal (520) and several predefined second frequencies (fauxl,..., fauxM) constitute the incoming signals of the arithmetic unit (504) and the arithmetic unit (504) is designed such that it computes a control signal (fol,..., foP) for each oscillator (505) from the tracked frequencies ( fdl, fdN) of the input signal (520) and the several predefined second frequencies (fauxl,..., fauxM) , each output signal of an oscillator (505) depending on the corresponding computed control signal (fol,..., foP) and constituting together with the input signal (520) the incoming signals for one of the mixers (507) .

9. Apparatus according to claim 8, wherein the oscillators (505) are connectable to one or more devices to be tested.

10- Method for demodulating an input signal (306; 402; 520) with an apparatus (300; 400; 500; 600) according to one of the preceding claims, characterized by the following steps:

- tracking of a frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520) by a frequency detector (302; 403; 502.1,..., 502. , 603),

- computing a control signal (f3; f4; fol,..., foP) from the tracked frequency (f2; fdl,..., fdN) of the input signal (306; 402; 520) and a predefined second frequency (fl; fauxl,..., fauxM) by means of an arithmetic unit (303; 404; 504; 604),

- generating an output signal (307; 409) of an oscillator (304; 410; 505; 608, 609) in dependence on the computed control signal (f3; f4; fol,..., foP) , and

- demodulating the input signal (306; 402; 520) by mixing it with the output signal (307; 409) of the oscillator (304; 410; 505; 605, 606) by means of a mixer (305; 408; 507; 608, 609).

11. Method according to claim 10, wherein the demodulated input signal is low-pass filtered.

12. Method according to claim 10 or 11, wherein the control signal (f3; f4; fol,..., foP). is computed by subtracting the predefined second frequency (fl; fauxl,..., fauxM) from the tracked frequency (f2; fdl,..., fdN) or by adding the predefined second frequency (fl; fauxl,..., fauxM) to the tracked frequency (f2; fdl,..., fdN) .

Description:
Apparatus and method for demodulating an input signal

Technical Field

The invention relates to an apparatus and a method for demodulating an input signal according to the preambles of the independent claims.

Background

In many research areas and industrial applications such as material analysis and science, quantum physics, nanophysics, semiconductor devices, there is an increasing demand for apparatuses and methods for effectively measuring small electrical signals in noisy environments .

One known technique for recovering such a signal of interest employs for instance lock-in amplification, which is a particular type of demodulation with specific requirements for the performance of the employed filter. The demodulation is performed on the measured wide-band signal to obtain the amplitude and the phase of the signal of interest at a specific frequency, i.e. narrow-band.

Another known method for recovering a small oscillation in a measured signal tracks the oscillation frequency e.g. by means of a phase-locked loop. Instead of demodulating always at the same frequency, phase- locked loops can track variations in the frequency of the measured signal, which further improves oscillation signal recovery.

Several applications require the measurement of a signal of interest at frequencies that are different from the fundamental frequency (also called center or carrier frequency) of the signal of interest, such as e.g. at the higher harmonics which are given by the fundamental frequency multiplied by an integer factor, or at the sideband frequencies, respectively. The sideband frequencies are defined as frequencies at a defined distance above or below the fundamental frequency. Sideband frequencies typically occur in applications where amplitude and/or frequency modulation techniques are employed. In the following the term "sidebands" is used for the expression "sideband frequencies".

A known method for analyzing sidebands that occur in an amplitude or frequency modulated signal employs an apparatus 100 with two consecutive lock-in amplifiers, the apparatus 100 being depicted in Figure 1. The apparatus 100 comprises a first mixer 102 for wideband demodulation and a second mixer 104 for narrow-band demodulation of a measured input signal 101 with a fundamental frequency f2 and which has been modulated with a modulation frequency fl. The first mixer 102 has as incoming signals the measured input signal 101 and the output signal of a first oscillator 106 that has the frequency f2. In the first mixer 102 the input signal 101 is demodulated with the frequency f2 (wide-band demodulation) . The output signal of the first mixer 101 is then low-pass filtered by a first low-pass filter 103 (LPF) , the output signal of the first low-pass filter 103 having a spread spectrum around the frequency f2. The second mixer 104 has as incoming signals the output signal of the first low-pass filter 103 and the output signal of a second oscillator 107 with the frequency fl. In the second mixer 104 the output signal of the first low-pass filter 103 is demodulated at the frequency fl (narrowband demodulation) . The output signal of the second mixer 104 is low-pass filtered by a second low-pass filter 105 (LPF) . The output signal of the second low-pass filter 105 has the amplitude and the phase of the input signal 101 at the sidebands f2 + fl and f2 - f1.

The known method employed by means of the apparatus 100 is known as spread spectrum demodulation or heterodyning in communication systems. It is also known as dual lock-in method in instrumentation. The term

"spread spectrum demodulation" generally refers to any demodulation method that produces a signal with a spectrum that is much wider than the bandwidth of the signal of interest.

Another known example of an apparatus 200 employing spread spectrum demodulation is depicted in Figure 2. The apparatus 200 comprises a mixer 203 with the input signal 201 and the output signal of an oscillator 202 as incoming signals. The mixer 203 produces as output signal a signal at a so-called intermediate frequency (IF). This signal is then low-pass filtered by a low-pass filter 206 (LPF) and further analyzed by using Fourier- transform-based methods by means of a Fourier-transform- unit 204 (FFT = fast Fourier transform) . The first mixers 103, 203 depicted in Figures 1 and 2 often form part of a phase-locked loop for tracking the carrier/fundamental frequency.

An example of an application where the determination of sidebands is of interest is the analysis of the mechanical oscillation of a cantilever that is employed for surface potential measurements in scanning probe microscopy. For measuring surface potentials a cantilever is usually employed as mechanical oscillator to measure the surface topography as well as the electrostatic potential of a probe at atomic resolution. Typically a phase-looked loop is employed to track a resonance frequency f2 of the cantilever as it scans the surface of the probe. The cantilever is held close to its resonance frequency f2 by means of the phase-locked loop. Both amplitude and frequency modulation techniques are typically employed, i.e. the oscillation of the cantile- ver is amplitude or frequency modulated with a second frequency fl, with f1 < f2. As a consequence of the modulation, sidebands occur at frequencies f2 + fl, f2 - fl and possible other frequencies depending on the modulation method. The amplitudes of these sidebands are then measured to derive the surface potential. The standard method for measuring the amplitudes of the sidebands employs two consecutive lock-in amplifiers to perform a wide-band demodulation at the resonance frequency f2 and after that a narrow-band demodulation at the frequency fl as shown in Figure 1.

The disadvantage of the known methods is that they have two stages, i.e. two lock-in amplifiers or one lock-in amplifier and a Fourier-transform-unit. Hence, quite a lot of resources in form of signal processing units (mixers and filters) are necessary to analyze the input signal at a frequency of interest. Furthermore, with the known methods the amplitude and the phase can only be determined at sidebands in combination, i.e. it is not possible to look at each sideband separately.

Disclosure of the Invention

It is an object of the invention to provide an apparatus and a method for demodulating an especially periodic input signal, that has been amplitude and/or frequency modulated at a specific frequency of interest, which in particular require few signal processing units. It is a further object of the invention to provide an apparatus and a method for demodulating an especially periodic input signal that has been amplitude and/or frequency modulated directly at the specific frequency of interest.

In order to implement these and still further objects of the invention, which will become more readily apparent as the description proceeds, an apparatus for demodulating an input signal is provided that comprises a frequency detector for tracking a frequency, in particular a carrier frequency, of the input signal, an oscillator and a mixer. The input signal and an output signal of the oscillator are the incoming signals of the mixer, the output signal of the mixer being the demodulated input signal. An arithmetic unit is provided downstream the frequency detector and upstream the oscillator. The tracked frequency of the input signal and a predefined second frequency are the incoming signals of the arithmetic unit. The arithmetic unit is designed such that it computes a control signal for the oscillator from the tracked frequency of the input signal and from the predefined second frequency. The output signal of the oscillator depends on the control signal. The output signal of the mixer is preferably filtered by a low-pass filter that is arranged downstream the mixer. The oscillator, the mixer and the optional low-pass filter may form part of a lock-in amplifier with the control signal that is computed by the arithmetic unit forming the reference signal for the lock-in amplifier.

The predefined second frequency is preferably given by the modulation frequency by which the input signal has been previously modulated. The control signal is preferentially a reference frequency for the oscillator, the reference frequency being in arithmetic relation to the tracked frequency of the input signal and to the predefined second frequency. The output signal of the oscillator has then the amplitude and phase at the reference frequency.

If the amplitude and the phase of the input signal at the sideband frequencies are of interest, then the reference frequency is given by the difference and/or the sum of the tracked carrier frequency of the input signal and the predefined second frequency, the predefined second frequency in this case being the modulation frequency. The frequency detector of the apparatus of the invention can comprise a phase detector and/or can be designed as phase-locked loop that tracks a free-running oscillation frequency. The output signals of the frequency detector are, hence, frequencies and/or phase shifts which are in particular represented as e.g. analogue voltage signals in analogue systems or as phase steps in digital systems. The output signals of the frequency detector are related to the physical properties of the system/device from which the measured input signal stems. The frequency detector may be implemented as phase-locked loop that continuously drives the oscillation device under test at resonance in closed-loop mode and that may for example be used for tracking the resonance frequency of a mechanical oscillator.

Furthermore, a method for demodulating an input signal by means of an apparatus according to the invention is provided, the method according to the invention comprising the steps of tracking a frequency (in particular a carrier frequency) of an input signal by means of a frequency detector, computing a control signal from the tracked frequency of the input signal and a predefined second frequency (in particular a modulation frequency of the input signal) by means of an arithmetic unit, generating an output signal of an oscillator from the computed control signal, and demodulating the input signal by mixing it with the output signal of the oscillator by means of a mixer. The demodulated input signal is preferably low-pass filtered.

The apparatus and the method of the invention have the advantage that they require relatively few signal processing units such as mixers and filters for demodulating an input signal at a frequency of interest (e.g. the above-mentioned reference frequency), in particular if implemented in digital circuitry. Moreover, they offer a high flexibility for the generation of the reference frequency used for the demodulation. Further, the apparatus and the method of the invention permit measurements of separated and even asymmetrical sidebands, respectively. Furthermore, the input signal is directly demodulated at the frequency of interest, i.e. there is only one demodulation step instead of two demodulation steps with two cascaded lock-in amplifiers or with one lock-in amplifier and a consecutive Fourier- transform-unit, respectively, as above stated for known apparatuses and methods. With the apparatus and the method of the invention shorter signal processing paths for obtaining the demodulated input signal can thus be achieved, which allows for improved signal quality and requires less resources. The apparatus and the method of the invention are very well suited for digital implementations which avoids in particular drift and matching problems, but they can also be implemented as analogue circuit .

Brief Description of the Drawings

Further advantageous features and applications of the invention can be found in the depending claims as well as in the following description of the drawings illustrating the invention. In the drawings like reference signs designate the same or similar parts throughout the several figures of which:

Figure 1 depicts a schematic representation of an apparatus for demodulating an input signal at its sidebands according to the state of the art,

Figure 2 depicts a schematic representation of a further apparatus for demodulating an input signal at its sidebands according to the state of the art,

Figure 3 depicts a schematic representation of a first embodiment of an apparatus according to the invention, Figure 4 depicts a schematic representation of an exemplary arithmetic unit of an apparatus of the invention,

Figures 5a and 5b depict two exemplary curves illustrating how to choose the predefined second frequency,

Figure 6 depicts a schematic representation of a second embodiment of an apparatus according to the invention,

Figure 7 depicts a schematic representation of a third embodiment of an apparatus according to the invention designed for multi-frequency applications,

Figure 8 depicts a schematic representation of a fourth embodiment of an apparatus of the invention applied in scanning probe microscopy for the analysis of surface potential measurements.

Figures 1 and 2 have already been described in the introductory part of the description and it is referred thereto.

Modes for Carrying out the Invention

Figure 3 shows a first preferred embodiment 300 of an apparatus according to the invention. The apparatus 300 comprises a frequency detector 302 for detecting a frequency f2, in particular a carrier and/or oscillation frequency, in an input signal 306, which may e.g. stem from a transducer or a sensor. If the apparatus 300 is implemented as digital system then an analogue-to- digital converter 301 is employed to convert the analogue input signal to the discrete input signal 306. For demodulating the input signal 306 it is fed to a mixer 305 as incoming signal. Of course. more than one mixer 305 can be used, in particular if the input signal 306 shall be demodulated at several frequencies (confer Figure 7 and description thereof) . The second incoming signal 307 of the mixer

305 that is used for demodulating the input signal 306 is derived from the input signal 306 itself. The second incoming signal 307 of the mixer 305 is also referred to as reference signal. The frequency f2 of the input signal

306 that is detected by the frequency detector 302 is fed to an arithmetic unit 303 as incoming signal. Furthermore, the arithmetic unit 303 receives a predefined second frequency fl. The arithmetic unit 303 then computes a reference frequency f3 as output signal from the

tracked/detected frequency f2 of the input signal 306 and from the predefined second frequency fl by an arithmetic operation. The reference frequency f3 constitutes a control signal for the oscillator 304 of the apparatus 300 and is fed to the oscillator 304. The oscillator 304 generates as output signal the reference signal 307 for the mixer 305, the frequency of the reference signal 307 being given by the reference frequency f3. Hence, the input signal 306 is demodulated at the reference frequency f3 by means of the mixer 305. The demodulated input signal that forms the output of the mixer 305 has the amplitude and the phase of the input signal 306 at the reference frequency f3. Downstream the mixer 305 is preferably provided a low-pass filter 308 (LPF) for low-pass filtering the demodulated input signal.

Figure 4 depicts an exemplary arithmetic unit 303 that performs an arithmetic operation on the tracked frequency f2 of the input signal 306 and on the predefined second frequency fl to generate a control signal f3 for the oscillator 304. The arithmetic operation that the arithmetic unit 303 performs can for example be addition (f2 + fl), subtraction (f2 - fl), multiplication (m-f2, with m being an arbitrary real number) , or division

(l/n'f2, with n being an arbitrary real number), integration over time (Jf2-dt) and differentiation over time (df2/dt), or any combination thereof. In Figure 4 the control signal f3 (here: the reference frequency) is ex- emplarily given by the equation f3 = m*f2 + n-fl, with m and n being arbitrary real numbers.

The frequency f2 of the input signal 306 that is recovered by the frequency detector 302 is for example the carrier frequency of the input signal 306. The predefined second frequency fl is preferably chosen in dependence on the physical system or physical problem, respectively, that is analyzed by means of the apparatus and the method of the invention. The predefined second frequency fl can e.g. be given a constant (i.e. a constant frequency) depending on or given by for example the time constant and/or the damping of the physical system to be analyzed, the physical system for example being a mechanical resonator. The predefined second frequency fl can also be algorithmically generated. The predefined second frequency fl is preferably smaller than the tracked frequency f2 of the input signal.

Figure 5a shows an exemplary resonance curve of a physical system to be analyzed in form of a mechanical oscillator, the resonance curve being exemplarily used for the derivation of the second frequency fl. The resonance frequency of the mechanical oscillator is the tracked frequency f2 of the input signal of the frequency detector 302 of the apparatus 300. The predefined second frequency fl is then chosen very close to the tracked frequency f2, such that while being close to the resonance frequency it still can be distinguished from it. In Figure 5a the difference between the frequencies fl and f2 is denoted Af.

Figure 5b depicts a curve showing the first and the second resonance modes/frequencies of a mechanical oscillator/system to be analyzed. In this case the first resonance frequency represents the frequency f2 that is tracked by the frequency detector 302 of the apparatus 300, whereas the predefined second frequency fl is chosen as the resonance frequency at a higher resonance mode. The predefined second frequency fl may also depend on e.g. the signal bandwidth if the physical system to be analyzed is for example a communication system. The predefined second frequency fl may also be a further frequency of the input signal 306 that has been tracked by a second frequency detector (confer Figure 5b; see Figure 7 for an embodiment of the apparatus of the invention with several frequency detectors) .

Figure 6 shows a second embodiment of an apparatus 400 according to the invention with the arithmetic unit 404 generating a second control signal f . The analogue-to-digital converter 401, the input signal 402, the frequency detector 403, the mixer 408, the oscillator 410, the low-pass filter 411, and the second incoming signal 409 of the mixer 408 of the apparatus 400 basically correspond to the analogue-to-digital converter 301, the input signal 306, the frequency detector 302, the mixer 305, the oscillator 304, the low-pass filter 308, and the second incoming signal 307 of the mixer 305 of the apparatus 300 depicted in Figure 3 and it is referred to the corresponding above description.

The arithmetic unit 404 of the apparatus 400 differs from the arithmetic unit 303 of the apparatus 300 in that the arithmetic unit 404 computes in addition to the control signal f3 a second control signal f4 for a second oscillator 405 from the tracked frequency f2 of the input signal 402 and the predefined second frequency fl. The output signal of the second oscillator 405 depends on the second control signal f4 that in particular is given by a reference frequency such that the output signal of the second oscillator 405 has the reference frequency f4 as frequency. The second oscillator 405 is connectable to a device (not shown) to be tested by the apparatus 400. If the device to be tested is an analogue device, the second oscillator 405 is connected to the device to be tested via a digital-to-analogue converter 407 to drive the device under test, i.e. the output signals of the digital-to-analogue converter 407 are the drive signals for the device under test. A variable gain amplifier 406 is preferably provided downstream the oscillator 405 and upstream the digital-to-analogue converter 407, if the latter is required.

The control signal f4, which is in particular a reference frequency, is derived from the tracked frequency f2 of the input signal 402 and from the predefined second frequency fl similar as the control signal f3. In this respect it is referred to the above description for the control signal f3 in relation with Figure 4. That is the control signal f4 is preferably given by an arbitrary arithmetic function of the tracked frequency f2 of the input signal 402 and of the predefined second frequency fl that is implemented in the arithmetic unit 404. If appropriate for the device to be tested, i.e. for the particular application of the apparatus 400, the control signal f4 may be equal to the tracked frequency f2 of the input signal 402 with a phase-locked loop operation being performed. For the derivation of the control signal f3 for the oscillator 410 it is referred to the above description for the control signal f3.

Figure 7 shows a third embodiment 500 of an apparatus of the invention. With the apparatus 500 several frequencies fdl to fdN of an input signal 520 can be tracked concurrently and the input signal 520 can be demodulated at several frequencies fol to foP that have been computed by an arithmetic unit 504. The frequencies fdl to fdN correspond to the frequency f2 mentioned in conjunction with the previous figures. For tracking the several frequencies fdl to fdN several frequency detectors 502.1 to 502. N are provided, each for tracking one of the frequencies fdl to fdN. The frequency detectors 502.1 to 502. N are routed to analogue-to-digital converters 501 and the input signals, respectively, via a switch matrix 517. Downstream the frequency detectors 502.1 to 502. N the arithmetic unit 504 is arranged. The arithmetic unit 504 has as incoming signals the tracked frequencies fdl to fdN of the input signal 520 and the predefined frequencies fauxl to fauxM, whereby the number N of the tracked frequencies fdl to fdN of the input signal 520 does not necessarily need to be equal to the number M of the predefined frequencies fauxl to fauxM. The predefined frequencies fauxl to fauxM correspond to the predefined frequency f2 mentioned in conjunction with the previous figures. The predefined frequencies fauxl to fauxM can be fixed or variable or can e.g. be computed from a previously derived theoretical model. The principles described in connection with Figures 5a and 5b for choosing the predefined frequency f2 basically apply to the predefined frequencies fauxl to fauxM.

The arithmetic unit 504 computes from the tracked frequencies fdl to fdN of the input signal 520 and from the predefined frequencies fauxl to fauxM control signals fol to foP for a certain number P of oscillators 505, wherein P can be different from N and/or M and each oscillator 505 is assigned one of the control signals fol to foP with the control signals fol to foP being preferably reference frequencies for the output signals of the oscillators 505. The output signal of each oscillator 505 depends on its associated control signal fol,..., foP. There is provided one mixer 507 for the output signal of each oscillator 505, the output signal of the respective oscillator 505 representing the incoming reference signal for the respective mixer 507. The other incoming signal of each mixer 507 is the input signal 520. Thus, for the control signals fol to foP being reference frequencies, the input signals 520 are demodulated at the reference frequencies fol to foP by means of the mixers 507 yielding output signals of the mixers 507 with the amplitude and phase of the input signal 520 at the frequencies fol to foP. Downstream each mixer 507 is preferably a low-pass filter 512 arranged.

As with the embodiment 400 shown in Figure 6, the apparatus 500 is preferably employed to drive devices under test (not shown) , wherein the output signals of the oscillators 505 are used for deriving the drive signals. Downstream the oscillators 505 a set of parallel variable gain amplifiers 509 and, following this, adders 510 are provided for generating weighted sums of the output signals of the oscillators 505. The output signals of the adders 510 then provide via digital-to-analogue converters 511 (if applicable) the drive signals for the devices under test. In such a way several devices can be tested simultaneously.

Figure 8 depicts a fourth embodiment 600 of an apparatus of the invention in conjunction with a mechanical oscillator in form of a cantilever 617, the apparatus 600 being applied in scanning probe microscopy for surface potential measurements. Surface potential microscopy is also called KPFM (Kelvin probe force microscopy) . The surface potential of a sample 618 shall be measured at high spatial resolution. Figure 8 shows the cantilever 617 that forms a part of the non-depicted scanning probe microscope. The cantilever 617 comprises a fine tip 619 with a probe that is moved along the surface of the sample 618 to be scanned. The x-, y-, and z- position (as defined in a three-dimensional Cartesian coordinate system) of the cantilever tip 619 with respect to the sample 618 can be adjusted by the scanning probe microscope in various ways known to a person skilled in the art. The oscillation of the cantilever 617 is measured by a deflection detector 601 and digitized by an analogue-to-digital converter 602 that preferably forms part of the apparatus 600 of the invention.

The apparatus 600 comprises a frequency detector 603 in form of a phase-locked loop that tracks the frequency f2 of the oscillation of the cantilever 617, the digitized oscillation being the input signal to the phase-locked loop 603. The apparatus 600 comprises an arithmetic unit 604 with the tracked frequency f2 of the oscillation of the cantilever 617 and a predefined second frequency fl as incoming signals. As being the case for the tracked frequency f2, the second predefined frequency fl preferentially depends on the physical system to be measured, i.e. in this case on the topography of the surface of the sample 618 and/or on the electrostatic interaction between the tip 619 and the sample 618. It can e.g. be given by the time constant and/or damping ratio of the physical system under investigation. It is referred to the above description of Figures 5a and 5b for further options for choosing the predefined second frequency fl.

The arithmetic unit 604 derives from the tracked frequency f2 of the oscillation of the cantilever 617 and from the second predefined frequency fl the control signals f3 and f4 for the oscillators 605, 606. For this particular application the control signal f3 is given by the sum of the tracked frequency f2 and the second predefined frequency fl, i.e. f3 = f2 + fl, and the control signal f4 is given by the difference between the tracked frequency f2 and the second predefined frequency fl, i.e. f4 = f2 - fl. Thus, the control signals f3 and f4 are reference frequencies representing sideband frequencies of a signal with a fundamental frequency f2 that has been modulated with a modulation frequency fl. The input signal is then directly demodulated at these sideband frequencies f3 and f4 by means of the mixers 608 and 609 yielding output signals of the mixers 608, 609 with the amplitude and phase of the input signal demodulated at the sideband frequency f2 + fl (generated by the mixer 608) and with the amplitude and phase of the input signal demodulated at the sideband frequency f2 - fl (generated by the mixer 609). The output signals of the mixers 608, 609 are preferably low-pass filtered by low-pass filters 607, 610.

The tracked frequency f2 of the input signal is fed back from the arithmetic unit 604 to an oscillator 614 and the output signal of the oscillator 614 is fed via a digital-to-analogue converter 615 to the cantilever 617 used for obtaining the topographic information of the surface of the sample 618. The feedback path relating to the tracked frequency f2 from the arithmetic unit 604 to the cantilever 617 or its tip 619, respectively, is accordingly also called topographic feedback path. The phase-locked loop 603 thus drives the cantilever tip 19 continuously at its resonance/oscillation frequency f2.

The predefined second frequency fl is fed back from the arithmetic unit 604 to a further oscillator 611 and the output signal of the oscillator 611 is then fed to an adder 612 where an output signal of a controller 613, in particular a PID-controller ( Proportional- Integral-Derivative-controller) , is added to the output signal of the oscillator 611. The incoming signals of the controller 613 are given by the output signals of the low-pass filters 607, 610. The output signal of the controller 613 constitutes an offset voltage that depends on the amplitude and phase at the sidebands of the tracked input signal of the oscillation of the cantilever 617. The output signal of the controller 613 thus creates an offset in the output signal of the oscillator 611. The sum of the output signals of the oscillator 611 and the controller 613 is then via a digital-to-analogue converter 616 fed to the sample 618 to measure the electrostatic force between the tip 619 of the cantilever 617 and the sample 618. Thus for measuring the electrostatic force between the tip 619 and the sample 618 the low-pass filtered amplitude and phase of the input signal demodulated at the sideband frequencies f2 + fl and f2 - fl are employed. The feedback path relating to the predefined second frequency fl from the arithmetic unit 604 to the sample 618 is also called surface potential feedback.

A further possible application of the appara tus according to the invention is the tracking of an os ¬ cillator resonance frequency with the frequency detector of the apparatus of the invention being formed as phase- locked loop, while concurrently measuring the harmonic and/or a higher oscillation mode with a lock-in amplifie of which the oscillators, the mixers and possible low- pass filters of the apparatus of the invention form part The frequency tracked by the phase-locked loop constitutes the reference frequency for the lock-in amplifier.

If the apparatus of the invention comprises two frequency detectors in form of phase-locked loops then two oscillation modes may be tracked and driven by the phase-locked loops. Analysis/demodulation at inter- modulation frequencies may be performed with a lock-in amplifier comprising oscillators, mixers and possible low-pass filters.

The presented embodiments 300, 400, 500, 600 of the apparatus of the invention are preferably implemented as digital circuits so that problems with offset and drift can advantageously be avoided which might lead to disturbances in the signal (s) of interest. Of course, implementations as analogue circuits are possible. In a digital implementation all signal processing units such as frequency detectors, arithmetic units, oscillators, mixers, low-pass filters besides the analogue-to-digital converters and the digital-to-analogue converters are preferably implemented using error-free digital numbers. A digital implementation has the further advantage that sine waves can be generated using direct digital synthe ¬ sis (DDS) which incorporates a phase step and a phase ac cumulator, thereby enabling a straightforward implementa tion of arithmetic operations on frequencies.

It is to be understood that while certain em bodiments of the present invention have been illustrated and described herein, it is not to be limited to the specific embodiments described and shown.