Measurement and Units

Lock-In Amplifiers: Recovering a Faint Signal at a Known Frequency

See how multiplying by a reference and filtering lets a lock-in amplifier pull a tiny signal out of far larger noise.

Key takeaways

  • The experiment must be modulated, meaning switched or varied at a known frequency, so the wanted signal carries that label.
  • Multiplying by a matching reference turns the wanted signal into a steady value and shifts most other content to nonzero frequencies.
  • A low-pass filter then keeps the steady part, and a longer time constant means less noise but slower response.
  • Measuring with two references a quarter cycle apart gives both the size and the phase of the signal.
  • A lock-in cannot reject interference or background that is synchronized with the reference.

A lock-in amplifier finds a weak signal by knowing in advance exactly where to look. You arrange for the effect you care about to oscillate at a frequency you choose. The instrument multiplies everything that arrives by a reference wave at that same frequency, then averages. Your signal survives the averaging, while noise at other frequencies largely cancels.

The method can recover signals that are hundreds or thousands of times smaller than the noise around them. It appears in optics, materials physics, electrochemistry and many other fields.

The problem of a buried signal

Imagine measuring the tiny fraction of light that a thin film absorbs, using a detector in an ordinary room. Lamps flicker, the electronics drift and the output wanders by more than the change you want. Amplifying everything enlarges the noise along with the signal.

Much electronic noise is strongest at very low frequencies, a behavior often called one-over-f noise, and slow drift belongs to the same trouble. A steady measurement sits right in that region. Also, mains power adds interference at 50 or 60 Hz and its multiples.

The way out is to move your signal somewhere quiet. In the absorption example, a spinning slotted wheel, called a chopper, interrupts the beam perhaps several hundred times per second. Only the light of interest now pulses at that rate. Choose a frequency away from mains harmonics.

Multiply, then average

The core operation relies on a trigonometric identity. Let the signal be V sin(ωt + φ) and the reference be sin(ωt), where ω is angular frequency and φ is the phase difference between them.

V sin(ωt + φ) × sin(ωt)
  = (V/2) cos φ  −  (V/2) cos(2ωt + φ)
        steady          oscillates at twice the frequency

after a low-pass filter:  output = (V/2) cos φ

Now consider interference at a different angular frequency ω₁. The product contains only components at the difference ω₁ − ω and the sum ω₁ + ω. Neither is steady, so a filter that passes only very slow changes removes them. Only content very close to the reference frequency produces a slowly varying output.

The lock-in signal path
1 Modulate Switch the experiment at a set rate 2 Preamplify Boost the weak input and noise 3 Multiply Combine with the reference wave 4 Low-pass Keep only slowly changing output 5 Report Show amplitude and phase Modulate Switch the experiment at a set rate 1 Preamplify Boost the weak input and noise 2 Multiply Combine with the reference wave 3 Low-pass Keep only slowly changing output 4 Report Show amplitude and phase 5

Two outputs: X, Y, R and phase

One multiplication gives an answer that depends on cos φ. If the signal lagged by a quarter cycle, cos φ would be zero and you would see nothing. So the instrument also multiplies by a second reference shifted by 90 degrees.

After scaling, the two outputs are X = A cos φ and Y = A sin φ, where A is the signal amplitude. Many instruments state A as an rms value.

A = 10 units, φ = 60°
X = 10 × cos 60° = 5.00
Y = 10 × sin 60° ≈ 8.66

R = √(X² + Y²) = √(25 + 75) = 10.0
φ = angle with cos φ = X/R and sin φ = Y/R = 60°

The magnitude R does not depend on the phase, and the phase itself is often physically interesting. A delay in a response, such as a slow thermal effect, appears as a shift in φ.

How narrow the window is

The low-pass filter has a time constant τ, roughly how long it takes to respond. A longer τ averages over more cycles and accepts a narrower band of frequencies around the reference. For a simple one-stage filter, the equivalent noise bandwidth is 1 / (4τ).

Here is an illustrative case. Suppose the signal is 10 nV and the amplifier noise is 5 nV per square root of hertz, spread evenly across frequency. Noise grows with the square root of bandwidth.

Measurement bandwidth Noise (rms) Signal to noise
100,000 Hz about 1,580 nV about 0.006
0.25 Hz (τ = 1 s) 2.5 nV 4

The signal went from invisible to clear without being made any larger. The improvement factor is √(100,000 / 0.25), about 630. This is a sharper version of the idea behind averaging a noisy measurement.

The price of patience

A narrow filter reacts slowly. With a single stage, after a sudden change the output closes in on the new value exponentially, and it takes about five time constants to come within one percent. If you step a wavelength or a voltage and read too soon, each point carries a memory of the last one.

Instruments offer steeper filters with several stages. They reject nearby interference better and need even more settling time. When you scan, set the scan rate so that the quantity changes little during the filter's response. Scanning once forward and once backward is a good test: if the two curves are offset, you are going too fast.

A tabletop picture of the idea

You can see the logic with a spreadsheet and no hardware. Make a column of times. In a second column, build a small sine wave at 10 Hz with amplitude 1. In a third, add random noise several times larger. Add the two to make your "measurement."

When you plot it, the sine wave is hard or impossible to see. Now make a reference column, a sine at 10 Hz with amplitude 1, multiply it row by row with the measurement and average the products over many cycles. The average settles near 0.5, which is half the signal amplitude times the reference amplitude, just as the identity predicts. Double it to recover the amplitude.

Try three variations:

  • Average over fewer rows and watch the answer scatter more widely from run to run.
  • Change the reference to 11 Hz and average over a long stretch. The result heads toward zero.
  • Replace the reference with a cosine. The result is again near zero, because the two are a quarter cycle apart.

Each variation corresponds to a front-panel choice: time constant, reference frequency and phase. Repeating the whole calculation with fresh random numbers also gives you a spread, which is an honest estimate of the uncertainty.

Choosing a modulation method

Switching a light beam is only one option. What you modulate decides what you measure.

What you vary What the output follows A thing to watch
Light intensity, with a chopper The response caused by that light Heating that follows the same rhythm
Drive voltage or current The device's response to the drive Direct electrical leakage into the input
Wavelength or magnetic field, by a small amount Roughly the slope of the underlying curve Too large a swing blurs sharp features
Position of a probe How the signal changes with distance Mechanical resonances

The third row is widely used. When you wiggle a setting slightly and detect at the wiggle frequency, the output is close to the derivative of the original curve. A broad background that changes slowly nearly vanishes, and a narrow peak turns into a shape that crosses zero at its center. That zero crossing is a convenient target for a feedback loop that holds a laser on an atomic line.

Detecting at twice the modulation frequency picks out the curvature instead.

Setting up well

  1. Pick a modulation frequency in a quiet region, away from mains frequency and its harmonics.
  2. Take the reference directly from whatever does the modulating, such as the chopper's own sensor.
  3. Set the input range so that noise peaks do not overload the early stages.
  4. Adjust the phase, or record both X and Y.
  5. Choose the time constant, wait for settling and only then record.
  6. Block the true signal and confirm that the reading falls close to zero.

The last step matters most. The ratio of tolerable noise to full-scale signal is called dynamic reserve. Exceed it and the front end saturates, giving results that look calm but are wrong.

What it cannot fix

A lock-in accepts anything at the reference frequency and in step with it. If the cable that drives your modulator leaks into the detector wiring, the leakage passes straight through. If a chopper makes a background lamp or a warm surface flicker, that is measured too.

Shielding, separated cables, sensible grounding and the blocked-signal test reveal these false signals. A stable offset is still an error, however precise the digits appear.

The method also needs something you can modulate. A one-time event cannot be switched on and off on command, so it calls for other tools, such as a triggered oscilloscope.

Where the idea shows up

Robert Dicke's microwave radiometer of the 1940s used rapid switching between the sky and a reference load, followed by synchronous detection, to beat gain drift. Radio engineers call a related technique synchronous or homodyne detection, and radio receivers use the same multiplication to shift signals to convenient frequencies.

In the laboratory, lock-ins measure tiny resistances without heating samples, weak optical changes, and the small motions of probes in scanning microscopes. Interferometers often use modulation in a similar spirit. Today the multiplication and filtering are frequently done digitally, but the logic is unchanged.

Common questions

Is this the same as a very narrow filter?

It behaves like one centered on the reference. The advantage is that the center follows the reference automatically, and a stable ordinary filter with so narrow a width would be very hard to build.

Can software do it after the fact?

Yes, if you recorded the raw signal and the reference together without clipping, at a high enough sampling rate. You multiply and average the stored numbers.

Written for 4Sciences with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 51 articles in Measurement and Units →

Latest news on this topic