Lock-in Amplifier

Overview
The Lock-in Amplifier is a measurement widget that extracts the "Magnitude" and "Phase" of specific frequency components with high precision from weak signals buried in noise. It is used in physical experiments and electronic measurements to dramatically improve the signal-to-noise (S/N) ratio.
While general spectrum analyzers "see all frequencies," the lock-in amplifier "monitors only one frequency pinpointed," which allows it to demonstrate overwhelming noise rejection performance.
Principles of Lock-in Measurement
Phase Sensitive Detection (PSD)
A lock-in amplifier performs measurement by multiplying a基準 wave called a "Reference Signal" with the input signal.
- Input Signal: A signal buried in noise ()
- Reference Signal: Clean waves of the frequency you want to measure ( and )
When these are multiplied and passed through a Low-Pass Filter (LPF), only the components with matching frequencies remain as "Direct Current (DC)," and all other noise and different frequency components are cut as AC. This enables the detection of signals much smaller than the noise floor.
Dual Phase Detection
This widget is a "dual-phase" type that uses two reference signals (Sine and Cosine) simultaneously. This makes it possible to accurately capture the signal magnitude regardless of the phase of the input signal.
- X (In-phase): In-phase component
- Y (Quadrature): Quadrature component
- Magnitude (R): Signal amplitude ()
- Phase (): Signal phase ()
Measurement Modes
Signal Source Mode (Internal / External)
Switch between these via the check boxes in the Settings panel or through physical connections.
-
Internal Mode
- Operation: The widget itself outputs a signal (Sine wave), which is passed through the measurement target, and the returning signal is measured.
- Usage: When you can output the signal yourself, such as for measuring frequency characteristics or impedance of circuits.
- Settings: Start by clicking the
Start Output & Measurebutton. UncheckExternal Mode.
-
External Mode
- Operation: Input both a "Signal" and a "Reference Clock (Ref)" from an external device. The widget automatically locks to (follows) the frequency of the reference input and measures.
- Usage: Experiments using optical choppers or measurements using other oscillators.
- Settings: Check
External Mode (No Output). Input the reference signal into theReference Inputchannel.
Operation Mode (Manual / FRA)
Switching between tabs allows you to choose between fixed-point measurement and sweep measurement.
-
Manual Control
- Continuously monitors a specific single frequency.
- Since numerical values change in real-time, it is suitable for adjustment work and observing time-series changes (similar to a trend graph).
- Harmonic Measurement: Setting
Harmonicto2allows you to extract and measure only the frequency component at twice the fundamental frequency (2nd harmonic).
-
Frequency Response Analyzer (FRA)
- Measures while automatically changing the frequency from
StarttoEnd(frequency sweep). - The results are displayed as a Bode Plot (Magnitude and Phase characteristics).
- Ideal for measuring the bandwidth of filter circuits and amplifiers.
- Measures while automatically changing the frequency from
Key Parameter Descriptions
Important setting items for mastering the lock-in amplifier.
Time Constant and LPF
The performance of a lock-in amplifier is determined by the "strength of the filter."
-
Integration:
- The length of data used for a single measurement.
Fast (2048): Fast response, but lower accuracy for low-frequency measurements.Slow / Very Slow: Slower response, but higher noise rejection capability.
-
Post-mix LPF (Time Constant ):
- A filter that further smooths the signal after detection. Corresponds to the "Time Constant" of analog lock-in amplifiers.
- LPF Time Constant: Increasing this time (e.g.,
1 sor3 s) will stop fluctuations in numerical values and yield extremely stable results, but the response to changes in the signal will be very slow. - Post-mix LPF Order: The number of filter stages (steepness). Usually,
4-pole(24 dB/oct) is sufficient, but it can be increased to8-poleif you want to remove powerful noise.
Averaging
- Count: Averages and displays the specified number of measurement data points. Effective for reducing random noise.
Calibration
This widget provides calibration features to improve the absolute accuracy of measurements.
Absolute Gain Calibration
Adjusts the offset of the displayed Magnitude (voltage) to match an external reference value.
- Use the calibration section in the Settings panel.
- Input a signal with a known level (e.g., 1.0 Vrms sine wave).
- Enter the value in
Targetand select the unit (dBFS, dBV, dBu, Vrms). - Click the
Calibrate Absolute Gainbutton. - The difference between the measured value and the target value is calculated and applied as an offset.
Frequency Response Calibration (Map)
A feature to compensate for the frequency response of the measurement system (attenuation of cables, probes, etc.).
- Save Map: Saves the current frequency sweep result (measured in FRA mode) as calibration data.
- Load Map: Loads saved calibration data.
- Apply Calibration: When checked, the measurement values are corrected in real-time based on the loaded map.
Quick Start Procedures
Example: Measuring the Frequency Characteristics of a Filter Circuit (FRA)
- Wiring:
- Audio interface Output 1 (Left) -> Filter circuit input
- Filter circuit output -> Audio interface Input 1 (Left)
- Settings:
Signal Input: Left (Ch 1)Output Ch: Left (Ch 1) (or Stereo)External Mode: OFFAmplitude: A voltage suitable for the circuit (e.g., -10 dBV)
- FRA Tab:
Start Freq: 20 HzEnd Freq: 20000 HzSteps: 50 (or 100)Log Sweep: ON (frequency response is usually viewed on a log scale)Plot Unit: dBV (or dBFS)
- Execution:
- Click the Start Sweep button.
- The frequency characteristics (Gain and Phase) will be plotted on the graph.
Example: Continuous Monitoring of a Minute Signal (Manual)
- Open the Manual Control tab.
- Set
Frequencyto the frequency you want to measure (e.g., 1 kHz). - Click
Start Output & Measure. - The voltage of that frequency component will be displayed in Magnitude.
- If the values fluctuate, stabilize them by increasing the LPF Time Constant from
0.1sto0.3sto1.0s.