Abstract
We developed a novel free-running data acquisition system for the AMBER experiment. The system features a hybrid architecture containing a scalable FPGA-based system for data collection and conventional distributed computing for data reduction. The current implementation can collect up to 10 GB/s sustained data rate. The FPGA system substitutes high-performance networks by merging time-correlated data and distribution between computers. The data reduction is performed by a filtering farm decreasing the incoming data rate by a factor of 50 to 100-200 MB/s. The filtering framework implements various data reduction algorithms for different physics programs. These algorithms perform partial data decoding, time, and spatial analysis of the data in order to select predefined event topology in a semi-online manner. Our system also performs continuous and iterative time calibration of detectors, which is required by the continuously running acquisition system. Additionally, we developed a simulation tool able to emulate detector responses to particles passing the AMBER spectrometer and convert them into correctly formatted raw data. These generated data are used to test and validate the readout chain and the filtering framework. The entire system will be tested with a limited number of detectors this year. The first physics run is planned for 2024.
Introduction
The AMBER (Apparatus for Meson and Baryon Experimental Research) experiment at CERN is transitioning from traditional hardware-triggered systems to a "triggerless" streaming data acquisition (DAQ) architecture. In conventional particle physics, hardware triggers act as nanosecond-scale filters to discard uninteresting data. However, AMBER's diverse detector array—ranging from Time Projection Chambers (TPC) with 120 $\mu$s drift times to fast detectors with sub-500 ns responses—makes hardware synchronization prohibitively complex. By adopting a free-running system, AMBER reads all detector signals and delegates filtering decisions to a flexible software environment.
System Architecture
The DAQ system utilizes a hybrid architecture that balances specialized hardware efficiency with general-purpose computing flexibility.
As shown in the architecture diagram, the process begins with FPGA-based data collection. These FPGAs replace traditional high-performance network switches by merging time-correlated data from various detector front-ends. This hardware layer handles a sustained on-spill data rate of 30 GB/s, which is then distributed to a software-based filtering farm at a rate of 10 GB/s.
Data Protocol and Processing
To manage the continuous stream of data, the system organizes information into a hierarchical structure of "images" and "time slices."
An image is the smallest data unit from a single detector, while a time slice aggregates images from all detectors over a specific time window (typically $O(1ms)$). These time slices act as "virtual events," allowing the distributed computing farm to process data in parallel. Optimization of image size is critical; while small images reduce latency, they increase protocol overhead. The system is tuned to find a balance that maintains stable 10 GB/s throughput.
High-Level Filtering and Calibration
The High-Level Filter (HLT) is a distributed software framework that performs two-stage data reduction:
- Time Analysis: Algorithms identify hit clusters in the time domain to find event candidates.
- Spatial Analysis: The topology of these hits is examined against predefined physics signatures.
This software-defined approach allows the experiment to switch between different physics programs (e.g., proton radius measurements vs. Drell-Yan pair production) simply by updating filtering algorithms. Furthermore, the system performs "semi-online" iterative time calibration, calculating residuals between hit times and interaction times ($T_0$) to feed corrections back to front-end electronics.
Results and Validation
The current implementation supports a sustained data rate of 10 GB/s, with individual compute nodes processing up to 1 GB/s. The HLT successfully reduces data volume by a factor of 50 to 100, resulting in a manageable 100–200 MB/s for permanent storage. To validate this pipeline, the team developed a DAQ emulation tool that converts Monte Carlo simulations into raw data formats, ensuring the filtering framework accurately reconstructs events without losing "truth" information.
Conclusion and Future Work
The AMBER triggerless DAQ represents a significant shift toward flexible, software-driven particle physics. While the 10 GB/s throughput is proven for current programs, future experiments like Drell-Yan pair production will require scaling the FPGA merging logic and HLT efficiency to handle even higher hit rates. Full-scale physics runs are anticipated to begin in 2024.
Summary updated