Project

Lock-in Amplifier Measurement Setup and Noise Rejection Project

Engineering physics project for setting up a lock-in amplifier measurement with reference frequency selection, phase, time constant, equivalent noise bandwidth, coherent artifact tests, uncertainty, and release evidence.

This project creates a defensible lock-in amplifier measurement setup for a weak periodic signal. The deliverable is not only a recovered number. It is a measurement package that proves the signal is coherent with the intended physical reference, the analog front end is not saturated, the bandwidth is appropriate, coherent artifacts are controlled, and the reported result has a documented uncertainty.

The scenario uses a chopped optical measurement, but the same workflow applies to bridge excitation, impedance measurements, resonator readout, magnetic susceptibility, vibration response, biomedical sensors, and low-level electronic measurements that use synchronous detection.

Project Objective

Build a lock-in measurement setup and release dossier that answers:

  1. What physical quantity is modulated or naturally periodic?
  2. What reference frequency and phase convention define the measurement?
  3. Does the sensor and analog front end remain linear before demodulation?
  4. What time constant, filter setting, and equivalent noise bandwidth are used?
  5. How much SNR improvement is expected from bandwidth reduction?
  6. Do in-phase and quadrature data agree with the expected physical signal?
  7. Which reference-off, source-off, phase-sweep, frequency-sweep, and time-constant-sweep checks reject coherent artifacts?
  8. What uncertainty and operating restrictions accompany the released measurement?

Baseline Scenario

A laboratory test fixture measures a weak chopped optical signal from a sample. A photodiode and transimpedance amplifier feed a digital lock-in amplifier. The light source is modulated by a chopper reference.

QuantityValue
reference frequencyf_0=1.20\ \text{kHz}
measured signal peak amplitude at front-end outputA=18.0\ \mu\text{V}
signal phase relative to reference\phi=35^\circ
broadband noise density near measurement bande_n=1.2\ \mu\text{V}/\sqrt{\text{Hz}}
wideband observation bandwidthB_{wide}=1000\ \text{Hz}
selected lock-in time constant\tau=2.0\ \text{s}
first-order equivalent noise bandwidth screenB_{ENBW}\approx 1/(4\tau)
measurement dwell per pointT_{dwell}=12\ \text{s}
ADC sample rate for digital demodulationf_s=48\ \text{kS/s}
analog front-end valid output range-1.0\ \text{V} to +1.0\ \text{V}
measured DC offset at front-end output0.42\ \text{V}
largest observed noncoherent pickup30\ \text{mV peak}
residual coherent output with optical path blocked0.55\ \mu\text{V} at magnitude channel

The target is to release the setup if the recovered amplitude uncertainty is below 10 percent expanded uncertainty with coverage factor k=2, and if artifact checks show the coherent residual is less than 10 percent of the measured signal magnitude.

Measurement Boundary

The measurement boundary includes:

  • the modulated source, chopper or electrical excitation, and reference pickup point;
  • optical path, sample, detector aperture, and detector bias condition;
  • analog front end, shielding, grounding, cables, and anti-alias filtering;
  • digitizer, demodulation convention, low-pass filter, time constant, and averaging;
  • calibration factor from lock-in output to reported physical quantity;
  • validation tests that show the recovered coherent signal is physical.

Anything outside this boundary must be declared as an assumption. Examples include sample drift, optical alignment stability, detector temperature, source intensity drift, and chopper blade phase jitter.

Worked Check 1: Wideband SNR Before Lock-In Detection

The RMS noise over a wide observation bandwidth is approximated as:

e_{n,wide}=e_n\sqrt{B_{wide}}

Substitute the data:

e_{n,wide}=1.2\sqrt{1000}=37.9\ \mu\text{V RMS}

A simple amplitude-to-noise screen is:

\displaystyle SNR_{wide}\approx \frac{A}{e_{n,wide}}=\frac{18.0}{37.9}=0.475

The signal is smaller than the broadband noise displayed over the wide measurement bandwidth.

Engineering comment: this does not mean the signal is absent. It means the measurement must avoid judging a coherent periodic signal using a bandwidth that includes much more uncorrelated noise than the final result will use.

Worked Check 2: Lock-In Components and Recovered Amplitude

For the peak-amplitude convention used here:

\displaystyle X=\frac{A}{2}\cos(\phi)
\displaystyle Y=\frac{A}{2}\sin(\phi)

With A=18.0\ \mu\text{V} and \phi=35^\circ:

\displaystyle X=\frac{18.0}{2}\cos(35^\circ)=7.37\ \mu\text{V}
\displaystyle Y=\frac{18.0}{2}\sin(35^\circ)=5.16\ \mu\text{V}

The lock-in magnitude channel is:

R=\sqrt{X^2+Y^2}
R=\sqrt{7.37^2+5.16^2}=9.00\ \mu\text{V}

The recovered peak amplitude is:

A_{rec}=2R=18.0\ \mu\text{V}

Engineering comment: using both X and Y avoids under-reading when the phase is not exactly zero. The report must still state the sign convention, reference phase, scaling convention, and whether the instrument reports peak, RMS, or magnitude.

Worked Check 3: Equivalent Noise Bandwidth and Demodulated SNR

For a first-order low-pass screen:

\displaystyle B_{ENBW}\approx \frac{1}{4\tau}

With \tau=2.0\ \text{s}:

\displaystyle B_{ENBW}\approx \frac{1}{4(2.0)}=0.125\ \text{Hz}

The demodulated RMS noise scale is:

e_{n,lockin}=e_n\sqrt{B_{ENBW}}
e_{n,lockin}=1.2\sqrt{0.125}=0.424\ \mu\text{V RMS}

Using the magnitude channel R=9.00\ \mu\text{V}:

\displaystyle SNR_{lockin}\approx \frac{R}{e_{n,lockin}}=\frac{9.00}{0.424}=21.2

The SNR improvement compared with the wideband screen is large because the effective bandwidth was narrowed from 1000\ \text{Hz} to about 0.125\ \text{Hz}.

Engineering comment: this is not a universal guarantee. The equivalent noise bandwidth depends on filter order and implementation. The setup sheet must record the instrument setting, filter roll-off, digital averaging rule, and settling policy.

Worked Check 4: Settling Time and Dwell

A first-order output is commonly treated as settled for many engineering screens after about five time constants:

T_{settle}\approx 5\tau
T_{settle}=5(2.0)=10.0\ \text{s}

The measurement dwell is:

T_{dwell}=12\ \text{s}

Since 12\ \text{s}>10\ \text{s}, the dwell is acceptable for this first-order screen.

Engineering comment: a shorter dwell would make the display look stable before it is physically settled. If the filter order is higher, if overload recovery occurred, or if the source was moved immediately before acquisition, the required settling rule may be longer.

Worked Check 5: Sampling and Aliasing Margin

The digital demodulator samples at:

f_s=48\ \text{kS/s}

The reference frequency is:

f_0=1.20\ \text{kHz}

Samples per reference period are:

\displaystyle N_p=\frac{f_s}{f_0}=\frac{48000}{1200}=40

This gives adequate timing resolution for a basic digital lock-in implementation.

Engineering comment: this does not replace an anti-alias check. The analog front end and digitizer must still reject high-frequency content that could fold into the demodulated band. A clean FFT before demodulation is useful evidence when switching supplies, motors, LEDs, choppers, or RF sources are nearby.

Worked Check 6: Front-End Headroom Before Demodulation

The front-end output includes a DC offset:

V_{DC}=0.42\ \text{V}

and a largest observed noncoherent pickup:

V_{pickup}=30\ \text{mV peak}=0.030\ \text{V peak}

The approximate positive peak is:

V_{peak,+}=0.42+0.030=0.450\ \text{V}

This is inside the valid range of -1.0\ \text{V} to +1.0\ \text{V}.

Engineering comment: the weak coherent signal cannot be recovered if the analog input clips before demodulation. Background subtraction and lock-in processing are not cures for saturation. A front-end headroom screenshot, overload flag record, or oscilloscope capture should be part of the release evidence.

Worked Check 7: Coherent Artifact Residual

With the optical path blocked and the reference electronics still active, the residual lock-in magnitude is:

R_{blocked}=0.55\ \mu\text{V}

The measured signal magnitude is:

R_{signal}=9.00\ \mu\text{V}

Residual fraction:

\displaystyle f_{artifact}=\frac{R_{blocked}}{R_{signal}}=\frac{0.55}{9.00}=0.061=6.1\%

The residual is below the 10 percent screen, so the setup passes this artifact check.

Engineering comment: this is one of the most important tests. A reference-synchronous electrical, optical, thermal, or mechanical leak can create a convincing lock-in output even when the physical signal path is blocked. The artifact test must leave reference electronics running while disabling only the intended physical signal.

Worked Check 8: Uncertainty Budget for Released Amplitude

The released amplitude is:

A_{rec}=18.0\ \mu\text{V}

The random standard uncertainty of one amplitude estimate is approximated from the magnitude-channel noise:

u_{A,noise}\approx 2e_{n,lockin}=2(0.424)=0.848\ \mu\text{V}

Relative to amplitude:

\displaystyle u_{r,noise}=\frac{0.848}{18.0}=4.71\%

The project averages four independent settled readings, so the random contribution is reduced by:

\displaystyle u_{r,repeat}=\frac{4.71\%}{\sqrt{4}}=2.36\%

Use the following standard relative uncertainty contributions:

SourceStandard relative uncertainty
calibration source amplitude2.0 percent
lock-in scale factor and gain1.0 percent
repeatability after four settled readings2.36 percent
residual coherent artifact correction0.7 percent
phase and magnitude convention0.5 percent
temperature and alignment drift during run1.0 percent

Combined standard relative uncertainty:

u_c=\sqrt{2.0^2+1.0^2+2.36^2+0.7^2+0.5^2+1.0^2}
u_c=3.35\%

Expanded uncertainty with k=2:

U=2u_c=6.70\%

The target is 10 percent expanded uncertainty, so the measurement passes the uncertainty screen.

Engineering comment: the uncertainty is valid only for the stated setup, dwell, bandwidth, source level, reference configuration, and environment. If the time constant changes, if the source amplitude changes, or if artifact residual increases, the uncertainty budget must be updated.

Validation Matrix

CheckAcceptance evidenceResult
reference frequency1.20\ \text{kHz} selected away from dominant interference and within sensor bandwidthpass
phase conventionX, Y, magnitude, scaling, and sign convention recordedpass when documented
front-end headroomoutput remains between -1.0\ \text{V} and +1.0\ \text{V} with source on and blockedpass
equivalent noise bandwidth\tau=2.0\ \text{s} gives B_{ENBW}\approx0.125\ \text{Hz} screenpass
settling12\ \text{s} dwell exceeds 5\tau=10\ \text{s}pass
artifact residualblocked-path coherent residual is 6.1 percent of signal magnitudepass
phase sweepX and Y rotate while magnitude remains stable within stated tolerancerequired evidence
time-constant sweepamplitude remains consistent while noise decreases with narrower bandwidthrequired evidence
frequency sweeprecovered response follows expected sample and front-end frequency responserequired evidence
uncertaintyexpanded uncertainty is 6.70 percent against 10 percent targetpass

Required Plots and Records

The release package should include:

  • wiring and optical layout with reference pickup point marked;
  • raw time record or oscilloscope capture showing no front-end clipping;
  • FFT or spectral record before demodulation;
  • X, Y, R, and phase trend during settling;
  • time-constant sweep showing amplitude consistency and noise reduction;
  • phase sweep showing rotation of X and Y without magnitude collapse;
  • blocked-path, source-off, and reference-off records;
  • uncertainty budget and calibration traceability;
  • release limits for reference frequency, time constant, dwell, source level, detector bias, cable routing, shielding, and environmental conditions.

Common Failure Modes

  • the input clips before demodulation, so the lock-in output is precise-looking but invalid;
  • the reference leaks electrically into the sensor cable;
  • the chopper or source modulation heats the sample and creates a delayed thermal artifact;
  • the time constant is long enough for low noise but too slow for the measurand being tracked;
  • the setup reports only X, causing phase error to look like lower amplitude;
  • a mains harmonic or switching supply lands near the reference frequency;
  • a digital demodulator aliases high-frequency interference into the low-pass output;
  • the blocked-path test disables the reference as well as the physical signal, hiding pickup;
  • uncertainty is copied from instrument specifications without including setup repeatability and coherent residuals.

Release Decision

The setup can be released for the stated weak-signal measurement if the front end remains linear, the reference frequency is documented, the time constant and dwell satisfy the settling rule, the blocked-path coherent residual remains below 10 percent of signal magnitude, and the expanded uncertainty remains below 10 percent for the intended amplitude range.

The release is conditional. It does not cover different reference frequencies, shorter dwell, stronger background, different optical alignment, changed cable routing, or measurements where the sample response has a time dependence comparable to the lock-in filter time constant. A lock-in amplifier is powerful because it asks a narrow correlation question. It is trustworthy only when the engineer proves that the correlation belongs to the intended physical signal.

REF

See also