This repository contains the design files for the analog frontend (AFE) of the Modular Trap Testing device. This iteration of the tester has been designed as an accessory for the Analog Discovery 3 (and 2). The main goal of the trap tester is to automate debugging measurements which usually have been performed with a multimeter by hand. The scripts to control the AD2 or AD3 which (partially) achieve this goal can be found in this repository.
In the context of trapped ions these measurements have been:
- finding shorts from a trap electrode to signal ground
- identifying shorts between electrodes
- making sure the cryogenic wiring is working up to the in-vacuum low-pass filters
- providing a full connection matrix of the in-chamber wiring
A lot of inspiration has been taken from a non-modular design by Roger Serrat.
The front-end will plug into a DSUB-50 vacuum feedthrough. Alternatively, the trap tester can be connected to another board using an FPC. (FPC Connector: Molex - 502598-5193) This connector can be found on the bottom side of the AFE.
However, the frontend was designed in such a way that less capable devices are able to use the board with minor modifications. The only requirements for the data acquisition module are:
- 16 GPIO (digital) pins for configuration of the AFE
- one DAC or additional GPIO channel to "excite" the system
- 2 ADC channels
- 5V power rail for powering the daughter board.
The ADCs should be able to sample at about ~1MSPS.
The signal chain on the board is as follows:
- The DAC or digital output is buffered and amplified by a factor of 2.
- The buffer stage output puts a reference resistor
$R_{\text{SENSE}}$ and current sense resistor$R_{\text{REF}}$ in series before the signal goes to the MUX bank. This makes it possible to connect the DAC output to any of the pins of chosen connectors (here: DSUB50 and Molex FPC) - The voltage at the DAC MUX input is buffered and fed to ADCO.
- ADC1 can be driven by one of two signal (using another MUX/switch)
- The ADC MUX bank enables the user to connect any of the connector pins independently of the DAC MUX. This can be used to detect shorts between electrodes.
- The current sense circuit allows for precision current measurements. The voltage output of the sense circuitry is
$25 \frac{V}{V} i_{\text{SENSE}} R_{\text{SENSE}}$ . The choice of current sense amplifier allows for$R_{\text{SENSE}} \leq 500 \Omega$ . In the standard configuration,$1 \mu \text{A}$ leads to an output voltage of$1 \mu \text{A} \times 25 \times 470\Omega = 11.75\text{mV}$ which is considerable. The current sense can only detect positive currents!
The frontend is well described by a RC low-pass filter. The low-pass comes from the reference and sense resistors and the parasitics of the components and PCB layout. It is heavily dominated by the input capacitance of the MUXes. If we connect a filter board to the frontend we get a concatenation of two first order RC low-pass filters. We however can only access the voltage at the node between the low-pass filters.
The MUX can disconnect the filter board acting like a software-controllable switch.
In the following we will describe how the measurements can be used to get estimates for quantities of interest.
It should be apparent from the schematic that one can use the tester as a voltage meter.
This is useful for testing the electrode driving DAC output (i.e the Fastino) given that at some point these signals have to be compatible with the feedthrough.
Another use case is assessing if trap electrodes are shorted together. If applying a voltage to one electrode leads to a driven/stable voltage at a different electrode one can conclude that there is a low-ish impedance connection between them. As DAC and ADC MUX are independent, this device can perform this measurement even for signals within the signals grouped into one feedthrough connector.
There are many ways to measure the DC resistance of an attached load. Assuming
- Use the voltage divider formula:
$v_{\text{meas} = V_{\text{IN}}} \frac{R_{\text{FILT}}}{R_{\text{FILT}}+R_{\text{REF}}+R_{\text{SENSE}}}$ - Use the current measurement:
$i_{\text{meas}} = \frac{V_{\text{IN}}}{R_{\text{FILT}}+R_{\text{REF}}+R_{\text{SENSE}}}$ - Or both:
$R_{\text{FILT}} = \frac{v_{\text{meas}}}{i_{\text{meas}}}$
The capacitance is defined as
which can be approximated using numerical integration with a finite time horizon:
Performing the baseline measurement once with the switch open allows for estimating the parasitic capacitance. As the measurement is independent of the resistors (
In initial tests, this method produces surprisingly accurate estimates (to about 5%). If this holds true in the general still needs to be investigated.
We assume that the switch is closed. In this case, the transfer function from
where:
$R_\text{AFE} = R_\text{REF} + R_\text{SENSE}$ $\tau_1 = R_\text{AFE} C_{\text{PAR}}$ $\tau_2 = R_\text{FILT} C_{\text{FILT}}$ $\tau_3 = R_{\text{AFE}} C_{\text{FILT}}$
The step response (unit step) is then given by:
where
For convenience we define:
$T = \sqrt{\tau_1^2 + \tau_2^2 + \tau_3^2 - 2 (\tau_1 \tau_2 - \tau_1 \tau_3 -\tau_2 \tau_3)}$ $\alpha = \frac{T}{\tau_1 \tau_2}$ $\beta = \frac{1}{2 \tau_2} (1 + \frac{T + \tau_2 + \tau_3}{\tau_1})$ $A = T - \tau_1 + \tau_2 - \tau_3$ $B = T + \tau_1 - \tau_2 + \tau_3 = 2T - A$
If we perform a step from 0V to
We can then fit our measurement trace to the analytical solution to get an estimate for
To assess if the wiring up to the filter board is nominal one simply has to measure the attached low-pass filter. Detecting the filter capacitance is usually indicative enough. Note that passive components behave differently in cryogenic environments compared to room temperature. Performing measurements of the filters during initial cooldown are recommended to better judge the health of the system.
This can be easily checked: If the analog frontend is able to drive a DC current through the signal channel then the electrode is connected to GND. The DC resistance can then be estimated using any method outlined in section Measuring DC Resistances. An ideal electrode short would lead to measuring the filter resistor. Any other value hints at a more involved issue.
A short to ground before the RC low-pass can be detected using a DC resistance measurement. We note here that the only accurate way to measure very low impedance shorts with this device is to use the current method as outlined in Measuring DC Resistances.
For a short between two electrodes after the filter we have the following schematic:
Essentially, the tester will charge both filter capacitors. The result would be that instead of measuring
Similar arguments can be made about larger groups of shorted electrodes.
The modified schematic is the following:
As in the case for shorts between electrodes, we charge both filter capacitors. The measured resistance / time constant (strictly speaking: the fitted values) will also change, however.
If
The PCB layer stack has no specification. Any manufacturer default 4-layer stackup will work.




