An observation interval of finite duration is not an infinitely sharp frequency selector. Combine the lock-in quadratures into
For unwanted electric potential difference , where is an angular frequency offset and , expansion into complex exponentials gives the exact response
The sinc function formula follows by integrating the exponential function and factoring ; its value at zero follows from a limit. The first term changes slowly after multiplication; the second oscillates at the sum frequency. It vanishes at exact matching when is an integer number of reference cycles, each lasting one period of a function, but cannot generally be discarded in a short-window calculation.
For and many reference cycles, the first term usually dominates: its modulus is and its complex argument includes . Thus gives almost no rejection. A longer observation separates closer frequencies, with the first zeros of this term at . Those zeros are not a brick-wall cutoff: the sinc function has nonzero lobes beyond them. At a synchronized contribution remains however large becomes.
Figure 1.
Lock-in quadratures preserve phase difference; a finite interval limits rejection
. Original calculated geometry and responses, not measurements. Left: , , , ; the dotted vector shows an added synchronized contribution. Right: exact for and equal to four reference cycles, against dimensionless detuning . The dashed curve keeps only the difference-frequency term. Their difference shows why the sum-frequency term matters for a short observation. Details.
For a numerical check, use , , and an unwanted frequency . Then and the exact expression gives
whereas the difference-frequency term alone gives . An interference amplitude therefore contributes to in this constructed example. A nearby frequency can survive strongly even though the three-times-frequency component in lock-in harmonic rejection cancels exactly.
A practical lock-in amplifier's low-pass filter weights past products differently from this rectangular observation interval. Its time constant and roll-off determine near-reference rejection and settling time; narrowing detection slows the response.[ref]
Consider this original constructed input electric potential difference, with in seconds and :
The unwanted component has three times the reference frequency and more than twice the wanted peak amplitude. Nevertheless, the lock-in quadratures over are exactly
so and . This is a peak amplitude calculation, not an SR830 display prediction.
To see why the larger component vanishes, multiply by each reference:
Each sinusoid has zero average value of a function over a whole reference cycle. More generally, a component with integer gives products at and , whose integrals vanish over any integer number of reference cycles. This is the orthogonality behind selecting a Fourier coefficient with sinusoidal references. A nonsinusoidal reference can contain additional frequencies and need not have the same rejection property.
Figure 1.
Lock-in harmonic rejection: multiplication reveals a constant component
. Original calculated waveforms for the declared wanted component and interference; no measured data. Top: input and wanted signal. Middle: products with the two dimensionless references. Bottom: running lock-in quadratures; markers at complete reference cycles equal , . Partial-cycle estimates need not equal those values. Details.
An unwanted component at the reference frequency survives. If is added to the input, its coordinate vector adds to the wanted one:
For example, adding with to the wanted component gives , , , and phase difference . Longer averaging cannot separate these two synchronized contributions.
Lock-in quadratures 2026-10-18
Let the input electric potential difference be , with peak amplitude , angular frequency , and phase difference relative to . For an observation interval containing an integer number of cycles, each lasting one period of a function, , define the lock-in quadratures in a peak convention:
These integrals average the products with dimensionless references and ; and have the input's units. The minus sign makes positive give positive . The trigonometric functions give
The oscillating terms have zero integral over the stated interval, proving and . Their orthogonality turns an oscillating signal into two constant coordinates.
Represent those coordinates as a vector, or as the complex number . Its modulus and complex argument recover the peak amplitude and phase difference:
Here selects the angle with the correct signs of both coordinates, rather than applying the arctangent to and losing the quadrant. When , the amplitude is zero and the phase difference is undefined. When , despite a nonzero signal; measuring prevents this blind spot. Rotating both references by a fixed angle rotates the coordinate vector but preserves .
The factors of two above deliberately recover peak amplitude. The SR830 instead reports the selected sinusoidal component in root mean square units: in a calibrated, zero-offset display, . For this is , while the peak-to-peak span of that component is . Display normalization, reference sign, gain and angle units must be checked for the particular instrument.[ref]