LCRmeter
The LCRmeter module controls impedance meters (LCR meters) to measure the impedance of a sample, e.g. capacitance-voltage (CV) or capacitance-frequency (Cf) curves. The driver returns the real part R and the imaginary part X of the impedance, and the module can calculate further values such as |Z|, the phase, or capacitances from them (see Post processing). Available drivers can be found at sweep-me.net/devices.
Usage
The module has two tabs:
- Setup: driver, port, Sweep and Step mode, the measurement options, the Parameter box, the List sweep fields, and the Post processing selection.
- Sweep values: the Sweep editor to create the values that are applied one after another.
Fields that the selected driver does not support are disabled.
Sweep mode vs. Step mode
The LCRmeter provides two modes to vary and apply parameters. The Sweep mode is similar to the Sweep mode that can be found in many other modules. For a capacitance-voltage (CV) curve one would use a voltage bias as Sweep mode, while a capacitance-frequency (Cf) curve is obtained by using the frequency as Sweep mode. The options depend on the driver, e.g. "Voltage bias in V" or "Frequency in Hz". The Sweep values that are successively applied to the sample are typically created via the Sweep editor in the tab "Sweep values". As 'Sweep value', you can also select a variable of another module or the sweep value of a module one level higher.
The Step mode, depending on the driver, can be used to create a further parameter variation. For example, capacitance-frequency curves are often measured at different bias voltages. Thus, one would change Step mode to the voltage bias. The Step values, however, cannot be created by the internal Sweep editor of the LCRmeter module. For that reason, one can add a module named Sweep to the sequencer just one level higher than the LCRmeter module. Now, the values defined in that module can be handed over to the LCRmeter module by selecting "Sweep value of <label of the module>" as 'Step value'. Why is that so? By having different origins for the values for Sweep value and Step value, one can create a sequencer procedure where MakeFile is embedded in such a way that a new file is created for each step, but not for each sweep.
Options
The section "Options" contains the settings of the small signal analysis:
- Voltage bias in V or Current bias in A: the offset bias around which the small signal analysis is done.
- Frequency in Hz: the frequency of the small signal if the frequency is not varied.
- Voltage RMS in V or Current RMS in A: the amplitude of the small signal as RMS value. It should be large enough to get a good response of the sample, but small enough to still get a linear response.
- Operating mode: whether the instrument returns the real and imaginary part of the impedance or other quantities. Select "R-X" to use the post processing of the module.
- Integration, Average, and Range: the measurement speed, the number of averages, and the current measurement range.
- Trigger and Trigger delay in s: an external trigger input of the instrument, if available.
- ALC: Automatic Level Control.
- External bias: use an external bias source if the instrument supports it.
Further driver-specific parameters are shown in the Parameter box below the options.
List sweep
Some instruments can run a complete sweep internally at each measurement point. If the driver supports this, the check box "List sweep" can be expanded and "List sweep" is available as 'Sweep value'. Select "List sweep" as 'Sweep value' to use these fields:
- Type: "Sweep" to define a sweep by start and end value, or "Custom" to enter a comma-separated list of values in Custom values.
- Start value, End value, the step width or number of points, and dual sweep to add the returning sweep from end to start value.
- Hold time in s and Delay time in s: timing of each point of the list sweep as defined by the driver. They have no relation to the Hold time used by SweepMe!.
In contrast to a single point measurement, the module then returns a complete list of values at each measurement point.
Post processing
The module can automatically calculate several important values based on R, X, and f. The values to be calculated are selected with the check boxes in section "Post processing" of the module. By default, |Z|, the phase in degree, and Cp are selected. The calculated values are appended to the variables that are returned by the driver.
Post processing requires a driver that returns "R", "X", and "Frequency" as the first three variables, typically with Operating mode "R-X". Otherwise, the run is stopped with a message. Unselect all post processing values to use other operating modes.
Please note that you can always check the correct calculation by doing it on your own to scientifically verify the results, e.g. by using a Calc module. The formulas used are given below, with ω = 2 * math.pi * f.
Basic values
These values can be calculated independent from any circuit or other assumptions.
Modulus Z in V/A
Check box "|Z|", variable "Modulus Z":
|Z| = (R**2 + X**2)**0.5
Phase in degree
Check box "ϕ in °", variable "Phase" in deg:
ϕ = math.atan(X/R) * 180 / math.pi
Phase in rad
Check box "ϕ in rad", variable "Phase" in rad:
ϕ = math.atan(X/R)
Angular frequency in rad/s
Check box "ω in 1/s", variable "Angular frequency":
ω = 2 * math.pi * f
Parallel circuit
These values can be calculated by assuming that a capacitor with Cp and a resistor with Rp are connected in parallel. In case of an inductor with Lp, it is a parallel connection of Lp and Rp.
Parallel capacitance Cp in F
Cp = -X / (ω * |Z|**2)
Parallel resistance Rp in V/A
Rp = R * (1 + (X/R)**2)
Parallel conductance Gp in A/V
Gp = 1 / Rp
Parallel inductance Lp in H
Lp = X / ω * (1 + 1 / (X/R)**2)
Series circuit
These values can be calculated by assuming that a capacitor with Cs and a resistor with Rs are connected in series. In case of an inductor with Ls, it is a series connection of Ls and Rs.
Series capacitance Cs in F
Cs = -1 / (ω * X)
Series resistance Rs in V/A
Rs = R
Series conductance Gs in A/V
Gs = 1 / Rs
Series inductance Ls in H
Ls = X / ω
These values are calculated for reasons of convenience. We would like to emphasize that the extraction of resistances, capacitances and inductances always relies on the assumption of a particular circuit. In many cases, a simple parallel or series circuit is not adequate to understand the bias or frequency dependent characteristic of the impedance. In such a case, the impedance must be evaluated and fitted by extended equivalent circuits.
If a value cannot be calculated, e.g. because of a division by zero, the result is 'nan'.
The formulas presented above can be seen in the Table 1 that can be found here: http://www.phys.ufl.edu/~majewski/nqr/paper/nqr_detection_educational/series-parallel-impedance-parameters-an.pdf
Driver programming
Specialties
To use the post processing, each driver for the LCRmeter module must return the first three variables as following:
- "R" the real part of the impedance R,
- "X" the imaginary part of the impedance X, and
- "Frequency", the frequency
Further variables, e.g. the measured bias, can follow. General information about drivers can be found in Driver Programming.
Supported parameters
There are string-type keys that can be used in a driver to interact with the GUI of the LCRmeter 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.
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.
StepMode
A ComboBox with the currently selected Step mode.
ValueTypeBias
A ComboBox to choose whether a bias voltage or a bias current is applied, e.g. "Voltage bias in V:" or "Current bias in A:".
ValueBias
A LineEdit with the bias value of the type selected in ValueTypeBias.
Frequency
A LineEdit with the frequency of the small signal in Hz.
ValueTypeRMS
A ComboBox that can be used to define different options for the AC signal. For example, most LCR meters can apply either a current or a voltage signal, e.g. "Voltage RMS in V:" or "Current RMS in A:".
ValueRMS
A LineEdit with the value of the selected type in ValueTypeRMS.
OperatingMode
A ComboBox to provide the measurement mode, e.g. 'R-X', 'Cp-D', 'Cp-Gp', or 'Ls-Rs'. The definition of these options relies on the driver. We recommend to keep the format '<variable1>-<variable2>' and use 'p' or 's' to indicate whether the values have been derived by assuming either a parallel or a series circuit, respectively.
Integration
A ComboBox to provide different integration modes.
Average
A ComboBox to provide different average modes or a number of averages.
Range
A ComboBox to provide different current measurement ranges. Default first option should be "Auto" if the instrument supports it.
Trigger
A ComboBox to choose the source of the trigger signal.
TriggerDelay
A LineEdit to enter the delay at which the measurement starts after the trigger signal arrives.
ALC
A ComboBox to present different modes for Automatic Level Control (ALC). ALC makes sure that the correct signal is applied to the device under test. Caution: If one of the measurement ports is not correctly connected to the device, the LCR meter might apply higher voltages than desired.
ExternalBias
A CheckBox to use an external bias source if the instrument supports it.
List sweep keys
If the driver returns the key ListSweepCheck, the List sweep fields become available and "List sweep" is added to the 'Sweep value' options. The keys are:
- ListSweepCheck: CheckBox that expands the List sweep fields
- ListSweepType: ComboBox, e.g. "Sweep" or "Custom"
- ListSweepStart and ListSweepEnd: LineEdits for the start and end value
- ListSweepStepPointsType: ComboBox, e.g. "Step width:" or "Points (lin.):"
- ListSweepStepPointsValue: LineEdit for the step width or number of points
- ListSweepDual: CheckBox to add the returning sweep
- ListSweepCustomValues: text field with comma-separated custom values
- ListSweepHoldtime and ListSweepDelaytime: LineEdits for the hold and delay time in s