Console hardware
The Nexus console uses PCIe measurement cards from Spectrum Instrumentation, installed in a high-performance workstation. This page summarizes the hardware requirements of the console software and the considerations behind the choice of components. The installation is described in Hardware setup.
Development setup
The components and the port assignment on this page describe the setup that was used for the development of the console [1]. Other workstations and other cards of the same families might work as well, but have not been tested.
Workstation
The workstation hosts both measurement cards. In the current implementation, the complete sequence is calculated and stored in host memory before execution. During the acquisition, the workstation streams the waveforms to the AWG, reads the gated receive data from the digitizer and processes them in parallel. The considerations below assume a sampling rate of 20 MHz for both cards, as used in the development setup.
Planned improvements
Several improvements are planned for future versions. One is to calculate the sequence at runtime, so that the memory requirement no longer scales with the sequence duration. In turn, sequence calculation, streaming and receive processing will run in parallel, which requires more CPU cores and a sequence calculation that is faster than real time. In addition, the measurement cards can transfer data directly to a GPU using SCAPP. Future versions of the Nexus console might therefore benefit from an on-board GPU.
| Component | Development setup | Reasoning |
|---|---|---|
| PCIe | Supermicro X12SPL-F, 7 slots | Each card requires one slot with 4 lanes (-x4). The required transfer rates of 160 MB/s for the AWG and 40 MB/s per enabled receive channel (while the gate is open) are well below the card interface rate of about 700 MB/s. The remaining slots are available for a GPU, NVMe storage or additional cards. |
| AWG | Spectrum M2p.6546-x4 with IO expansion module | Four 16-bit channels on one card allow RF and the three gradients to be replayed sample-synchronously from a single buffer. The output range of ±6 V into 50 Ω (±12 V into high impedance) drives the RFPA and GPA inputs directly. 40 MS/s provide sufficient oversampling at the Larmor frequency of the development setup (~2 MHz). Bit 15 of channels 1–3 drives the synchronous digital outputs X1–X3, so the ADC gate, phase reference and RF unblanking are generated together with the waveforms, without separate timing hardware. |
| Digitizer | Spectrum M2p.5933-x4 | Eight 16-bit channels at 40 MS/s record the MR signal and additional sensors, e.g. EMI sensing coils. The MR signal is sampled directly and demodulated digitally on the host, so no analog receive chain beyond the preamplifier is needed. The synchronously sampled digital input X2 provides a phase reference that corrects the phase of each gate for the jitter of the gate detection. |
| RAM | 256 GB | The unrolled sequence requires 4 channels × 2 bytes (int16) per sample of the transmit card, i.e. 160 MB per second or 9.6 GB per minute of sequence. Averages replay the same buffer and need no additional memory. Allowing about 16 GB for the operating system, the Python processes and the two 1 GiB DMA buffers, 256 GB are sufficient for sequences of roughly 25 minutes. The processed receive data are small in comparison (16 bytes per complex sample and channel, e.g. 34 MB for 128 × 128 × 128 samples), unless the raw data are kept with run(store_unprocessed=True). |
| CPU | Intel Xeon Gold 6312U, 24 cores | The acquisition process runs the TX streaming and RX readout threads, which must keep up with the cards in real time, while num_processing_workers worker processes demodulate and decimate the gates in parallel. Therefore, at least 2 + num_processing_workers cores should be available, plus one for the acquisition service. The sequence calculation currently runs in a single process, so single-core performance determines the duration of set_sequence. Future parallelization of the sequence calculation or processing may require additional cores. |
| Storage | NVMe SSD | Data are written to disk after the acquisition, so storage speed does not affect the acquisition itself. |
| GPU | Optional | Not yet required by the Nexus console, but useful for AI-based processing on the console workstation. Future versions might stream the acquired data directly to the GPU for faster processing. |
| Operating system | AlmaLinux 9.3, Windows 10 | Both are supported by the Spectrum driver (development setup: kernel driver M2p 2.17 build 17916, library 6.05 build 21120). |
Card requirements of the software
The current Nexus console implementation supports exactly one transmit and one receive card. On connection, the software checks that the transmit card belongs to the M2p.65xx family (AWG) and the receive card to the M2p.59xx family (digitizer). The cards are synchronized by cables, as described in Hardware setup, and share the clock provided by the digitizer module. Each card sets its own sampling rate, so the sampling rates may differ. Synchronization via a Star-Hub might be added in the future.
Different sampling rates
Different sampling rates of the transmit and receive card are not supported by the current software version and will be added in a future update. Until then, the device configuration requires equal sampling rates (see Device configuration).
Inputs and outputs
The tables list every port of both cards and its use in the development setup. The analog channels, clock input and trigger input use SMB connectors; the multi-purpose lines X0–X3 use MMCX connectors. How to connect the ports is described in the Connection plan.
M2p.6546-x4 AWG
| Port | Connector | Direction | Signal | Connected to |
|---|---|---|---|---|
| 0 | SMB | Analog out | RF waveform | RFPA input |
| 1 | SMB | Analog out | Gradient, physical channel 1 (bits 0–14 of channel 1) | GPA input 1 |
| 2 | SMB | Analog out | Gradient, physical channel 2 (bits 0–14 of channel 2) | GPA input 2 |
| 3 | SMB | Analog out | Gradient, physical channel 3 (bits 0–14 of channel 3) | GPA input 3 |
| Clk In | SMB | In | External clock, 50 Ω termination, 1.5 V threshold | Digitizer X0 |
| Trig In | SMB | – | Not used; the card is started by a software trigger | – |
| X0 | MMCX | – | Not used | – |
| X1 | MMCX | Digital out | ADC gate, high during each ADC event (bit 15 of channel 1) | Digitizer X1 |
| X2 | MMCX | Digital out | Phase reference, square wave at a fixed frequency at the start of each gate (bit 15 of channel 2) | Digitizer X2 |
| X3 | MMCX | Digital out | RF unblanking to enable the RFPA during RF transmission (bit 15 of channel 3) | RFPA unblanking input |
M2p.5933-x4 Digitizer
| Port | Connector | Direction | Signal | Connected to |
|---|---|---|---|---|
| 0 | SMB | Analog in | MR signal; bit 15 is replaced by the sampled X2 input | Preamplifier output |
| 1–7 | SMB | Analog in | Optional additional receive channels, e.g. for EMI sensing coils; enabled via channel_enable |
Optional |
| Clk In | SMB | – | Not used; the card runs on its internal PLL | – |
| Trig In | SMB | – | Not used | – |
| X0 | MMCX | Clock out | Clock of the digitizer | AWG clock input |
| X1 | MMCX | Trigger in (Ext1) | ADC gate; the card records while the gate is high | AWG X1 |
| X2 | MMCX | Digital in | Phase reference, sampled into bit 15 of channel 0 | AWG X2 |
| X3 | MMCX | – | Not used | – |
Safety
The multi-purpose lines X0–X3 are pulled high while the software opens the connection to the cards (issue #54). As X3 drives the RFPA unblanking input, this can affect the amplifier, e.g. if it has a safety mechanism that is triggered by an overly long gate signal.