Accelerator Development Department / RHIC Project
Associated Universities Inc.
Brookhaven National Laboratory
Upton, New York 11973
RHIC Real Time Data Link System
July 13, 1993 edited October 24, 1996
H. Hartmann
1.0 Introduction
1.1 Frame Protocol
2.0 V105 Encoder Module
3.0 V106 Input Module
The Rhic Real Time Data Link (RTDL) distributes to all locations around the RHIC ring machine parameters of general interest to accelerator systems and users. Defined parameters include, but are not limited to, the following:
The RTDL System is comprised of two module types: the V105 Encoder and the V106 Input. There is only one encoder module, but many (up to 128) input modules. The RHIC RTDL system will be located in the 4 o'clock service building (1004B). The V105, V106's and supporting host computer interface (FEC) are packaged in standard 6U VME format.
RTDL system distribution is point-to-point differential TTL on shielded
twisted pair wire. The V105 is isolated from the receiving modules by transformer
coupling at the receiving modules input. The V105 initially drives a fanout/repeater
module which provides multiple buffered TTL differential outputs. These
outputs will be used locally within 1004B, and others will drive fiber
optic transmitters for optical transmission to other RHIC equipment locations.
At each RHIC equipment location, the optical transmission is received,
regenerated (restoring waveshape and timing), and buffered as differential
TTL. A fanout/repeater is utilized to generate multiple outputs. General
purpose V108 Utility modules which
receive the RTDL frames may be located in these areas, as well as specially
designed modules such as the V115 waveform generator, having direct RTDL
inputs.
RTDL parameter frames are transmitted using a serial modified Manchester
code (bi-phase mark). Each frame has the following format:
|----------------------------------------------------------------------|
| 0 | MSB-Parameter ID - LSB | MSB -Parameter Data - LSB | P | 1 |
The transmission rate is 10Mb/s and 3.5us are required to transmit each
parameter frame. All defined frames are transmitted at each occurance of
the 720Hz event on the RHIC Event Link. The RTDL encoder module transmits
a continuous bi-phase mark "one" (10MHz carrie) during idle periods.
RTDL parameter frames are permanently assigned a parameter ID code. The
RTDL encoder module contains a record of all defined parameter ID codes.
RTDL parameter transmission priority is defined in the V105 scan list RAM.
2.1 Theory of Operation
The RHIC Real Time Data Link (RTDL) V105 Encoder Module is a standard VMEbus 6U module. It occupies 4HP of a standard 84 HP VME chassis. This module directly outputs the encoded machine parameters onto the link. It accepts data from the V106 Dual Channel Input Module. Data is accepted into the V105's transmit register at a rate solely determined by the handshaking protocol initiated by the V105. The V105 Module converts each machine parameter acquired from the V106 Modules into a serial bi-phase mark coded frame for transmission. Under normal operation, the V105 Module will receive a TRIGGER TRANSMITTER signal from the 720 Hz event on the RHIC Event Link. However, for RTDL System diagnostic purposes, two other options are available:
At the selected trigger, the following will occur:
If the DaTa ACKnowledge Strobe is not received by the encoder module within 1 us of its asserting the Address Strobe, an interrupt will be generated. The Parameter ID of the nonresponsive channel (NOREPLY) will be stored in the status register.
2.2 VMEbus Specifications
The Encoder Module is a VMEbus slave and adheres to the following
protocol:
2.2.1 VMEbus Address and Data
3.1 Theory of Operation
The RHIC Real Time Data Link (RTDL) V106 Input Module is a standard VMEbus 6U module. It occupies 4HP of a standard 84 HP VME chassis. Each module has two channels. Data input is a serial link bit stream received via front panel fiber optic ST connectors . Data can also be loaded via the VMEbus by the FEC. Machine Parameter Data is loaded into the output register on the occurrence of the LDDATA strobe from the V105 Module. This strobe is synchronous with triggering of the V105 Module. The V106 Modules are connected via a VMEbus P2 connector user defined bus. This bus terminates at the 105 Module. When the Encoder Module places a Parameter ID on the bus, the following happens:
The Input Module is a VMEbus slave and adheres to the following protocol:
Parameter ID is jumper selectable and available to the FEC via the status register.
3.3.1 Indicators
3.3.1 Connectors