SVT Readout System Description
Year 1 System

J. Schambach, G. Ott, G.W. Hoffmann

University of Texas

Last updated: 7/14/00

Year-1 Configuration

RDO Overview

RDO Functions

RDO Specifications

RDO Design Decisions

RDO Design

Board Description: PTB

PTB Functions

PTB Major Parts

PTB Firmware

SVT Trigger Functions

Board Description: PTBA

PTBA Functions

Fusing

Board Description: AMB

AMB Functions

AMB Major Parts

AMB Firmware

Board Description: FOB

FOB Functions

FOB Major Parts

FOB Firmware

Board Description: RDO Panel

RDO Panel Functions

RDO Panel Major Parts

RDO Configurations

Slow Controls

Slow Controls Functions

Slow Controls Implementation

HDLC Memory Map (STAR wide)

RDO HDLC Memory Maps

Board Power

Enclosure

RDO Enclosure

RDO Enclosure Cooling

Transition Board

Transition Board Functions

Connectors

DAQ

 

Year-1 Configuration

 

·        7-detector ladder, currently only read out on West side (4 wafers)

·        Standard, fully functional RDO box in 8-4-6 configuration at West 12°clock position

·        Ladder attached to TB-1 connector of RDO panel

·        RDO box connected to fiber NW1 (normally 1°clock box)

·        From there the configuration is as described below for the full SVT

·        Ladder read out as B3L1

·        Only 1 receiver board configured for DAQ

 

RDO Overview

 

RDO Functions

·        Acquire & digitize analog data at trigger

·        Add header information

·        Transfer data to DAQ via Gigalink Fiber

·        Control via STAR Slow Control

·        Readout via STAR Slow Control

·        Test data via STAR Slow Control

·        Monitor power supplies, temperature, etc

·        Supply and switch hybrid power

·        Supply hybrid controls & clocks

·        Control charge injector lines via STAR Slow Controls

 

 

RDO Specifications

 

RDO in the context of the SVT Electronics

 

·        One module per TPC sector (24 total in final system)

·        54 analog inputs, 80:1 MUX on hybrid

·        Acquisition at 8/3 of RHIC strobe frequency (~ 25MHz)

·        Digitization at 60/36 fibre link frequency of 60MHz (~1.67MHz)

·        Total duration of digitization & fiber optic transfer is about 7.3ms

·        Interpretation of 16 trigger commands

·        60MHz Gigalink operation

·        Provide for 2 ladder configurations

·        standard STAR Trigger interface

·        standard STAR DAQ interface

·        standard STAR HDLC interface

·        Provide memory for event store on RDO for fiber optic or SC readout

 

RDO Design Decisions

·        Split RDO system into 3 functional blocks:

-          Monitor, Power, Trigger & SC Interfaces

-          A-to-D & Storage

-          Fiber Optic Transfer

·        Implement on VME 6U-size boards, connected via VME like back planes

·        Due to connector space, analog part needs 5 boards

·        Due to connector space and board space, monitor, power & trigger interfaces are split amongst 2 boards and a front panel

·        RDO connects to 3 Transition boards, which in turn connect to 3 ladders in 2 configurations:

-          8 & 4 & 6 hybrids

-          6 & 6 & 6 hybrids

 

RDO Design

 

Overview Block Diagram.

 

·        1 FOB (Fibre Optic Board)

-          Fiber optic interfaces

·        5 AMB’s (Analog & Memory Board)

-          A-to-D, memory

·        1 PTB (Power & Trigger Board)

-          Trigger Interface

-          HDLC Interface

-          Power to 1 Transition Board

·        1 PTBA (PTB Auxiliary)

-          Power to 2 Transition Boards

·        1 Front Panel

-          All outside connectors except Fiber

-          All monitoring functions

-          Injector controls

·        Water cooled aluminum box with 2 VME 8-slot back-planes

 

·        RDO Input and Output Connections

 

 

Board Description: PTB

 

·        PTB Inputs and Outputs

·        Schematic Diagram in pdf format

·        Picture of the board

 

PTB Functions

·        Water cooled aluminum box with 2 VME 8-slot back-planes

·        Contains HDLC interface

·        Trigger receiver & interpretation

·        Generate & control 1 set of hybrid voltages

·        Generates SCA acquisition clock via Roboclock (8/3 RHIC strobe)

·        Generates SCA readout clock from 60MHz clock via divide-by-36

·        Sends either SCA clock to transition board via Panel

·        Generates all 4 SCA control signals and sends them to PTBA

·        Generates variable part of header to send to 1st  AMB memory

·        Controls ADCs

·        Sends fibre commands to FOB

·        Tracks RHIC count, SCA acquisition phase and SCA start counter

 

PTB Major Parts

·        Altera PLD EPM7256SQC208-7

·        Lucent Quad PECL Driver & Receiver BDG1A and BRR1A

·        Bieser HDLC mezzanine

·        Cypress Roboclock CY7B9910

 

PTB Firmware

·        Startup State machine

-          reset, turn off all 18 TB power regulators

·        Trigger State machine

-          decodes trigger commands that are latched into a 4-bit control register

-          strobes  4 trigger nibbles, phase counter, SCA start counter and fixed part of header to AMB-1

·        Acquisition State machine

-          generates the acquisition sequence with 80 to 100μs delay, digital reset, analog reset, analog reset recovery, 80 adcClk, 81 scaClk, cycled 128 times. Starts fiber transfer after small delay

·        Fibre State machine

-          generates fiber transfer commands, start header, start data, end-of-data and raises CAV to FOB. It also triggers AMB1 to start fiber-data transfer.

·        Slow controls State Machine

-          Interpret & acknowledge HDLC commands

 

SVT Trigger Functions

 


 


Board Description: PTBA

 

·        PTBA Inputs and Outputs

·        Schematic Diagram in pdf format

·        Picture of the board

 

PTBA Functions

·        Receives one set of SCA control signals from PTB and generates 6 sets to the Transition Boards via the panel (LVDS)

·        LVDS part:  National DS90C031 Quad CMOS Differential Line Driver

·        Generates & controls 2 sets of hybrid voltages

·        Provides Slow Controls data path (8bit) to panel

 

Fusing

 


 

 

 


Board Description: AMB

 

·        AMB Inputs and Outputs

·        Schematic Diagram in pdf format

·        Picture of the board

 

AMB Functions

·         Digitizes 12 channels of analog data

-          Organized as 3 groups of 4 channels to service 4 hybrids with 3 channels each

·        ADC threshold and range adjustable

-          Standard: 0.8 - 1.2V threshold, 2V range

·        Stores data in one of two SRAM memory banks as 40-bit words

·        One of the 5 AMBs is also used to store the complete header to be sent to DAQ

·        Transfers either bank of data memory to the FOB over a 40-bit data bus

·        Memory can also be read and written over slow controls data bus in 16-bit chunks via a transfer register

 

AMB Major Parts

·        Twelve Texas Instruments 10-bit, 20MSPS ADC’s TLC876C (AD876 “equivalent”)

·        Twelve Analog Devices high-speed op-amps AD817AR

·        Five Motorola 128K x 8bit Fast SRAM MCM6726B

·        Altera PLD EPM7256SQC208-10

 

AMB Firmware

·        D/A State Machine

-          reads three sets of four ADC into memory separated by 80 words for 128 by 240 - 40bit values. The 240 are on 256 word boundaries

·        Fiber State Machine

-          provides 9-step timing to sync with the nine 20bit fiber transfers. AMB1 sends a sync pulse to the other 4 AMBs.  Transfers both header (AMB-1 only) and data to FOB, one (40bit) word per cycle every two steps, on different steps for each AMB. Only 20 bits are valid for AMB5, using only 1 step.  AMB-1 provides Data Valid (DAVA) signal  to other AMBs

·        Header State Machine (AMB-1 only)

-          Transfers header from PTB to memory

·        Slow Controls State Machine

-          Interpret and acknowledge SC commands

 

 

Board Description: FOB

 

·        FOB Inputs and Outputs

·        Schematic Diagram in pdf format

·        Picture of the board

 

FOB Functions

·        Receives 40-bit words from AMBs and multiplexes these as two 20-bit words to the HP Gigalink serializer

·        Transfers data to DAQ via Finisar/Methode Fiber-Optic transmitter

·        Logic is driven by PTB control words

·        Gigalink runs at 60MHz

·        Receives 60MHz clock from PTB and distributes it to the AMBs

·        For testing the FOB can be equipped with its own clock crystal to operate the Gigalink

 

FOB Major Parts

·        HP Gigalink TTL Transmitter HDMP1022

·        Finisar / Methode Fiber Transmitter FTM-8510-2-0 / MTM-8510-SC

·        Altera PLD EPM7128SLC84-6

 

FOB Firmware

·         Startup State Machine

-          provides reset to the HP chip at start-up

·        Fiber Control State Machine

-          transfer control words from PTB to HP chip

·        Fiber Data State Machine

-          Transfer header data from AMB1 and ADC data from the 5 AMBs

 

 

Board Description: RDO Panel

 

 

RDO Panel Functions

·        Provides all RDO connectors to outside world except fiber (directly on FOB)

·        Distribute 3 Transition Board analog signals to 5 AMBs in 2 configurations, selectable with a jumper

·        Circuitry for multiplexing and digitizing:

-          3*6 + 2 voltages

-          3*5 currents

-          3*4 temperatures + 3*4 detector currents

·        Latch 3 Transition Board IDs (6 bits each, 1 bit provided via jumper on panel) read as 8-bit words (1 spare bit)

·        Power drivers & controls for 3*6 calibration lines

 

RDO Panel Major Parts

·        Micrel Quad Power Drivers MIC4467

·        Analog Devices 16-channel Multiplexers ADG426

·        Analog Devices 8-bit ADC AD7575

 

RDO Configurations


 

 

 

 


Slow Controls

 

Slow Controls Functions

·        Panel Slow Controls to monitor multiplexed:

-          3*6 + 2 voltages

-          3*5 currents

-          3*4 temperatures + 3*4 detector currents

·        Panel Read 3 Transition Board Ids

·        Panel Control 3*6 Calibration Lines

·        PTB & PTBA switch 3*6 FEE voltages

·        PTB trigger fiber optic readout with & without ADC acquisition

·        AMB memory read/write (read as 16/16/8 bit chunks from a latching register)

·        AMB bank selection for stored event R/O

 

 

Slow Controls Implementation

·        Bieser HDLC mezzanine on PTB board

·        Provides both HDLC and Serial interface (RS232 driver on PTB)

·        ID bits set via jumper on PTB

·        Use Chip-Select 3 memory region only

·        Control signals from mezzanine used:

-          R/W

-          CS3

-          DTAck

-          DS not used, but doesn’t seem to be necessary

·        Use A16 - A19 for board selection

·        Use A1 - A4 for function selection

·        HDLC 16-bit data bus on VME back plane connected to all boards

·        Panel connected to VME through PTBA via 8-bit bus, control signals from PTB

 

 

HDLC Memory Map (STAR wide)

 

 

 

 


RDO HDLC Memory Maps

 


Board Offsets:

Board

Address Offset

AMB-1

0x080 000

AMB-2

0x090 000

AMB-3

0x040 000

AMB-4

0x0d0 000

AMB-5

0x0c0 000

PTB

0x050 000

FOB

0x0f0 000

 

PTB Decodes:

Address

I/O Cycle

Action

0x050 000

W

Load TB-1 low-voltage power register

0x050 002

W

Load TB-2 low-voltage power register

0x050 004

W

Load TB-3 low-voltage power register

0x050 006

W

Load TB-1 injector register

0x050 008

W

Load TB-2 injector register

0x050 00a

W

Load TB-3 injector register

0x050 00c

W

Load MUX-1

0x050 00e

W

Load MUX-2

0x050 010

W

Start ADC conversion & fibre transfer

0x050 012

W

Start fibre transfer (no ADC conversion)

0x050 014

W

Issue L2-accept

0x050 016

R

Pulse/read instrumentation ADC

0x050 018

R

Read ID-1 input bits

0x050 01a

R

Read ID-2 input bits

0x050 01c

R

Read ID-3 input bits

 

Low-voltage power register bits:

Bit

Voltage

1

0

Q0

 

 

 

Q1

V1

On

Off

Q2

V2

On

Off

Q3

V3

On

Off

Q4

V-

Off

On

Q5

-6

Off

On

Q6

+6

On

Off

Q7

 

 

 

 

MUX-1 and MUX-2 load data into registers U14, U15, U16, U17, U22 and U23. The outputs of U14 and U15 are connected to an instrumentation ADC for digitization. The outputs of the other registers are connected to different inputs of U15. Data needs to be loaded into these registers before the ADC can be used. The ADC requires two read cycles for a complete readout: the first read cycle digitizes the current input to the ADC, while the second read cycle gates out the results. The second read cycle can be used as the first read cycle (“digitization”) of the next readout, thus allowing pipelining of the readout of several signals.

 

MUX-1 bits:

Bit

Meaning

0

Data-bit-3

1

Data-bit-2

2

Data-bit-1

3

Data-bit-0

4

Enable U15

5

Enable U14

6

 

7

 

 

MUX-2 bits:

Bit

Meaning

0

Data-bit-0

1

Data-bit-1

2

Data-bit-2

3

Data-bit-3

4

Enable U17

5

Enable U16

6

Enable U23

7

Enable U22

 

Register Decodes:

Data

U14

U15

U16

U17

U22/23

0

T2T1

U16

T1V1

T1-6

T1I1

1

T2T2

U17

T1V2

T1V-

T1I2

2

T2T3

U22/23

T1V3

T2-6

T1I-

3

T2T4

 

T1+6

T2V-

T1I+6

4

T2T5

 

T2V1

T3-6

T2I1

5

T2T6

 

T2V2

T3V-

T2I2

6

T2T7

 

T2V3

-8

T2I-

7

T2T8

 

T2+6

 

T2I+6

8

T1T1

T3T1

T3V1

 

T3I1

9

T1T2

T3T2

T3V2

 

T3I2

A

T1T3

T3T3

T3V3

 

T3I-

B

T1T4

T3T4

T3+6

 

T3I+6

C

T1T5

T3T5

+8

 

T1I3

D

T1T6

T3T6

SpareT11

 

T2I3

E

T1T7

T3T7

SpareT21

 

T3I3

F

T1T8

T3T8

SpareT31

 

 

Note: U22/23 measure currents, and need to be loaded with the same data and enabled at the same time to make sensible measurements.

 

 

AMB Decodes:

Address

I/O Cycle

Action

0x0X0 000

W

Load page register (0..3)

0x0X0 002

W

Load address register bits 0..7

0x0X0 004

W

Load address register bits 8..15

0x0X0 006

W

Write transfer register least significant16 bits (ls16)

0x0X0 008

W

Write transfer register middle 16 bits (m16)

0x0X0 00a

W

Write transfer register most significant 8 bits (ms08)

0x0X0 00c

R

Read transfer register ls16

0x0X0 00e

R

Read transfer register m16

0x0X0 010

R

Read transfer register ms08

0x0X0 012

W

Write memory to transfer register (40-bits)

0x0X0 014

W

Write transfer register to memory (40-bits)

 

 

 

Board Power

 

·        PTB: 18 watts thermal, 20oz copper

·        PTBA: 27 watts thermal, 20oz copper

·        AMB: 15 watts thermal, 15oz copper

·        FOB: 6 watts thermal, 10oz copper

 

 


 

 

 

 


Enclosure

 

RDO Enclosure


 

 

 


RDO Enclosure Cooling

 

A complete description of the enclosure can be found here.

 

 


Transition Board

 

Transition Board Functions

·        Provides Interface to Hybrids & detectors on water manifold

·        Contains differential Op-Amps to drive analog signals on cone

·        Contains resistor ladder for HV to interface with HV Interface board

·        Provides a digital ID to RDO system

·        Splits calibration signals for “left” and “right” part of ladder

·        Same TB for 8, 6, or 4 hybrids

·        Designed together with BNL (SVT) electronics group

·        Distributes hybrid control & monitoring signals

 

 

 

Connectors

 

The main connections to the RDO system come from the Rack Electronics, the transition boards, and from Trigger & DAQ.

 

·       RDO and Transition board connectors

·       Connections from Wafers through Transition boards and RDO to DAQ

 

 

DAQ

The SVT uses the same hardware for DAQ as the TPC.

 

Descriptions of the various DAQ components can be found here.