NMR Lock In Amplifier

From Physics 111-Lab Wiki

Jump to: navigation, search

All pages in this lab

I. Nuclear Magnetic Resonance

VII. NMR Lock In Amplifier


Contents

CW Appendix III

Part of Lock-In Manual model SRS 830

Lock-in amplifiers are used to detect and measure very small AC signals - all the way down to a few nanovolts! Accurate measurements may be made even when the small signal is obscured by noise sources many thousands of times larger.

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.

Full Manual Lock-in

Why use a lock-in?

Lock-in information Lock-in Amp About a Lock-in Lock-ins

Let's consider an example. Suppose the signal is a 10 nV sine wave at 10 kHz. Clearly some amplifi-cation is required. A good low noise amplifier will have about 5 nV/\sqrt{Hz} of input noise. If the amplifier bandwidth is 100 kHz and the gain is 1000, then we can expect our output to be 10 μV of signal (10 nV x 1000) and 1.6 mV of broadband noise (5nV/\sqrt{Hz} x \sqrt{100} kHz x 1000). We won't have much luck measuring the output signal unless we single out the frequency of interest.

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 band pass filter will be 50 μV (5 nV/\sqrt{Hz} x \sqrt{100} Hz x 1000 ) and the signal will still be 10 μV. The output noise is much greater than the signal and an accurate measurement can not 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/\sqrt{Hz} x \sqrt{.01} Hz x 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.

What is phase-sensitive detection?

Lock-in measurements require a frequency reference. Typically an experiment is excited at a fixed frequency (from an oscillator or function generator) and the lock-in detects the response from the experiment at the reference frequency. In the diagram below, the reference signal is a square wave at frequency (r. This might be the sync output from a function generator. If the sine output from the function generator is used to excite the experiment, the response might be the signal waveform shown below. The signal is

Lock-In Reference

V_{sig}\sin \left (\omega_rt + \theta_{sig} \right) where \!\,V_{sig} is the signal amplitude.

The SR830 generates its own sine wave, shown as the lock-in reference to the right. The lock-in reference is V_L \sin \left( \omega_Lt + \theta_{ref} \right).

The SR830 amplifies the signal and then multiplies it by the lock-in reference using a phase-sensitive detector or multiplier. The output of the PSD is simply the product of two sine waves.

V_{psd} = V_{sig} V_L \sin \left (\omega_rt + \theta_{sig} \right) \sin \left (\omega_Lt + \theta_{ref} \right) \quad = \frac {1}{2} V_{sig} V_L \cos \left ( \left [ \omega_r - \omega_L \right ]t + \theta_{sig} - \theta_{ref} \right) \quad - \frac {1}{2} V_{sig} V_L \cos \left ( \left [ \omega_r + \omega_L \right ]t + \theta_{sig} + \theta_{ref} \right)

The PSD output is two AC signals, one at the difference frequency \left ( \omega_r - \omega_L \right) and the other at the sum frequency \left ( \omega_r + \omega_L \right ).

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 = ωL, the difference frequency component will be a DC signal. In this case, the filtered PSD output will be

V_{psd} = \frac {1}{2} V_{sig} V_L \cos \left ( \theta_{sig} - \theta_{ref} \right )

This is a very nice signal - it is a DC signal proportional to the signal amplitude.

Narrow band detection

Now suppose the input is made up of signal plus noise. The PSD and low pass filter only detect signals whose frequencies are very close to the lock-in reference frequency. Noise signals at frequencies far from the reference are attenuated at the PSD output by the low pass filter (neither \omega_{noise} - \omega_{ref} \quad nor \quad \omega_{noise} + \omega_{ref} are close to DC). Noise at frequencies very close to the reference frequency will result in very low frequency AC outputs from the PSD (| \omega_{noise} - \omega_{ref} | \; is \; small). Their attenuation depends upon the low pass filter bandwidth and roll-off. A narrower bandwidth will remove noise sources very close to the reference frequency, a wider bandwidth allows these signals to pass. The low pass filter bandwidth determines the bandwidth of detection. Only the signal at the reference frequency will result in a true DC output and be unaffected by the low pass filter. This is the signal we want to measure.

Where does the lock-in reference come from?

We need to make the lock-in reference the same as the signal frequency, i.e. ωr = ωL. Not only do the frequencies have to be the same, the phase between the signals can not change with time, otherwise \cos \left (\theta_{sig} - \theta_{ref} \right) will change and Vpsd will not be a DC signal. In other words, the lock-in reference needs to be phase-locked to the signal reference.

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 lock-in. 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.

All lock-in measurements require a reference signal.

In this case, the reference is provided by the excitation source (the function generator). This is called an external reference source. In many situations, the SR830's internal oscillator may be used instead. The internal oscillator is just like a function generator (with variable sine output and a TTL sync) which is always phase-locked to the reference oscillator.

Magnitude and phase

Remember that the PSD output is proportional to Vsigcosθ where \theta = \left ( \theta_{sig} - \theta_{ref} \right ). θ is the phase difference between the signal and the lock-in reference oscillator. By adjusting θref we can make θ equal to zero, in which case we can measure Vsig  \left ( \cos \theta = 1 \right) . Conversely, if θ is 90°, there will be no output at all. A lock-in with a single PSD is called a single-phase lock-in and its output is Vsigcosθ.

This phase dependency can be eliminated by adding a second PSD. If the second PSD multiplies the signal with the reference oscillator shifted by 90°, i.e. V_L \sin \left ( \omega_Lt + \theta_{ref} + 90 \right ), its low pass filtered output will be

V_{psd2} = \frac {1}{2} V_{sig} V_L \sin \left ( \theta_{sig} - \theta_{ref} \right) \sim V_{sig} \sin \theta

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 = Vsigcosθ Y = Vsigsinθ

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 = \left ( X^2 + Y^2 \right )^{1/2} = V_{sig}

R measures the signal amplitude and does not depend upon the phase between the signal and

Lock-in reference.

A dual-phase lock-in, such as the SR830, 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

\theta = \tan^{-1} \left (\frac {Y}{X} \right)

WHAT DOES A LOCK-IN MEASURE?

So what exactly does the SR830 measure? Fourier's theorem basically states that any input signal can be represented as the sum of many, many sine waves of differing amplitudes, frequencies and phases. This is generally considered as representing the signal in the "frequency domain". Normal oscilloscopes display the signal in the "time domain". Except in the case of clean sine waves, the time domain representation does not convey very much information about the various frequencies which make up the signal.

What does the SR830 measure?

The SR830 multiplies the signal by a pure sine wave at the reference frequency. All components of the input signal are multiplied by the reference simultaneously. Mathematically speaking, sine waves of differing frequencies are orthogonal, i.e. the average of the product of two sine waves is zero unless the frequencies are EXACTLY the same. In the SR830, the product of this multiplication yields a DC output signal proportional to the component of the signal whose frequency is exactly locked to the reference frequency. The low pass filter which follows the multiplier provides the averaging which removes the products of the reference with components at all other frequencies.

The SR830, because it multiplies the signal with a pure sine wave, measures 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

\!\, S(t) = 1.273 \sin \left ( \omega t \right ) + 0.4244 \sin \left ( 3 \omega t \right ) + 0.2546 \sin \left (5 \omega t \right) + ...

where \!\, \omega = 2 \pi f . The SR830, locked to 'f' will single out the first component. The measured signal will be 1.273 \ sin \left ( \omega t \right ), 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 frequencies 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 the SR830 displays 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, the SR830 would detect the first sine component,  1.273 \ sin \left ( \omega t \right ). The measured and displayed magnitude would be 0.90 V (rms)  \left ( \frac {1} { \sqrt{2}} \times 1.273 \right ) .

Degrees or Radians?

In this discussion, frequencies have been referred to as f (Hz) and \!\,\omega (\!\,2 \pi f radians/sec). This is because people measure frequencies in cycles per second and math works best in radians. For purposes of measurement, frequencies as measured in a lock-in amplifier are in Hz. The equations used to explain the actual calculations are sometimes written using ( to simplify the expressions.

Phase is always reported in degrees. Once again, this is more by custom than by choice. Equations written as \sin \left ( \omega t+ \theta \right ) are written as if \!\,\theta is in radians mostly for simplicity. Lock-in amplifiers always manipulate and measure phase in degrees.



The Functional SR830


The functional block diagram of the SR830 DSP Lock-In Amplifier is shown below. The functions in the gray area are handled by the digital signal processor (DSP). The DSP aspects of the SR830 are covered in the SR830 manual. They are described as they come up in each functional block description. ( See Section three (3) in the SR 830 Manual)

Personal tools