Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
IEC 61880-1998 “Nuclear instrumentation — CAMAC” is the specialized standard within the CAMAC family addressing high-speed real-time data transfer. In applications such as nuclear fusion plasma diagnostics, pulsed radiation imaging, and transient nuclear signal recording, front-end detector data rates can reach tens of MB/s — far exceeding the capability of the standard CAMAC dataway (1 MHz cycle). To address this, the standard introduces the High-Speed Data I/O (HDI/O) mechanism.
HDI/O is essentially a high-speed data channel independent of the standard CAMAC dataway, enabling bulk data transfer between modules and the crate controller (and onward to computer memory) without per-word command-response protocol overhead. This design dramatically reduces data transfer overhead, achieving throughput approaching the bus theoretical limit.
The HDI/O transfer sequence comprises three phases: initialization, data streaming, and termination. During initialization, the crate controller sends a start command to HDI/O-capable modules, configuring transfer parameters (block size, direction, address increment mode).
In synchronous HDI/O mode, data transfer is clocked by the controller, with one word transferred per clock cycle. Modules must prepare or accept data within strict timing windows. This mode suits applications with predictable data rates, such as multichannel analyzer spectrum readout.
In asynchronous HDI/O mode, modules control the transfer pace via a “Ready” handshake signal. The controller reads the next word only when the module confirms data readiness. This mode suits variable-rate applications such as multi-channel acquisition with non-uniform ADC conversion times.
| Transfer Mode | Clock Source | Flow Control | Typical Rate | Application |
|---|---|---|---|---|
| Standard Dataway | Controller (1 MHz) | Command-response | ~1 MB/s | Control, status read |
| HDI/O Synchronous | Controller (5~10 MHz) | Fixed clock | 5~20 MB/s | Spectrum, waveform |
| HDI/O Asynchronous | Controller (variable) | Ready handshake | 2~10 MB/s | ADC data, random events |
| DMA Direct | Bus master | Burst transfer | 10~40 MB/s | Bulk data dump |
DMA Integration: HDI/O modules typically support DMA (Direct Memory Access), allowing data to bypass the CPU and write directly into host memory. On modern PCIe-based CAMAC controllers, DMA can saturate the bus bandwidth (e.g., 250 MB/s unidirectional for PCIe x1), though actual throughput is limited by front-end module output rate and FIFO depth.
Interrupt Management Strategy: Proper interrupt management is critical in real-time data acquisition systems. The LAM mechanism defined in the standard can be configured for “edge-triggered” or “level-triggered” mode. For high-frequency events (e.g., pulse-triggered acquisitions), polling is recommended; for sparse events (e.g., fault alarms), interrupt-driven mode balances CPU utilization and response latency.
A: Q-Stop transfer still uses the standard dataway’s command-response protocol, requiring one command word per transfer. HDI/O transfers data through an independent hardware channel without per-word command interaction, resulting in lower overhead and higher throughput. Q-Stop suits small-to-medium blocks (<1 kB), while HDI/O is designed for large blocks (>1 kB).
A: HDI/O reuses existing CAMAC dataway signal lines (primarily read and write lines) with extended high-speed clock signals beyond standard timing. No additional cabling is required, but the crate backplane must support HDI/O timing extensions. Most later-production CAMAC crates and controllers are HDI/O compatible.
A: Two methods are recommended: hardware checksum (HDI/O modules append a checksum word at transfer completion) and readback verification (write known test data to module then read back for comparison). Running a self-test at the start of each experiment to verify data path integrity is advised.
A: In next-generation fusion devices, CAMAC typically serves as the front-end acquisition layer, receiving detector signals and performing preliminary conditioning and digitization. Digitized data is transferred via HDI/O to Front-End Processors (FEP), then aggregated to the data center through high-speed networks (10 GbE or InfiniBand). CAMAC’s real-time performance and reliability remain irreplaceable in signal conditioning and front-end acquisition stages.