Lock-in amplifier

Last updated
A lock in amplifier uses a multiplier and a low pass filter to compare a reference signal against a noisy signal Lock-In-Amplifier-En.svg
A lock in amplifier uses a multiplier and a low pass filter to compare a reference signal against a noisy signal

A lock-in amplifier is a type of amplifier that can extract a signal with a known carrier wave from an extremely noisy environment. Depending on the dynamic reserve of the instrument, signals up to a million times smaller than noise components, potentially fairly close by in frequency, can still be reliably detected. It is essentially a homodyne detector followed by low-pass filter that is often adjustable in cut-off frequency and filter order.

Contents

The device is often used to measure phase shift, even when the signals are large, have a high signal-to-noise ratio and do not need further improvement.

Recovering signals at low signal-to-noise ratios requires a strong, clean reference signal with the same frequency as the received signal. This is not the case in many experiments, so the instrument can recover signals buried in the noise only in a limited set of circumstances.

Example of a lock-in amplifier Lock-in amplifier-bis.jpg
Example of a lock-in amplifier

The lock-in amplifier is commonly believed to have been invented by Princeton University physicist Robert H. Dicke who founded the company Princeton Applied Research (PAR) to market the product. However, in an interview with Martin Harwit, Dicke claims that even though he is often credited with the invention of the device, he believes that he read about it in a review of scientific equipment written by Walter C. Michels, a professor at Bryn Mawr College. [1] This could have been a 1941 article by Michels and Curtis, [2] which in turn cites a 1934 article by C. R. Cosens, [3] while another timeless article was written by C. A. Stutt in 1949. [4]

Whereas traditional lock-in amplifiers use analog frequency mixers and RC filters for the demodulation, state-of-the-art instruments have both steps implemented by fast digital signal processing, for example, on an FPGA. Usually sine and cosine demodulation is performed simultaneously, which is sometimes also referred to as dual-phase demodulation. This allows the extraction of the in-phase and the quadrature component that can then be transferred into polar coordinates, i.e. amplitude and phase, or further processed as real and imaginary part of a complex number (e.g. for complex FFT analysis).

Basic principles

The operation of a lock-in amplifier relies on the orthogonality of sinusoidal functions. Specifically, when a sinusoidal function of frequency f1 is multiplied by another sinusoidal function of frequency f2 not equal to f1 and integrated over a time much longer than the period of the two functions, the result is zero. If instead f1 is equal to f2 and the two functions are in phase, the average value is equal to half of the product of the amplitudes.

In essence, a lock-in amplifier takes the input signal, multiplies it by the reference signal (either provided from the internal oscillator or an external source, and can be sinusoidal or square wave [5] ), and integrates it over a specified time, usually on the order of milliseconds to a few seconds. The resulting signal is a DC signal, where the contribution from any signal that is not at the same frequency as the reference signal is attenuated close to zero. The out-of-phase component of the signal that has the same frequency as the reference signal is also attenuated (because sine functions are orthogonal to the cosine functions of the same frequency), making a lock-in a phase-sensitive detector.

For a sine reference signal and an input waveform , the DC output signal can be calculated for an analog lock-in amplifier as

where φ is a phase that can be set on the lock-in (set to zero by default).

If the averaging time T is large enough (i.e. much larger than the signal period) to suppress all unwanted parts like noise and the variations at twice the reference frequency, the output is

where is the signal amplitude at the reference frequency, and is the phase difference between the signal and reference.

Many applications of the lock-in amplifier require recovering only the signal amplitude rather than relative phase to the reference signal. For a simple so called single-phase lock-in-amplifier the phase difference is adjusted (usually manually) to zero to get the full signal.

More advanced, so called two-phase lock-in-amplifiers have a second detector, doing the same calculation as before, but with an additional 90° phase shift. Thus one has two outputs: is called the "in-phase" component, and the "quadrature" component. These two quantities represent the signal as a vector relative to the lock-in reference oscillator. By computing the magnitude (R) of the signal vector, the phase dependency is removed:

The phase can be calculated from

Digital lock-in amplifiers

The majority of today's lock-in amplifiers are based on high-performance digital signal processing (DSP). Over the last 20 years, digital lock-in amplifiers have been replacing analog models across the entire frequency range, allowing users to perform measurements up to a frequency of 600 MHz. Initial problems of the first digital lock-in amplifiers, e.g. the presence of digital clock noise on the input connectors, could be completely eliminated by use of improved electronic components and better instrument design. Today's digital lock-in amplifiers outperform analog models in all relevant performance parameters, such as frequency range, input noise, stability and dynamic reserve. In addition to better performance, digital lock-in amplifiers can include multiple demodulators, which allows analyzing a signal with different filter settings or at multiple different frequencies simultaneously. Moreover, experimental data can be analyzed with additional tools such as an oscilloscope, FFT spectrum analyzers, boxcar averager or used to provide feedback by using internal PID controllers. Some models of the digital lock-in amplifiers are computer-controlled and feature a graphical user interface (can be a platform-independent browser user interface) and a choice of programming interfaces.

Signal measurement in noisy environments

Typical experimental setup Lock-in amplifier experimental setup.svg
Typical experimental setup

Signal recovery takes advantage of the fact that noise is often spread over a much wider range of frequencies than the signal. In the simplest case of white noise, even if the root mean square of noise is 103 times as large as the signal to be recovered, if the bandwidth of the measurement instrument can be reduced by a factor much greater than 106 around the signal frequency, then the equipment can be relatively insensitive to the noise. In a typical 100 MHz bandwidth (e.g. an oscilloscope), a bandpass filter with width much narrower than 100 Hz would accomplish this. The averaging time of the lock-in amplifier determines the bandwidth and allows very narrow filters, less than 1 Hz if needed. However, this comes at the price of a slow response to changes in the signal.

In summary, even when noise and signal are indistinguishable in the time domain, if the signal has a definite frequency band and there is no large noise peak within that band, then the noise and signal can be separated sufficiently in the frequency domain.

If the signal is either slowly varying or otherwise constant (essentially a DC signal), then 1/f noise typically overwhelms the signal. It may then be necessary to use external means to modulate the signal. For example, when detecting a small light signal against a bright background, the signal can be modulated either by a chopper wheel, acousto-optical modulator, photoelastic modulator at a large enough frequency so that 1/f noise drops off significantly, and the lock-in amplifier is referenced to the operating frequency of the modulator. In the case of an atomic-force microscope, to achieve nanometer and piconewton resolution, the cantilever position is modulated at a high frequency, to which the lock-in amplifier is again referenced.

When the lock-in technique is applied, care must be taken to calibrate the signal, because lock-in amplifiers generally detect only the root-mean-square signal of the operating frequency. For a sinusoidal modulation, this would introduce a factor of between the lock-in amplifier output and the peak amplitude of the signal, and a different factor for non-sinusoidal modulation.

In the case of nonlinear systems, higher harmonics of the modulation frequency appear. A simple example is the light of a conventional light bulb being modulated at twice the line frequency. Some lock-in amplifiers also allow separate measurements of these higher harmonics.

Furthermore, the response width (effective bandwidth) of detected signal depends on the amplitude of the modulation. Generally, linewidth/modulation function has a monotonically increasing, non-linear behavior.

Applications

An example application of the above signal measurement principles can be found in some nondispersive infrared sensors. Infrared light is band-pass filtered to a region of the frequency spectrum that is predominantly absorbed by some gas of interest. This can then be detected, either by comparing to absorption in a second chamber containing a known reference gas, or by detecting the interaction between IR and gas particles using an acoustic sensor (see photoacoustic spectroscopy). If the signal needs to be amplified, a lock-in amplifier can be used by pulsing the IR source at a known frequency, and then feeding this frequency to the amplifier so only corresponding signals get amplified. [6]

Related Research Articles

<span class="mw-page-title-main">Amplitude modulation</span> Radio modulation via wave amplitude

Amplitude modulation (AM) is a modulation technique used in electronic communication, most commonly for transmitting messages with a radio wave. In amplitude modulation, the amplitude of the wave is varied in proportion to that of the message signal, such as an audio signal. This technique contrasts with angle modulation, in which either the frequency of the carrier wave is varied, as in frequency modulation, or its phase, as in phase modulation.

<span class="mw-page-title-main">Frequency modulation</span> Encoding of information in a carrier wave by varying the instantaneous frequency of the wave

Frequency modulation (FM) is the encoding of information in a carrier wave by varying the instantaneous frequency of the wave. The technology is used in telecommunications, radio broadcasting, signal processing, and computing.

<span class="mw-page-title-main">Frequency modulation synthesis</span> Form of sound synthesis

Frequency modulation synthesis is a form of sound synthesis whereby the frequency of a waveform is changed by modulating its frequency with a modulator. The (instantaneous) frequency of an oscillator is altered in accordance with the amplitude of a modulating signal.

In electronics and telecommunications, modulation is the process of varying one or more properties of a periodic waveform, called the carrier signal, with a separate signal called the modulation signal that typically contains information to be transmitted. For example, the modulation signal might be an audio signal representing sound from a microphone, a video signal representing moving images from a video camera, or a digital signal representing a sequence of binary digits, a bitstream from a computer.

Phase modulation (PM) is a modulation pattern for conditioning communication signals for transmission. It encodes a message signal as variations in the instantaneous phase of a carrier wave. Phase modulation is one of the two principal forms of angle modulation, together with frequency modulation.

<span class="mw-page-title-main">Single-sideband modulation</span> Type of modulation

In radio communications, single-sideband modulation (SSB) or single-sideband suppressed-carrier modulation (SSB-SC) is a type of modulation used to transmit information, such as an audio signal, by radio waves. A refinement of amplitude modulation, it uses transmitter power and bandwidth more efficiently. Amplitude modulation produces an output signal the bandwidth of which is twice the maximum frequency of the original baseband signal. Single-sideband modulation avoids this bandwidth increase, and the power wasted on a carrier, at the cost of increased device complexity and more difficult tuning at the receiver.

A Costas loop is a phase-locked loop (PLL) based circuit which is used for carrier frequency recovery from suppressed-carrier modulation signals and phase modulation signals. It was invented by John P. Costas at General Electric in the 1950s. Its invention was described as having had "a profound effect on modern digital communications". The primary application of Costas loops is in wireless receivers. Its advantage over other PLL-based detectors is that at small deviations the Costas loop error voltage is as compared to . This translates to double the sensitivity and also makes the Costas loop uniquely suited for tracking Doppler-shifted carriers, especially in OFDM and GPS receivers.

Double-sideband suppressed-carrier transmission (DSB-SC) is transmission in which frequencies produced by amplitude modulation (AM) are symmetrically spaced above and below the carrier frequency and the carrier level is reduced to the lowest practical level, ideally being completely suppressed.

<span class="mw-page-title-main">Heterodyne</span> Signal processing technique

A heterodyne is a signal frequency that is created by combining or mixing two other frequencies using a signal processing technique called heterodyning, which was invented by Canadian inventor-engineer Reginald Fessenden. Heterodyning is used to shift signals from one frequency range into another, and is also involved in the processes of modulation and demodulation. The two input frequencies are combined in a nonlinear signal-processing device such as a vacuum tube, transistor, or diode, usually called a mixer.

A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is fixed relative to the phase of an input signal. Keeping the input and output phase in lockstep also implies keeping the input and output frequencies the same, thus a phase-locked loop can also track an input frequency. And by incorporating a frequency divider, a PLL can generate a stable frequency that is a multiple of the input frequency.

Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency carrier wave. The modulation is accomplished by varying the sine and cosine inputs at a precise time. It is widely used for wireless LANs, RFID and Bluetooth communication.

<span class="mw-page-title-main">Pulse-width modulation</span> Representation of a signal as a rectangular wave with varying duty cycle

Pulse-width modulation (PWM), also known as pulse-duration modulation (PDM) or pulse-length modulation (PLM), is any method of representing a signal as a rectangular wave with a varying duty cycle.

A product detector is a type of demodulator used for AM and SSB signals. Rather than converting the envelope of the signal into the decoded waveform like an envelope detector, the product detector takes the product of the modulated signal and a local oscillator, hence the name. A product detector is a frequency mixer.

<span class="mw-page-title-main">Voltage-controlled oscillator</span> Oscillator with frequency controlled by a voltage input

A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillation frequency. Consequently, a VCO can be used for frequency modulation (FM) or phase modulation (PM) by applying a modulating signal to the control input. A VCO is also an integral part of a phase-locked loop. VCOs are used in synthesizers to generate a waveform whose pitch can be adjusted by a voltage determined by a musical keyboard or other input.

In mathematics and signal processing, an analytic signal is a complex-valued function that has no negative frequency components. The real and imaginary parts of an analytic signal are real-valued functions related to each other by the Hilbert transform.

<span class="mw-page-title-main">Phasor</span> Complex number representing a particular sine wave

In physics and engineering, a phasor is a complex number representing a sinusoidal function whose amplitude, and initial phase are time-invariant and whose angular frequency is fixed. It is related to a more general concept called analytic representation, which decomposes a sinusoid into the product of a complex constant and a factor depending on time and frequency. The complex constant, which depends on amplitude and phase, is known as a phasor, or complex amplitude, and sinor or even complexor.

<span class="mw-page-title-main">Pulse-Doppler radar</span> Type of radar system

A pulse-Doppler radar is a radar system that determines the range to a target using pulse-timing techniques, and uses the Doppler effect of the returned signal to determine the target object's velocity. It combines the features of pulse radars and continuous-wave radars, which were formerly separate due to the complexity of the electronics.

<span class="mw-page-title-main">Delta-sigma modulation</span> Method for converting signals between digital and analog

Delta-sigma modulation is an oversampling method for encoding signals into low bit depth digital signals at a very high sample-frequency as part of the process of delta-sigma analog-to-digital converters (ADCs) and digital-to-analog converters (DACs). Delta-sigma modulation achieves high quality by utilizing a negative feedback loop during quantization to the lower bit depth that continuously corrects quantization errors and moves quantization noise to higher frequencies well above the original signal's bandwidth. Subsequent low-pass filtering for demodulation easily removes this high frequency noise and time averages to achieve high accuracy in amplitude which can be ultimately encoded as pulse-code modulation (PCM).

<span class="mw-page-title-main">Piezoresponse force microscopy</span> Microscopy technique for piezoelectric materials

Piezoresponse force microscopy (PFM) is a variant of atomic force microscopy (AFM) that allows imaging and manipulation of piezoelectric/ferroelectric materials domains. This is achieved by bringing a sharp conductive probe into contact with a ferroelectric surface and applying an alternating current (AC) bias to the probe tip in order to excite deformation of the sample through the converse piezoelectric effect (CPE). The resulting deflection of the probe cantilever is detected through standard split photodiode detector methods and then demodulated by use of a lock-in amplifier (LiA). In this way topography and ferroelectric domains can be imaged simultaneously with high resolution.

Self-mixing or back-injection laser interferometry is an interferometric technique in which a part of the light reflected by a vibrating target is reflected into the laser cavity, causing a modulation both in amplitude and in frequency of the emitted optical beam. In this way, the laser becomes sensitive to the distance traveled by the reflected beam thus becoming a distance, speed or vibration sensor. The advantage compared to a traditional measurement system is a lower cost thanks to the absence of collimation optics and external photodiodes.

References

  1. Oral History Transcript — Dr. Robert Dicke.
  2. Michels, W. C.; Curtis, N. L. (1941). "A Pentode Lock-In Amplifier of High Frequency Selectivity". Review of Scientific Instruments. 12 (9): 444. Bibcode:1941RScI...12..444M. doi: 10.1063/1.1769919 .
  3. Cosens, C. R. (1934). "A balance-detector for alternating-current bridges". Proceedings of the Physical Society. 46 (6): 818–823. Bibcode:1934PPS....46..818C. doi:10.1088/0959-5309/46/6/310.
  4. Stutt, C. A. (1949). "Low-frequency spectrum of lock-in amplifiers". MIT Technical Report (MIT) (105): 1–18.
  5. Horowitz and Hill, 1985, the Art of electronics figure 14.35
  6. Vincent, T.A.; Gardner, J.W. (2016-08-24). "A low cost MEMS based NDIR system for the monitoring of carbon dioxide in breath analysis at ppm levels". Sensors and Actuators B: Chemical. 236: 954–964. doi:10.1016/j.snb.2016.04.016.

Publications