Skip to main content
v2026.11,986 entries · CC-BY 4.0

Lock-In Amplifier: How It Works and What X, Y, R Mean

What a lock-in amplifier is, how phase-sensitive detection pulls nanovolt signals from noise, and how to read X, Y, R and phase outputs.

Written and maintained by CASRAI Editorial Board

Published

On this page

Short answer

A lock-in amplifier measures the amplitude and phase of a very small ac signal relative to a periodic reference, rejecting noise at other frequencies. Stanford Research Systems describes measurements down to a few nanovolts, even when noise sources are many thousands of times larger than the signal.

What is a lock-in amplifier?

A lock-in amplifier is an instrument that uses phase-sensitive detection to single out the component of a signal at a specific reference frequency and phase (Stanford Research Systems, Lock-In Amplifier Basics, read 2026-11-12). Zurich Instruments defines lock-in detection in the same terms: measuring a signal’s amplitude and phase relative to a periodic reference. Every lock-in measurement therefore requires a reference signal, supplied either by an external source such as a chopper or function-generator sync output, or by the instrument’s internal oscillator.

How phase-sensitive detection works

The phase-sensitive detector (PSD) multiplies the input by the reference. The product contains sum and difference frequency terms. A low-pass filter removes the ac terms. If the signal frequency equals the reference frequency, the difference term is dc, and the output is Vpsd = ½ Vsig cos(θsig − θref). Noise at other frequencies stays ac and is filtered out; the low-pass filter bandwidth sets the detection bandwidth, so a narrower filter rejects noise closer to the reference frequency, while a wider one lets it through.

Worked example: why a narrow bandwidth matters

SRS works through a 10 nV sine wave at 10 kHz measured with a preamplifier of 5 nV/√Hz noise, 100 kHz bandwidth and gain of 1000:

Approach Signal at output Noise at output Result
Amplifier alone (100 kHz bandwidth) 10 µV 1.6 mV Signal buried
Band-pass filter, Q = 100 (100 Hz bandwidth) 10 µV 50 µV Still unmeasurable
PSD with 0.01 Hz bandwidth 10 µV 0.5 µV Signal-to-noise ratio of 20

Source: SRS Lock-In Amplifier Basics, 7 April 2020.

Reference, time constant and dual-phase outputs

Reference and phase lock

The reference must be phase-locked to the signal. Lock-ins use a phase-locked loop (PLL) to lock an internal oscillator to an external reference.

Time constant and roll-off

Zurich Instruments gives the filter time constant as τ = RC. Each added filter stage adds one to the filter order, and an nth-order filter rolls off at n × 20 dB per decade; higher orders add more phase delay.

X, Y, R and θ

A single-phase output depends on the signal phase. A dual-phase lock-in adds a second PSD at 90°, giving X = Vsig cosθ (in-phase) and Y = Vsig sinθ (quadrature). From these, R = √(X² + Y²) = Vsig is independent of phase, and θ = arctan(Y/X).

Dynamic reserve

Zurich Instruments states that the best instruments reach 120 dB of dynamic reserve, meaning the signal stays measurable amid noise up to a million times larger.

Analog versus digital lock-ins

Analog Digital
Signal path (Zurich Instruments) Voltage-controlled oscillators, mixers and simple RC filters Input converted by an ADC; the remainder is done in a DSP

Where lock-in detection is used

Zurich Instruments lists precision ac voltage and phase meters, noise measurement, impedance spectroscopes, network analyzers, spectrum analyzers and phase detectors in phase-locked loops. Its research examples include imaging molecular bond characteristics and the fractional quantum Hall effect. For a related measurement technique, see the CASRAI guide to impedance spectroscopy; for how the detection limit of a method is defined, see analytical sensitivity; for software-side processing of measured traces, see signal analysis in MATLAB.

Reading a lock-in: checklist

  • Reference source: external (chopper, function-generator sync) or internal oscillator. A reference is always required.
  • Output quantity: X and Y (in-phase and quadrature), or R and θ (magnitude and phase).
  • Units: lock-ins generally display volts RMS (1 V rms is 2.8 V peak-to-peak for a sine wave); phase is in degrees.
  • Time constant and roll-off: they set the detection bandwidth; a narrower bandwidth rejects more noise.
  • Dynamic reserve: how much larger than the signal the noise may be before the measurement is affected.

Common misunderstandings

A lock-in reading does not match the oscilloscope

Sine-wave mixing measures only the single Fourier component at the reference frequency. SRS’s example is a 2 V peak-to-peak square wave, which equals 1.273 sin(ωt) + 0.4244 sin(3ωt) + 0.2546 sin(5ωt) + …. Locked to the fundamental, the lock-in measures only the first component and displays 0.90 V rms (1.273 / √2), not 2 V peak-to-peak as a scope would show.

The reference is optional

It is not: all lock-in measurements require a reference signal, even if the instrument generates it internally.

FAQ

What is a lock in amplifier?

It is an instrument that detects and measures very small ac signals by multiplying the input by a reference of known frequency and phase, then low-pass filtering the result. It reports the amplitude and phase of the component at the reference frequency and rejects noise elsewhere.

Is a lock-in amplifier the same as an ordinary amplifier?

No. An ordinary amplifier raises the level of everything at its input, noise included. The worked example above shows an amplifier alone leaving 10 µV of signal under 1.6 mV of noise, while the PSD with a narrow bandwidth reaches a signal-to-noise ratio of 20.

Sources

  • Stanford Research Systems, Lock-In Amplifier Basics, application note, 7 April 2020: thinksrs.com/downloads/pdfs/applicationnotes/Lock-In Basics.pdf (read 2026-11-12).
  • Zurich Instruments, Principles of lock-in detection: zhinst.com/en/resources/principles-of-lock-in-detection (read 2026-11-12).

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Lock-In Amplifier: How It Works and What X, Y, R Mean

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →