1
CARIOCA (Cern and RIO Current Amplifier). The CARIOCA chip has 8 binary output, therefore DIALOG has 16 PCH as input channels and has up to 8 LCH as output channels. DIALOG integrates fundamental tools required for the Muon chambers time alignment and monitoring and for the Muon Trigger operation. It also provide many other features for system control and diagnostic. In the DIALOG block scheme all the different functional blocks are showed. Following the processing stages from input to output there are: the Input Block, the Programmable Delayer and digital Shaper (ADC-DLL) Block, the Masking Block, the Logical Channels generation Block. There are also the ASD Thresholds Block and the Counters Block. All DIALOG configurable tools are writeable and readable by I 2 C interface. The DIALOG features are: A Test Bench for full A Test Bench for full characterization of the DIALOG chip characterization of the DIALOG chip S.Cadeddu 1 , V. De Leo 1 , C. Deplano 1,2 , A. Lai 1 1 INFN Cagliari Italy; 2 Università di Cagliari Italy BX ID 45 46 47 48 49 50 51 52 53 54 55 25 ns INTERACTION DETECTION 25 ns 25 ns DIALOG is a fundamental building block in the front-end electronics of the Muon Detector of the LCHb experiment. LHCb, currently under construction at the CERN LHC, will study the CP DIALOG DIALOG ( ( DI DI agnostic agnostic time time A A djustment djustment and and LOG LOG ics ics ) ) Measurements of 449 DIALOG Measurements of 449 DIALOG circuits circuits 16000 CARIOCA 8000 DIALOG 4000 SYNC LHCb experiment The trigger processor performs its algorithms on a binary space point information sent by the front-end electronics: 126k channels (PCH) are output from the detector. The granularity needed by the trigger is coarser (26k channels LCH) to minimize sustainable noise level and detection rate per channel. The LHCb Bunch Crossing (BX) frequency is 40 MHz. To assign the correct BX identifier to each event, it is necessary to equalize all the different contributions to PCH signal delays, before sending the information to the trigger. The main delay contributions are: µ-chambers time distribution 25 ns (4 ns rms) Particle time of flight Different cables length The DIALOG main tasks are to realize PCH reduction already at the front- end level and to make possible a proper detector time alignment, channel by channel. Both these tasks are configurable to allow different possible combinations, according to each physical channel position inside the detector. In the Muon System there are 8000 DIALOG. SYNC IC MUON CHAMBER (MWPC/3-GEM) F/E boar d 8PCH 8PCH ASD ASD 8LCH DIALOG 8PCH 8PCH F/E board DIALOG CUSTOM IC DELAY AND WIDTH ADJUSTMENT LOGICAL CHANNEL GENERATION THRESHOLDS FOR ASD CHIPS ASD: CARIOCA CHIP ANALOG SHAPER DISCRIMINATOR O N D E T E C T O R E L E C T R O N I C S I 2 C MASTER LOW VOLTAGE CONTROLS CALIBRATION PULSES SERVICE board (on crat es) SYNCHRONIZATION TIME (PHASE) MEASUREMENT DATA FORMATTING DATA TO MUON TRIGGER OFF DETECTOR ELECTRONICS 10m cabling (LVDS) DATA TO DAQ RECONSTRUCTION COUNTING ROOM 1.Programmable input signals time adjustment: (31 steps of ~ 1.6 ns @ 40 MHz) by an external selection or an automatic calibration using a DLL (settable period ~ 59 ns [17 MHz]÷ 21 ns [48 MHz]). Typical max delay 50 ns; Max possible delay 120 ns (@ 17 MHz). Differential Non Linearity (DNL) < ± 0.3 LSB. 2.Programmable output signals width adjustment: (8 steps of ~ 3.2 ns each @ 40 MHz). Typical shaping 28 ns. DNL < ± 0.2 LSB. 3.Possibility to put a MASK on every input channel. 4.Logical Channel generation according with the trigger granularity (OR2; OR4; OR8). 5.Sixteen 24-bit rate counters to monitor PCH. 6.18 different threshold levels for ASD chips discriminator. Each is programmable independently using a DAC (2.2 mV of resolution) plus a linear output driver: o 16 CARIOCA levels operate in a (0.625 1.2) V range with an R load = 24 kΩ; o 2 ASDQ levels operate in a (0 DIALOG DIALOG pinout pinout DIALOG block DIALOG block scheme scheme DIALOG CORE: ADC-DLL DIALOG CORE: ADC-DLL DIALOG has 113 pin, a width of 3875 µm and a length of 4900 µm. The power consumption is about 150 mA at a bias voltage of 2.5 V. gnd gnd 9 ASD threshol d levels gnd vdd vdd vdd vdd gnd gnd gnd vdd vdd vdd vdd vdd gnd gnd gnd gnd vdd 8 LVDS Physica l Channel s LVDS ASDQ pulse 8 LVDS Logical CARIOCA pulse CARIOCA pulse LVDS I 2 C in LVDS I 2 C out Rese t Addres s cor e Scalers Scalers threshol ds threshol ds DLL ADC DLL ADC Pulse + Delay Lines Pulse + Delay Lines 9 ASD threshol d levels 8 LVDS Physica l Channel s LVDS ASDQ pulse 20 m 12 m DTS (D DTS (D IALOG IALOG T T est est S S ystem ystem ) ) The need to characterize the DIALOG circuits completely in a short time has required designing a dedicate Test System. The DTS is a portable system composed by 3 custom PCB (the ROUTER board , the DIALOG board and the TDC board TDC board ), one PC and a custom C software. The DTS hardware is controlled by the PC program via an I 2 C interface. DIALOG is placed on the DIALOG board which has a Zero Insertion Force socket to allow the change of the device under test. All DIALOG input signals are provided by the ROUTER board. The DIALOG output LCH and pulse signals are connected both to the ROUTER board, for DIALOG digital functionalities test, and to the TDC board for the time measurements of signals delay and width. Four commercial 12-bit ADC are mounted on the DIALOG board to measure the 18 threshold levels with a resolution of 0.6 mV of LSB. Each ADC can be independently configured and read by the PC via the I 2 C interface. The I 2 C signals are provided by the ROUTER board. The ROUTER board is used to interface DIALOG with the software program and contains the I 2 C registers to generate the DIALOG PCH input signals and to capture the LCH outputs. The The main board main board of the DTS is the TDC board of the DTS is the TDC board which has 4 commercial TDC driven by an FPGA. which has 4 commercial TDC driven by an FPGA. On the board there are On the board there are 1 common start 1 common start input signal and input signal and up to 32 stop input up to 32 stop input signals signals , 8 for each TDC, which can be individually enabled and configured. To , 8 for each TDC, which can be individually enabled and configured. To allow both LVDS and LVTTL stop signals logics, 8 LVDS to LVTTL converters allow both LVDS and LVTTL stop signals logics, 8 LVDS to LVTTL converters are soldered on board. The are soldered on board. The time measurements time measurements can be done for a can be done for a individually selectable positive or negative edge individually selectable positive or negative edge of the of the common start and of common start and of the stop input signals. the stop input signals. The measurements are done in a time interval up to The measurements are done in a time interval up to 94 µs starting from 40 ns after the common start selected edge signal 94 µs starting from 40 ns after the common start selected edge signal (72 ns (72 ns of resolution of resolution ). ). After each power-on the FPGA can be accessed via I 2 C by the software program (69 8-bit registers). To test one DIALOG, two TDC are used: one for the 8 LCH and the other for the 2 pulse signals. Two kind of measurements were done: I 2 C signa ls 16 LVDS PCH DIALOG input 8 LVDS LCH DIALOG output I 2 C signals I 2 C signals Reset Common Start Reset ROUTER BOARD DIALOG BOARD TDC BOARD TDC BOARD REPORT FILES TEST ROUTINES I 2 C MASTER Time DELAY: made on the stop inputs positive edge, to verify the programmable delays set on DIALOG for each LCH and pulse signal; The characterization of DIALOG (at room temperature) is managed by a custom C program and takes about 2 minutes . It consists of DIALOG power consumption measurement, test of digital functionalities and test of analog features. A sample of 480 DIALOG chips was tested with the DTS, 21 of which were rejected for power consumption (about 4 mA for 19 chips and 1 A for 2 chips) and other 10 were rejected for digital procedure failure. 330 DIALOG of the remaining 449 are validated as “good”. For each threshold level, the linearity curve and the DNL are measured inside the full DAC range (0255) in a few seconds. The maximum peak to peak voltage variation is 35 mV. Measurements of time delay and width were done for each LCH at the DLL locking code (@ 40 MHz) and for the DLL code 0 and 255. The same type of delay measurements were done for pulse signals also. All the time and the voltage measurements are stored in two report files and later processed with a dedicated software. These files are analyzed if the DIALOG power consumption is in a range of (150 ± 20) mA and if the digital functionalities test passes. Time WIDTH: made both on the positive and on the negative edge of the LCH signals to verify the programmable width. CARIOCA threshold levels CARIOCA threshold levels measurements measurements LSB calculated n calculated n measured V V V DNL y = p 0 + p 1 x Slope of thresholds fit Intercept of threshold fit LCH outputs time LCH outputs time measurements measurements 15 delay units of 1.6 ns each 31 delay units of 1.6 ns each 8 width units of 3.5 ns each DLL calibrated at nominal 40 MHz frequency violation and B mesons rare decays. The role of the LHCb Muon Detector is to detect muons tracks with high transverse momentum, as a signature of a B meson decay. This is a crucial information for the LHCb first trigger level. The LHCb Muon Detector consists of 5 stations along the beam axis and is based on 3-GEM detectors and MWPC. DIALOG is developed in CMOS IBM 0.25 µm radiation tolerant technology. It is installed directly on the Muon chambers on a printed circuit board named CARDIAC (CARioca and DIAlog Card). In each CARDIAC DIALOG is placed after two Amplifier Shaper Discriminator (ASD) chips, called A n a l o g S o r t i n g I n t e r v a l s We present a We present a semi-automatic test system semi-automatic test system designed for the designed for the complete characterization complete characterization of the of the DIALOG integrated circuit DIALOG integrated circuit (see IEEE TNS 2004 N18-6). The DTS (DIALOG Test System) (see IEEE TNS 2004 N18-6). The DTS (DIALOG Test System) checks all the chip digital functionalities. It measures the checks all the chip digital functionalities. It measures the DIALOG output channels programmable DIALOG output channels programmable time delay and width time delay and width with with 72 ps of resolution 72 ps of resolution . . DIALOG threshold DIALOG threshold voltage outputs voltage outputs are measured with are measured with 0.6 mV of resolution 0.6 mV of resolution . . The complete The complete characterization of one chip takes 2minutes. characterization of one chip takes 2minutes. The measurements done allow the The measurements done allow the definition of the definition of the DIALOG test procedure DIALOG test procedure and the and the proper analog performances proper analog performances sorting intervals sorting intervals , needed for a safe , needed for a safe selection of the DIALOG mass production selection of the DIALOG mass production chips (about 12000 devices). chips (about 12000 devices).

CARIOCA (Cern and RIO Current Amplifier). The CARIOCA chip has 8 binary output, therefore DIALOG has 16 PCH as input channels and has up to 8 LCH as output

Embed Size (px)

Citation preview

Page 1: CARIOCA (Cern and RIO Current Amplifier). The CARIOCA chip has 8 binary output, therefore DIALOG has 16 PCH as input channels and has up to 8 LCH as output

CARIOCA (Cern and RIO Current Amplifier). The CARIOCA chip has 8 binary output, therefore DIALOG has 16 PCH as input channels and has up to 8 LCH as output channels. DIALOG integrates fundamental tools required for the Muon chambers time alignment and monitoring and for the Muon Trigger operation. It also provide many other features for system control and diagnostic. In the DIALOG block scheme all the different functional blocks are showed. Following the processing stages from input to output there are: the Input Block, the Programmable Delayer and digital Shaper (ADC-DLL) Block, the Masking Block, the Logical Channels generation Block. There are also the ASD Thresholds Block and the Counters Block. All DIALOG configurable tools are writeable and readable by I2C interface. The DIALOG features are:

A Test Bench for full characterization A Test Bench for full characterization of the DIALOG chipof the DIALOG chip

S.Cadeddu1, V. De Leo1, C. Deplano1,2, A. Lai1

1INFN Cagliari Italy; 2Università di Cagliari Italy

BX ID

45 46 47 48 49 50 51 52 53 54 55

25 ns

INTERACTION

DETECTION

25 ns 25 ns

DIALOG is a fundamental building block in the front-end electronics of the Muon Detector of the LCHb experiment. LHCb, currently under construction at the CERN LHC, will study the CP

DIALOG DIALOG ((DIDIagnosticagnostic timetime AAdjustmentdjustment and and

LOGLOGicsics))

Measurements of 449 DIALOG Measurements of 449 DIALOG circuitscircuits

16000 CARIOCA

8000 DIALOG

4000 SYNC

LHCb experiment

The trigger processor performs its algorithms on a binary space point information sent by the front-end electronics: 126k channels (PCH) are output from the detector. The granularity needed by the trigger is coarser (26k channels LCH) to minimize sustainable noise level and detection rate per channel. The LHCb Bunch Crossing (BX) frequency is 40 MHz. To assign the correct BX identifier to each event, it is necessary to equalize all the different contributions to PCH signal delays, before sending the information to the trigger. The main delay contributions are:

• µ-chambers time distribution 25 ns (4 ns rms)• Particle time of flight• Different cables length

The DIALOG main tasks are to realize PCH reduction already at the front-end level and to make possible a proper detector time alignment, channel by channel. Both these tasks are configurable to allow different possible combinations, according to each physical channel position inside the detector. In the Muon System there are 8000 DIALOG.

SYNC IC

MUON CHAMBER (MWPC/3-GEM)

F/E board

8PCH

8PCH

ASDASD

8LCH

DIALOG

8PCH

8PCH

F/E board

DIALOG CUSTOM IC

DELAY AND WIDTH ADJUSTMENT

LOGICAL CHANNEL GENERATION

THRESHOLDS FOR ASD CHIPS

ASD: CARIOCA CHIP

ANALOG SHAPER DISCRIMINATOR

ON

DE

TE

CT

OR

E

LE

CT

RO

NIC

S

I2C MASTER

LOW VOLTAGE

CONTROLS

CALIBRATION PULSES

SERVICE board(on

crates)

SYNCHRONIZATION

TIME (PHASE) MEASUREMENT

DATA FORMATTING

DATA TO MUON TRIGGER

OFF DETECTOR ELECTRONICS

10m cabling

(LVDS)

DATA TO DAQ

RECONSTRUCTION

COUNTING ROOM

1.Programmable input signals time adjustment: (31 steps of ~ 1.6 ns @ 40 MHz) by an external selection or an automatic calibration using a DLL (settable period ~ 59 ns [17 MHz]÷ 21 ns [48 MHz]). Typical max delay 50 ns; Max possible delay 120 ns (@ 17 MHz). Differential Non Linearity (DNL) < ± 0.3 LSB.

2.Programmable output signals width adjustment: (8 steps of ~ 3.2 ns each @ 40 MHz). Typical shaping 28 ns. DNL < ± 0.2 LSB.

3.Possibility to put a MASK on every input channel.

4.Logical Channel generation according with the trigger granularity (OR2; OR4; OR8).

5.Sixteen 24-bit rate counters to monitor PCH.

6.18 different threshold levels for ASD chips discriminator. Each is programmable independently using a DAC (2.2 mV of resolution) plus a linear output driver:

o 16 CARIOCA levels operate in a (0.625 1.2) V range with an Rload = 24 kΩ;

o 2 ASDQ levels operate in a (0 625) mV range with an Rload = 1 kΩ;

7. Internal Pattern generation to test purposes.

8.2 ASD pulse generation signals with programmable time adjustment for ASD chips test.

9. I2C interface (93 registers) to configure all DIALOG tools.

10.Triple-voted and auto-corrected register for better SEU (Single Event Upset) immunity, both configuration and state machines.

DIALOG DIALOG pinoutpinout

DIALOG block DIALOG block schemescheme

DIALOG CORE: ADC-DLLDIALOG CORE: ADC-DLL

DIALOG has 113 pin, a width of 3875 µm and a length of 4900 µm. The power consumption is about 150 mA at a bias voltage of 2.5 V.

gnd gnd

9 ASD threshold levels

gn

d

vdd

vdd

vdd

vdd

gndgnd

gn

d

vdd

vdd

vdd

vdd

vdd

gn

dg

nd gnd

gnd

vdd

8 LVDS Physical Channels

LVDS ASDQ pulse

8 LVDS Logical Channels

CARIOCA pulse

CARIOCA pulse

LVDS I2C in

LVDS I2C outReset

Address

core

Scale

rs

Scale

rs

thre

shol

ds

thre

shol

ds

DLL ADC

DLL ADC

Pu

lse +

Dela

y L

ines

Pu

lse +

Dela

y L

ines

9 ASD threshold levels

8 LVDS Physical Channels

LVDS ASDQ pulse

20 m

12 m

DTS (DDTS (DIALOGIALOG T Testest S Systemystem) ) The need to characterize the DIALOG circuits completely in a short time has required designing a dedicate Test System. The DTS is a portable system composed by 3 custom PCB (the ROUTER board, the DIALOG board and the TDC boardTDC board), one PC and a custom C software. The DTS hardware is controlled by the PC program via an I2C interface. DIALOG is placed on the DIALOG board which has a Zero Insertion Force socket to allow the change of the device under test. All DIALOG input signals are provided by the ROUTER board. The DIALOG output LCH and pulse signals are connected both to the ROUTER board, for DIALOG digital functionalities test, and to the TDC board for the time measurements of signals delay and width. Four commercial 12-bit ADC are mounted on

the DIALOG board to measure the 18 threshold levels with a resolution of 0.6 mV of LSB. Each ADC can be independently configured and read by the PC via the I2C interface. The I2C signals are provided by the ROUTER board. The ROUTER board is used to interface DIALOG with the software program and contains the I2C registers to generate the DIALOG PCH input signals and to capture the LCH outputs. The The main board of main board of the DTS is the TDC boardthe DTS is the TDC board which has 4 commercial TDC driven which has 4 commercial TDC driven by an FPGA. On the board there are by an FPGA. On the board there are 1 common start1 common start input signal input signal and and up to 32 stop input signalsup to 32 stop input signals, 8 for each TDC, which can be , 8 for each TDC, which can be individually enabled and configured. To allow both LVDS and individually enabled and configured. To allow both LVDS and LVTTL stop signals logics, 8 LVDS to LVTTL converters are LVTTL stop signals logics, 8 LVDS to LVTTL converters are soldered on board. The soldered on board. The time measurementstime measurements can be done for a can be done for a individually selectable positive or negative edgeindividually selectable positive or negative edge of the of the common common start and of the stop input signals.start and of the stop input signals. The measurements are done The measurements are done in a time interval up to 94 µs starting from 40 ns after the in a time interval up to 94 µs starting from 40 ns after the common start selected edge signal common start selected edge signal (72 ns of resolution(72 ns of resolution).). After each power-on the FPGA can be accessed via I2C by the software program (69 8-bit registers). To test one DIALOG, two TDC are used: one for the 8 LCH and the other for the 2 pulse signals. Two kind of measurements were done:

I2C signa

ls

16 LVDS PCH

DIALOG input

8 LVDS LCH DIALOG

output

I2C signals

I2C signals

Reset

Common Start

Reset

ROUTER BOARD

DIALOG BOARD

TDC BOARDTDC BOARD

REPORT FILESTEST ROUTINES

I2C MASTER

Time DELAY: made on the stop inputs positive edge, to verify the programmable delays set on DIALOG for each LCH and pulse signal;

The characterization of DIALOG (at room temperature) is managed by a custom C program and takes about 2 minutes. It consists of DIALOG power consumption measurement, test of digital functionalities and test of analog features. A sample of 480 DIALOG chips was tested with the DTS, 21 of which were rejected for power consumption (about 4 mA for 19 chips and 1 A for 2 chips) and other 10 were rejected for digital procedure failure. 330 DIALOG of the remaining 449 are validated as “good”. For each threshold level, the linearity curve and the DNL are measured inside the full DAC range (0255) in a few seconds. The maximum peak to peak voltage variation is 35 mV. Measurements of time delay and width were done for each LCH at the DLL locking code (@ 40 MHz) and for the DLL code 0 and 255. The same type of delay measurements were done for pulse signals also. All the time and the voltage measurements are stored in two report files and later processed with a dedicated software. These files are analyzed if the DIALOG power consumption is in a range of (150 ± 20) mA and if the digital functionalities test passes.

Time WIDTH: made both on the positive and on the negative edge of the LCH signals to verify the programmable width.

CARIOCA threshold levels CARIOCA threshold levels measurementsmeasurements

LSBcalculated

ncalculated

nmeasured

V

VV

DNL

y = p0 + p1 x

Slope of thresholds fit

Intercept of threshold fit

LCH outputs time LCH outputs time measurementsmeasurements15 delay units of 1.6 ns

each

31 delay units of 1.6 ns each

8 width units of 3.5 ns each

DL

L c

ali

bra

ted

at

nom

inal

40

MH

z fr

eq

uen

cy

violation and B mesons rare decays. The role of the LHCb Muon Detector is to detect muons tracks with high transverse momentum, as a signature of a B meson decay. This is a crucial information for the LHCb first trigger level. The LHCb Muon Detector consists of 5 stations along the beam axis and is based on 3-GEM detectors and MWPC.

DIALOG is developed in CMOS IBM 0.25 µm radiation tolerant technology. It is installed directly on the Muon chambers on a printed circuit board named CARDIAC (CARioca and DIAlog Card). In each CARDIAC DIALOG is placed after two Amplifier Shaper Discriminator (ASD) chips, called

An

alo

g S

ortin

g

Inte

rvals

We present a We present a semi-automatic test systemsemi-automatic test system designed designed for the for the complete characterizationcomplete characterization of the of the DIALOG DIALOG integrated circuitintegrated circuit (see IEEE TNS 2004 N18-6). The (see IEEE TNS 2004 N18-6). The DTS (DIALOG Test System) checks all the chip DTS (DIALOG Test System) checks all the chip digital functionalities. It measures the DIALOG digital functionalities. It measures the DIALOG output channels programmable output channels programmable time delay and widthtime delay and width with with 72 ps of resolution72 ps of resolution.. DIALOG threshold DIALOG threshold voltage voltage outputsoutputs are measured with are measured with 0.6 mV of resolution0.6 mV of resolution.. The The complete characterization of one chip takes complete characterization of one chip takes 2minutes.2minutes.

The measurements done allow the The measurements done allow the definition of the definition of the DIALOG test DIALOG test procedureprocedure and the and the proper analog proper analog performances sorting intervalsperformances sorting intervals, , needed for a safe selection of the needed for a safe selection of the DIALOG mass production chips DIALOG mass production chips (about 12000 devices).(about 12000 devices).