Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
The original CAMAC parallel branch highway, defined in IEC 60516 (IEEE 583), uses a 66-line parallel bus connecting a branch driver (typically hosted in a computer or mainframe) to up to seven crates. Each crate contains up to 23 plug-in modules (stations 1-24, with station 25 reserved for the crate controller). The parallel branch is fast (typical data rates of 1 million 24-bit words per second) but is limited in cable length to approximately 30 meters due to signal skew and drive capability constraints. This distance limitation became a serious problem for large physics experiments where detector arrays needed to be spread over hundreds of meters or even kilometers.
IEC TR 61955 addressed this by defining a byte-serial and bit-serial highway that uses a much smaller number of signal lines (typically 2-4 coaxial cables or a single fiber pair), enabling crate spacing of several kilometers while supporting up to 62 crates per serial highway. The serial highway operates at data rates of 5 MHz (byte-serial) or 1 MHz (bit-serial) for the basic rate, with extensions permitting higher speeds.
| Feature | Parallel Branch Highway (IEC 60516) | Serial Highway (IEC TR 61955) |
|---|---|---|
| Maximum crates per system | 7 | 62 |
| Maximum cable length | ~30 m | >5 km (with fiber optics) |
| Number of signal lines | 66 parallel lines | 2-4 coaxial or 1 fiber pair |
| Data transfer rate | ~1 million words/s (24-bit) | ~300,000 words/s (byte-serial, 5 MHz clock) |
| Number of modules addressed | 161 (7×23) | 1426 (62×23) |
| Error detection | None (parallel parity optional) | Built-in CRC + message retry protocol |
| Controller type | Branch Driver (A-1 or A-2) | Serial Driver + Serial Crate Controller (SCC) |
The serial highway system defined in IEC TR 61955 consists of three primary components: the Serial Driver (host interface, typically a CAMAC module in the controlling computer’s crate), the transmission medium (coaxial cable or fiber optic links), and Serial Crate Controllers (SCCs) installed in each remote crate. Each SCC is assigned a unique serial address (1 to 62) and acts as the bridge between the serial highway and the crate’s parallel internal dataway.
The message protocol uses a command/response structure. A message frame begins with a synchronizing pattern (16 bits), followed by the command word (24 bits), optional data words (24 bits each), and a CRC-16 checksum (16 bits). The SCC decodes the command, executes the CAMAC cycle on the crate dataway, and returns a response message containing the data (if a read operation) and status information (X, Q response lines). The standard defines a retry mechanism: if the SCC detects a CRC error in the received command, it returns a negative acknowledgment, and the Serial Driver automatically retransmits the message up to a configurable number of retries.
Each CAMAC serial highway command message encodes the standard CAMAC operation parameters: N (station address, 1-23), A (subaddress, 0-15), F (function code, 0-31), and C (crate number, 1-62). The 24-bit command word is organized as: bits F(4:0) for the function, A(3:0) for the subaddress, N(4:0) for the station number, and additional control bits for data direction and message type. The SCC decodes this command and executes the appropriate CAMAC dataway cycle (read, write, or control function) on the addressed module.
The standard also defines addressed commands (targeted at a specific crate), broadcast commands (executed simultaneously by all crates on the highway), and system commands (for highway initialization, crate status polling, and diagnostic loopback testing). Broadcast commands were particularly useful for synchronizing data acquisition across multiple crates — a single “LAM (Look-At-Me) clear” broadcast could reset all interrupt flags in the entire system simultaneously.
IEC TR 61955 implemented a comprehensive error detection and recovery scheme that was sophisticated for its time. The CRC-16 polynomial (xⁿ⁺ + x⁻⁺ + x² + 1) is computed over the entire message including the command and data fields. The receiving SCC recalculates the CRC and compares it with the transmitted checksum. On CRC mismatch, the SCC sends a NAK response and the Serial Driver retries the transmission. The standard specifies that the retry count must be programmable (typically 3 to 7 retries) and that a persistent error must be reported to the host system as a hardware fault.
A typical large-scale CAMAC serial highway system consists of multiple crates distributed across a facility, each containing analog-to-digital converters (ADCs), time-to-digital converters (TDCs), discriminators, scalers, and other physics instrumentation modules. The Serial Driver in the host computer’s crate initiates all data transfers. Three common topologies are defined in the report: daisy-chain (simplest wiring, but failure of one SCC breaks the chain), star (each crate connected directly to the driver via dedicated lines, requiring more cable but providing fault isolation), and redundant-loop (two serial highways connecting all crates in opposite directions, providing path redundancy for fault tolerance in critical applications).
While CAMAC has been largely superseded by more modern standards such as VMEbus (IEC 60821), CompactPCI/PXI, and more recently MTCA.4 (Micro Telecommunications Computing Architecture for Physics), the serial highway concepts defined in IEC TR 61955 influenced the development of distributed data acquisition architectures for nuclear fusion experiments (JET, ITER), high-energy physics (CERN experiments), and large-scale neutron and synchrotron facilities. The command/response protocol with CRC error checking, the addressed vs. broadcast messaging model, and the multi-drop serial bus topology are concepts that have been adopted and refined in later standards. Many CAMAC serial highway systems continued operating into the 2010s and some are still in service today, particularly in nuclear power plant monitoring systems where the long qualification cycle makes replacement economically challenging.
1. What is the maximum number of crates supported by the CAMAC serial highway?
The serial highway defined in IEC TR 61955 supports up to 62 crates per highway. This is significantly more than the parallel branch highway which supports only 7 crates. The 63rd address (63) is reserved for the Serial Driver itself. Multiple serial highways can be installed in a single system, each with its own Serial Driver, providing virtually unlimited expansion capability.
2. How does the CAMAC serial highway handle LAM (Look-At-Me) interrupt requests from distant crates?
LAM handling in the serial highway uses two mechanisms. First, each Serial Crate Controller maintains a LAM summary bit that is polled by the Serial Driver during a “status scan” operation. Second, the standard defines a LAM graddant mode where crates with pending LAMs can be rapidly identified using a binary-search polling technique. This allows the driver to locate the requesting crate in O(log₂ N) steps rather than scanning all 62 crates individually, significantly reducing interrupt latency in large systems.
3. Can CAMAC serial highway and parallel branch highway coexist in the same system?
Yes. IEC TR 61955 defines an auxiliary crate controller (ACC) configuration where a crate can have both a Serial Crate Controller and a parallel branch controller installed. The selection between the two is determined by a priority arbitration scheme. This allows “hybrid” systems where local crates near the host computer are on the parallel branch for maximum speed, while remote crates are connected via the serial highway. The standard provides detailed timing requirements to prevent bus conflicts between the two controller types.
4. What data rates does the CAMAC serial highway support?
The base data rate defined in the standard is 5 MHz for byte-serial operation and 1 MHz for bit-serial operation. However, the standard includes provisions for optional higher-speed modes, and some proprietary implementations achieved 10-20 MHz on optimized media. At the 5 MHz byte-serial rate, the achievable throughput is approximately 300,000 CAMAC operations per second, accounting for protocol overhead and message framing. For comparison, this is about one-third the throughput of the parallel branch highway but over vastly greater distances.