Lock-In Basics
Lock-In Basics
____________________________________________________________________________________________________________________________________________________________
Lock-in amplifiers use a technique known as phase-sensitive detection to single out the
component of the signal at a specific reference frequency and phase. Noise signals at
frequencies other than the reference frequency are rejected and do not affect the
measurement.
If we follow the amplifier with a band pass filter with a Q=100 (a very good filter) centered at
10 kHz, any signal in a 100 Hz bandwidth will be detected (10 kHz/Q). The noise in the filter pass
band will be 50 μV (5 nV/√Hz × √100 Hz × 1000) and the signal will still be 10 μV. The output
noise is still much greater than the signal and an accurate measurement cannot be made.
Further gain will not help the signal to noise problem.
Now try following the amplifier with a phase-sensitive detector (PSD). The PSD can detect the
signal at 10 kHz with a bandwidth as narrow as 0.01 Hz! In this case, the noise in the detection
bandwidth will be only 0.5 μV (5 nV/√Hz × √.01 Hz × 1000) while the signal is still 10 µV. The
signal to noise ratio is now 20 and an accurate measurement of the signal is possible.
Most lock-in amplifiers have a built-in source and can generate their own sine wave at
frequency fL (see Lock-In Ref below). The lock-in reference is sin(ωLt + θref) where ωL = 2πfL.
External Reference
θ sig
Signal
Lock-In Ref
θref
The lock-in amplifies the input signal and then multiplies it by the reference signal using a
phase-sensitive detector (PSD) or multiplier. The output of the PSD is simply the product of two
sine waves.
= 1/2 Vsig cos([ωr − ωL]t + [θsig − θref]) − 1/2 Vsig cos([ωr + ωL]t + [θsig + θref])
The PSD output is two ac signals, one at the difference frequency (ωr − ωL) and the other at the
sum frequency (ωr + ωL).
If the PSD output is passed through a low pass filter, the ac signals are removed. What will be
left? In the general case, nothing. However, if ωr equals ωL, the difference frequency
component will be a dc signal. In this case, the filtered PSD output will be
____________________________________________________________________________________________________________________________________________________________
Lock-in amplifiers use a phase-locked loop (PLL) to generate the reference signal. An external
reference signal (in this case, the reference square wave) is provided to the lockin. The PLL in
the lock-in “locks” the internal reference oscillator to this external reference, resulting in a
reference sine wave at ωr with a fixed phase shift of θref. Since the PLL actively tracks the
external reference, changes in the external reference frequency do not affect the
measurement.
____________________________________________________________________________________________________________________________________________________________
Now we have two outputs, one proportional to cosθ and the other proportional to sinθ. If we
call the first output X and the second Y,
X = Vsig cosθ
Y = Vsig sinθ
these two quantities represent the signal as a vector relative to the lock-in reference oscillator.
X is called the 'in-phase' component and Y the 'quadrature' component. This is because when
θ = 0, X measures the signal while Y is zero.
By computing the magnitude (R) of the signal vector, the phase dependency is removed.
R measures the signal amplitude and does not depend upon the phase between the signal and
lock-in reference.
A dual-phase lock-in has two PSD's, with reference oscillators 90° apart, and can measure X, Y
and R directly. In addition, the phase θ between the signal and lock-in reference, can be
measured according to
θ = tan−1 (Y/X)
Because most SRS lock-in amplifiers multiply the input signal with a pure sine wave, they
measure the single Fourier (sine) component of the signal at the reference frequency. Let's take
a look at an example. Suppose the input signal is a simple square wave at frequency f. The
square wave is actually composed of many sine waves at multiples of f with carefully related
amplitudes and phases. A 2V pk–pk square wave can be expressed as
where ω = 2πf. The lock-in, locked to f, will single out the first component. The measured signal
will be 1.273 sin(ωt), not the 2V pk–pk that you'd measure on a scope.
In the general case, the input consists of signal plus noise. Noise is represented as varying
signals at all frequencies. The ideal lock-in only responds to noise at the reference frequency.
Noise at other frequencies is removed by the low pass filter following the multiplier. This
“bandwidth narrowing” is the primary advantage that a lock-in amplifier provides. Only inputs
at the reference frequency result in an output.
RMS or Peak?
Lock-in amplifiers as a general rule display the input signal in Volts RMS. When SRS lock-in
amplifiers display a magnitude of 1V (rms), the component of the input signal at the reference
frequency is a sine wave with an amplitude of 1 Vrms or 2.8 V pk–pk.
Thus, in the previous example with a 2 V pk–pk square wave input, SRS lock-ins would detect
the first sine component, 1.273 sin(ωt). The measured and displayed magnitude would be 0.90
V (rms), e.g. 1.273/√2.
Degrees or Radians?
In this discussion, frequencies have been referred to as f (Hz) and ω (2πf radians/sec). This is
because people measure frequencies in cycles per second and math works best in radians. For
____________________________________________________________________________________________________________________________________________________________
Phase is always reported in degrees. Once again, this is by custom. Equations written as sin(ωt +
θ) are written as if θ is in radians mostly for simplicity. Lock-in amplifiers always manipulate and
measure phase in degrees.
Block Diagram
A simplified block diagram of a lock-in amplifier is shown below.
____________________________________________________________________________________________________________________________________________________________