LockIn

From SweepMe! Wiki
Jump to navigation Jump to search

The LockIn module controls lock-in amplifiers. At each measurement point, the driver returns the demodulated signal. Most drivers return the variables Magnitude, Phase, and Frequency, and many also X and Y. The returned variables depend on the driver. Depending on the driver, the oscillator frequency, the time constant, the sensitivity, or another quantity can be varied via the Sweep mode. Available drivers can be found at sweep-me.net/devices.

Usage

The module has two tabs:

  • Setup: driver, port, the Sweep mode and Sweep value, the options of the lock-in amplifier, and the Parameter box with further driver-specific parameters.
  • Sweep values: the Sweep editor to create the values that are applied one after another.

The 'Sweep value' can be taken from the Sweep editor, from a variable of another module, or from the sweep value of a module one level higher. Fields that the selected driver does not support are disabled.

The field "Settling in time constants" tells the driver how long to wait after a new configuration before the values are acquired, given as a multiple of the time constant. Some drivers also accept "Auto" here. Typically, 4 to 5 time constants are needed to acquire values that are related to the new configuration.

Supported parameters

There are string-type keys that can be used in drivers to interact with the GUI of the LockIn module. A field is only enabled if the driver returns its key. Keys that are not listed here are shown as additional parameters in the Parameter box of the module. These keys are listed here:

Channel

A ComboBox to select the channel. It is only shown if the driver returns this key.

Port

A ComboBox to select the communication port.

SweepMode

A ComboBox with the currently selected Sweep mode.

SweepValue

A ComboBox to select the source of the sweep values, e.g. the SweepEditor or the sweep value of another module.

Source

A ComboBox to select the source of the reference signal for frequency and phase, e.g. "Internal" or "External".

OscillatorFrequency (labeled "Oscillator frequency in Hz")

A LineEdit to enter the oscillator frequency in Hz of the internal reference signal. This value only has an effect if the internal reference is selected.

OscillatorAmplitude (labeled "Oscillator amplitude in V")

A LineEdit to enter the amplitude of the internal oscillator in V.

Input

A ComboBox to select the input connector, can be "A", "A-B", "I" and can also be used to select whether a voltage or a current signal is measured.

Coupling

A ComboBox to select the coupling such as "AC" or "DC".

Ground

A ComboBox to select whether the signal is grounded, such as "Float", "Ground".

BiasVoltage (labeled "Bias voltage in V")

A LineEdit to enter a bias voltage in V if supported by the instrument. The field is optional: leave it empty to turn off the bias voltage.

Gain

A ComboBox to choose from typical gain values.

Sensitivity

A ComboBox to choose from typical sensitivity values.

TimeConstant (labeled "Time constant in s")

A ComboBox to choose from typical time constants of the low pass filter.

WaitTimeConstants (labeled "Settling in time constants")

A LineEdit to tell a driver to wait for a multiple of time constants before the measurement values are acquired. Otherwise the measurement is performed immediately, which could lead to old measurement signals that still interfere with newer ones. Typically, one should use 4 to 5 time constants to make sure that the measured signal is related to a new state.

Reserve

A ComboBox to choose the reserve.

Slope

A ComboBox to select the slope with which the signal is attenuated around the reference frequency.

HighPassFilter (labeled "High pass filter")

A ComboBox to choose a high pass filter. Lower frequencies are filtered out.

LowPassFilter (labeled "Low pass filter")

A ComboBox to choose a low pass filter. Higher frequencies are filtered out.

Filter1 (labeled "Filter 1")

A ComboBox to choose a first filter. The driver programmer is free which filter is presented here.

Filter2 (labeled "Filter 2")

A ComboBox to choose a second filter. The driver programmer is free which filter is presented here.

Channel1 (labeled "Output 1")

A ComboBox to select an additional measurement signal or channel that is output and/or displayed.

Channel2 (labeled "Output 2")

A ComboBox to select an additional measurement signal or channel that is output and/or displayed.