Home
        AMT PRR Document (v1.1)
         Contents
1.     Fig  34 LVDS Serial output waveform for DS strobe mode at 40 Mbps     Data read out from the TDC is contained in 32 bits data packets  The first four bits of a packet are used  to define the type of data packet  The following 4 bits are used to identify the ID of the TDC chip   programmable  generating the data  Only 7 out of the possible 16 packet types are defined for TDC data  The  remaining 9 packet types are available for data packets added by higher levels of the DAQ system  Some of    the data format are shown in Fig  35  Full description is available in the Users Manual  12     TDC header  Event header from TDC    31 30 29 28 27 26 25 24 23 22 21 20 19 18 17  16  15 14  13 12 11J 10  9   8  7  6  5  4  3  2  fo    10 1 0  mem   Event D ______   Bunch ID       TDC trailer  Event trailer from TDC    31 30 29 28 27 26 25 24 23 22 21 20 19 1 8 17  16  15 14  13 12 11J 10  9   8  7  6  5  4  3  2  tf o    110 0 Word Count       Mask flags  Channel flags for channels having hits with in mask window    3 1 30 29 28 27 26 25 24 23 22 2 1 20 19  18 1 7 16  15  14 13 12  1 Jrof 9   8  7  6  5  4  32  140      00 1 0 Mask flags       Single measurement  Single edge time measurement    3 1130 29 28 27 26 25 24 23 22 2 1 20 19  18 17  16 15 14  13  12 1 1f10  9   8  7  6  5  4   3  2  1  0   Fine Time  T  Edge type  E  Hit error        Combined measurement  Combined measurement of leading and trailing edge    3 1 30 29 28 27 26 25 24 23 22 2 1 20 19 18 17  16  15  14 13 12  11
2.     fine_bin 3     edge_detect 15 8    fine_bin 2       edge_detect 15 12    1    edge_detect 7 4      fine_bin 1       edge_detect 15 14    1    edge_detect 11 10          edge_detect 7 6    1  l edge_detect 3 2      fine_bin O    edge_detect 15    edge_detect 13    edge_detect 11    edge_detect 9             edge_detect 7    edge_detect 5    edge_detect 3    edge_detect  1         Fig  27 Verilog code for the vernier encoder     Although the ring oscillator and the coarse counter runs at 80 MHz  the base LHC clock is 40 MHz and  bunch number is counted at 40 MHz  Most of logics in the AMT are designed to run at 40 MHz  To shift  from 80 MHz to 40MHz regime  we would like to define different name to measured time  We call the upper  12 bit of the coarse counter as a    coarse time     and the LSB of the coarse counter plus the vernier time as a       fine time    as shown in Fig  28  Thus the coarse time will be equivalent to the bunch count     In case a paired measurement of leading and trailing edge has been performed the complete time  measurement of the leading edge plus a 8 bit pulse width is written into the L1 buffer  The 8 bit pulse width  is extracted from the leading and trailing edge measurement taking into account the programmed roll over    value  The resolution of the width measurement is programmable from 0 78 ns bit to 100 ns bit     Coarse Counter   13 bit         Ring Oscillator   16 bit     Vernier Time   4 bit                 Coarse Time Fine Time   12 b
3.    Production Readiness Review  ATLAS MDT TDC Chip  AMT     Review Date   June  20  2002    V1 0c June  27  2002  V1 1 Feb  14  2004    Yasuo Arai  KEK  National High Energy Accelerator Research Organization  Institute of Particle and Nuclear Studies    yasuo arai kek jp  http   atlas kek jp tdc      RMR LLEERCLEECLCROLEL ELITE CLE           a J  mar a a    rererereetin  eee ee i 4    i  i    Aiiiirirreretteereiti              Cy NUN VRS    A a a a a F ia  d Py Afi F if Hii f i  i f   f     ii   1       AN i Kn    pA AMMA LULL    Contents    Nm Nw WY WY    pbb B BS    Gm    N    Ww Or Co GO Coe Go Go Ge Go Go Ge Go Go Uv    INTRODUCTION    REQUIREMENTS AND SPECIFICATIONS    1 MDT Front end System   ae Requirements to the AMT    3 Radiation tolerance requirements   4 Architecture Study with Simulations    CIRCUIT DESCRIPTION  amp  PERFORMANCE    Fine Time Measurement   Coarse Counter   Channel Buffer    Vernier Encoder   L1 Buffer    Trigger Interface  amp  Trigger FIFO  Trigger Matching    Encoded trigger and resets signal    ANIA BB WN      9 Serial Readout    10 Error monitoring     11 CSR Registers   12 JTAG Port     13 ASD control through JTAG   14 LVDS Receiver Driver    DESIGN VERIFICATION  amp  TEST    Design Flow  amp  Design Files  Function Tests    Power Consumption  Summary of Tests and Known Problems    1  2   3 Time Resolution and Non Linearity  4  5    RADIATION TEST    1 Gamma ray Irradiation  TID    lt 2 Neutron Irradiation  eo Proton Irradiation  SEE     QUAL
4.    auto_ illoccup match mask relative serial header trailer rejected i pair trailing    leading  reject   readout                CSR11  enable_  enable_  enable_ enable_  inclk_  enable_  enable_  enable_  enable_  enable_ i enable_   enable_     rofull_ lifull_   trfull_ errmark   boost   ermark_i errmark   llovr mreset_iresetcb_i mreset_   setcount   reject i reject i reject     rejected  ovr   _detect  code   sepa i evrst i _bcrst    CSR12   enable_  enable_ienable_  enable_  Sepa_ i sepa_    sepa_   error  readout   berst   evrst i    CSR13 enable_channel 11 0   CSR14 enable_channel 23 12   CSRI15 general_out 11 0     Table  7  Bit assignment of the status registers  read only      pl a ee  CSR16  rfifo_   rfifo_ icontrol_   empty   full   parity      CSR17 c Ma eT c H ll_  nearly_i over_ over write_address    full   recover  flow   CSR18   tfifo_   tfifo_ irunning l1_  nearly_i full read_address    full           CSR19   coarse_  tfifo_ l1_  counter   occupancy start_address   0       CSR20 coarse_counter 12 1     CSR21 general_in   rfifo_    occupancy 5 0        3 12 JTAG Port     JTAG  Joint Test Action Group  IEEE 1149 1 standard  boundary scan is supported to be capable of  performing extensive testing of TDC modules while located in the system  Testing the functionality of the  chip itself is also supported by the JTAG INTEST and BIST capability  In addition special JTAG registers  have been included in the data path of the chip to be capable of performing effective
5.    u 46 70   o 1 11    C2  Duty  53 3    u 53 85   o 1 17    C3  Duty    u 64 23  o 770m    C3 Freq     100 000MHz  u 100 1M  oO 218 6k       Chi 200mVQ che 200mVva M5 00ns Chay    80mV 28 Sep 2001  ai  100mve    17 11 12    Fig  39 LVDS receiver waveform measurement at 100 MHz  Change of duty factor of the  output is mainly caused by the boundary scan registers and the output driver          i     D  0 0 0 5 1 0 1 5 2 0 2 5  Vicm V   Ww  Cc  rel  Q  H     7  n     I  a  I  I  n  I  T  n  I  a  I  da  n  I  I  n       0 0 0 5 1 0 1 5 2 0 2 5  Vicm V     Fig  40  a  DC current comparison between old and new LVDS receiver   b  Propagation delay  comparison between old and new LVDS receiver     35    Receiver    es a CT E  I  neut pulse width _______  9 1    eel     E ae L E      fmax  input Frequency    f 100   Mhz    Vicm  Receiver common mode levels    uiput veltage NI Vor ar Vor                 1580     a  ot output vertage Tov  Woa or Tob f a00 f    ay      C Vod    20000 nv    Wol 1 4v    Voa  100 0 x   vod  le Vob       Fig  41 LVDS Receiver and Drivers specifications        4  Design Verification  amp  Test    4 1 Design Flow  amp  Design Files    Simplified design flow of the AMT chip is shown in Fig  42  Analog Simulations of macro cells such  as PLL circuits and LVDS driver receiver are studied with HSPICE simulator  Then Verilog models of the  macro cells are built to incorporate the simulation results into Verilog environment  Created user macros and    Mega cells u
6.   O  100  0   2  1 0   2    At ns     Fig  46 Time resolution measurement  Input clock frequency is 40 MHz and time bin is  781 25 ps bit  The data contains digitization error of 225 ps     40    Max    0 14ns  RMS 0 06ns       TDC count    Fig  47  a  Differential non linearity  and  b  Integral non linearity measurement     4 4 Power Consumption    Power consumption of the AMT 1 and AMT 2 chip was measured at 100 kHz hit rate for 24 channels  and 100 kHz trigger rate  The results are     AMT 1   3 3V x 240 mA   800 mW chip   33mW chan   AMT 2   3 3V x 110 mA  360 mW chip   15mW chan   Power consumption in different conditions are shown in Fig  48     40  30    20    Power mW ch     10        gt    gt     E   op   aa  7 8    10MHz Clk  20MHz Clk  30MHz Clk  40MHz Clk  100kHz Hit  100kHz Trig    Fig  48 Power consumption of the AMT 1 and AMT 2 for various conditions     4 5 Summary of Tests and Known Problems    Although it is difficult to list all the test items done  major test items are summarized in Table  11  We  found several bugs in AMT 2  Detail of each error is described in following sections  These bugs will be fixed    before the mass production     41    Table  11 Major test item and results of the AMT 2 chip     register  section 3 13      PLL Tested    Mezzanine board test Tested at Univ  of see Tiesheng Dai s Report   Cosmic Ray Test  Michigan       Channel Buffer Overflow    When a hit is rejected in channel buffer  there are two way to report the rejection  O
7.   deleted   62  Normal Normal IO SMC   cell block block block Total   Number of cell types used LLEF 5 15 0 137  Number of cell used 11637 7 95 0 11739  Number of transistor pairs used       69615 112990 216 O 182821  Number of gates used 37854 69700 143 O 107697  Number of gates in master chip 297680  Array gate usage     26 138  Array gate usage excluding blocks     Tos 61  Maximum number of pins per net 181  Average number of pins per net cS ee ine  Number of nets with 10  lt  pins net  lt   20 231  Number of nets with pins net  gt  20 77  Number of signal nets 12773          Fig  44 Summary of AMT 2 chip     38    4 2 Function Tests    Many test patterns are created during the design  Purpose of the test patterns can be classified into 3    categories      1  Check logical design   test patterns in this category are created in early stage  Logical function of the    design are checked      2  Check gate timings   test patterns in this category are used to verify the logic synthesis  place and    rout result  Any glitch  conflict  and setup hold timing violations are checked      3  Chip production check   test patterns in this category are used mainly in LSI testers at the  manufacture  The purpose of this test is verifying the wafer process and the chip was produces as  designed  Therefore test pattern should activate all nodes and gates  IDDS  I O buffer and BIST    tests are also classified in this category     Prepared test patterns of category  3  is summarized in Ta
8.   o  Jan 400kHz C ave  24 6     z l  G 10           O w  o sg  j 0 4 l Nor al ee ci De ead ox e Ausy ia LaO VA is Ane yn     5    ly        10 t          z    foot       ie ER  i    0 50 100 150 200 250  Level 1 buffer occupancy    Fig  7  Occupancy of the level 1 buffer  Level 1 buffer length of the AMT chip is 256     Trigger Search time    Fig  8 shows the time needed to search for all hits corresponding to a trigger  At the 100 kHz hit rate   the average search time is 0 18 us  However the maximum time will increase to around 16 us when the hit  rate goes up to 400 kHz due to the buffer overflow  case A  B   Since the maximum time range of the AMT  is 51 2 usec  care must be taken not to cross this limit  In case C  the trigger search time is greatly reduced to    less than 3 usec        i     100kHz Hit ave   0 18   10 h       400kHz A B ave  0 62         400kHz C ave  0 45     Probability       D  PPE LLY he  OLLEET        seen     _    DEERE EEE Re    0 12 14 16    Trigger search time  us     Fig  8  Trigger search time for 100 kHz and 400 kHz hit rates     Event Delay    Time needed from the trigger to the readout  event delay  is shown in Fig  9 Maximum event delay will  be more than 100 us if the hit rejection at the matching circuit is disabled  case A   The distribution will drop    at 90 us in case B  In case C  the event delay is drops at near 70 usec     13        100kHz ave  5 1 us           400kHz A ave  28 6 us   400kHz B ave  21 6 us         400kHz C ave  2
9.   we found a few bugs in the AMT 2  one of which is serious  although the error occurs in very limited case  On the other hand  we had to proceed procurement procedure to  get the chip until March 2003  end of Japanese fiscal year 2002   since the procurement procedure will take    about 9 months     Therefore we propose AMT procurement and development schedule as shown in Fig  59  We will  proceed procurement procedure as scheduled  In parallel we will make the correction to the AMT 2 chip and  produce AMT 3 chip as soon as possible  We would like to fix all the known bugs but also try to minimize  the corrections  We may use ECO  Engineering Change Order  in which present placement and routing are  kept  and corrections are made using spare gates around the error location  We think we can get AMT 3 chips  around October  We also prepare all the necessary tools and mezzanine board until this time  so we can    quickly move to the test     After the successful test of the AMT 3  we permit the mass production of the AMT 3 to the  manufacture  This may be possible since the date of delivery is next March  and time needed for mass  production is about 3 months  If further modifications are required to the AMT 3  we postpone the date of    delivery after March 2002 as a final means     48    Japan FY2002  6 7 8 9 10 11 12 1 2 3                  gt  50 days  gt  150 days    Specification Mass Production  Document  Bid Bidding Chip  Announcement aie Delivery    Design Production Te
10.  43 AMT 2 chip Verilog module structure     dis_control    yveadout fifo    ofr _ register    scan_reg 1     zonn reg rl     FI60 350A    readout fifo output_reg    readout fifo input reg    control decoder    error handling    jtag controll    bist control     Toshiba J    macro module    ty igge  r_interface    trigger fifo_input_reg    trigger fits    FIS026A    yeadout interface    serial transmitter    transmit_double  transmit_single    parallel transmitter    readout controller                                                                                                    Module name amt2_chip User s id aral   Series name TC220G Array type T3047   TC220G Library date 991008 TC220G Library version 2 14  Number of input pins  excluding bidirectional pins           74  Number of output pins  excluding bidirectional pins           26  Number of bidirectional pins 16  Total number of I O signal pins used 116  Number of pad locations used for input pins 74  Number of pad locations used for output pins 26  Number of pad locations used for bidirectional pins 16  Total number of pad locations used for above 116  Total number of pad locations available for above 160  Number of I O slots used for input buffers 126  Number of I O slots used for output buffers 30  Number of I O slots used for bidirectional buffers 16  Number of I O slots used for internal buffers 14  Total number of I O slots used for above 186  Total number of I O slots available 316  Number of redundant cells 
11.  ASDOUT    tdo 4  D N ASDIN  Leh   ASDDOWN  tms  tck 4 Sy Aspe       TDO reg    l  data_ou    oe  E i           Fig  37  AMT 2   ASD control simulation model  There are 2 TDO registers at the end of scan  chain  Therefore there looks 1 additional scan register exist in the chain        EGIZ 3675 000    wave  trstb    wave  tck    wave  tms    wave tdi    wave  tdo    tap_state    ir_update_reg    wave  do28_31 3     wave  do28_31 2     wave  do28_31 1     wave  do28_31 0     wave  Bdio24 27 3        Fig  38  Simulated timing diagram of the ASD control signals  There is one additional bit is  seen in yellow circle location     LVDS Receiver Driver    LVDS receivers are used in clock receiver  encoded control signals and hit input receivers  Required    clock in the LVDS receiver  Clock of 100 MHz are successfully received in the receiver     very much reduced in AMT 2  4 5 mW  by designing a new LVDS receiver  Simulation results of DC current    and propagation delay are shown in Fig  40  The power consumption is reduced to less than 1 3 of previous    Power consumption of LVDS receiver used in the AMT 1 was rather large  15 5 mW   but this was    34    design  Furthermore the propagation delay is also reduced a factor of 3     The specification of the LVDS receiver and driver are shown in Fig  41          LVDS AMT 2 Output  receiver Driver    boundary boundary  H scan scan  gt     Tek 10 0GS s ET 603769 Acqs DPO Brightness  100      F                   CLKO    C1  Duty  47 1 
12.  Preliminary Design Review   Mezzanine boards with ASD Lite and AMT 1 are developed and used in H8 beam test   Second prototype chip  AMT 2  CMOS 0 3 um  was developed     2002 Mezzanine board with ASD 8 and AMT 2 are developed and tested at Univ  of Michigan   Production Readiness Review     In 1996  architecture study was done in collaboration with CERN microelectronics group  and intensive  Verilog simulations were done  Basic requirements on the AMT chip were documented in ATLAS note   MUON NO 179  1   and presented at LEB97 workshop 2   In 1998  AMT O  3  was designed in a 0 7 um  full custom CMOS process based on the 32 channel TDC designed at CERN for the quick test of front end    electronics and MDT chambers     On the other hand  it was decided to use a 0 3 um CMOS Gate Array process  Toshiba Co   for a final  production  To develop and test many critical elements in the 0 3 um process  a TEG  Test Element Group   chip  AMT TEG  was designed  fabricated and tested successfully at KEK  4  5   Then AMT 1 chip was  developed  AMT 1 chip mainly consists of analog part of the AMT TEG and logical part of the AMT O  In  February  2001  Preliminary Design Review of the MDT front end electronics was held and the AMT design    was approved for final design with a few recommendations  6      Mezzanine boards which implement AMT 1 and ASD Lite chips are produced for 10k channel   400  boards  test of MDT detector in 2001  They are used in the H8 beam test in September 2001  Alt
13.  depth   e Read out Buffer depth   e Trigger Buffer depth   e Data output    e Serial Output   e Serial Control  trigger and resets   e Double Hit Resolution   e Max  Hit rate   e Max  trigger rate   e Hit Input Level    e CSR registers    eNumber of I O pins   e Number of Power GND pins  e Supply Voltage   e Temperature range    e Process    e Number of Gate  e Package    0 78125 ns bit  leading and trailing edges   0 78 100ns bit  width     RMS   300 ps  leading and trailing edges   RMS   300ps  29ns  width    17 bit  leading and trailing edges   8 bit  width    16 bit  51 usec    Max      80 ps   Maximum one time bin    lt 0 1 LSB  3 0  3 6 V 0 70   C   Input clock frequency x 2   24 Channels   256 words   64 words   8 words    LVDS Serial  10   80 Mbps   or 32 bit parallel     10  20  40  and 80 Mbps with DS or edge strobe   3 bit serial control line    5 ns   400 kHz per channel   100 kHz    Low Voltage Differential Signaling  LVDS   Internal 100 Ohm termination     16 control and 6 status registers   accessed through JTAG or 12 bit control bus     116 pins    13 VDD pins and 14 VSS pins   3 3  0 3V   360 mW    0  85 Deg  Cent   0 3 um CMOS Sea of Gate  Toshiba TC220G   die size  6 mm x 6 mm   110 k gates  36 2   usage    0 5 mm lead pitch  144 pin plastic QFP    2 3 Radiation tolerance requirements    AMT chip is used at the end of MDT chamber  so the chip must have adequate radiation tolerance     required radiation tolerance level to AMT     Total Ionizing Dose    ATL
14.  testing of registers and  embedded memory structures  Furthermore  it is also possible to access the CSR registers from the JTAG    port     Structure of JTAG circuit within the AMT chip is shown in Fig  36  and implemented commands are    shown in Table  8     32    DIO 11 0  RA 4 0  WR CS           TDI TDO  Device ID register  Bypass reg  Instruction register  To ASD    gt  Control  TMS        gt       TCK          _ TAP Controller  TRSTB            AMT 2 Only    Fig  36  Structure of JTAG   CSR registers     Table  8 JTAG Instructions     Instruction Code   Name Description    CONTROL  Read Write of control data       CONTROL  Read Write of control data  BYPASS  Select BYPASS register        3 13 ASD control through JTAG    Design of the ASD requires an external JTAG to serial controller  14  to access internal registers of the  ASD  Original plan is to use a FPGA device in the mezzanine board  Since the AMT already have JTAG  controller  we decided to include the interface in the AMT 2 chip  Fig  37      Simulated timing diagram is shown in Fig  38  Unfortunately both chip has TDO register  so 2 TDO  registers are connected serially at the end of the scan chain  Thus the scan chain looks 1 additional scan    register     33    3 14    speed of the receiver in the clock and the encoded signals are 40 MHz  As for the hit inputs  higher than 100    MHz bandwidth is required to receive less than 5 ns pulse  Fig  39 shows pulse measurement for 100 MHz    ASD1       AMT 2  tdi
15.  trigger lost flag  The trigger matching can also in this case determine how many  triggers have been lost by comparing the event number of the previous trigger and the current event number  stored together with the trigger FIFO full flag  This scheme is illustrated in Fig  30 where it can be seen that  triggers for event 11 12 13 14 have been lost  For each lost trigger the trigger matching will generate       empty    events   header   trailer   marked with the fact that it contains no hits because the trigger was lost     26    bunch_count_ offset event_count_ offset  12 12    count_roll _ over        bunch count event_count       _reset P  Load Load        reset  AOMHz clock Bunch Count Event Count trigger    0   1034   15  Joge Fa 856   14  Rei 349   10    Trigger Trigger time tag Event number  flag    Fig  30  Trigger FIFO and overflow handling     3 7 Trigger Matching     Trigger matching is performed as a time match between a trigger time tag and the time measurements  them selves  The trigger time tag is taken from the trigger FIFO and the time measurements are taken from    the L1 buffer  Hits matching the trigger are passed to the read out FIFO       reject time  time  reject reject_count_offset    4       bunch_count_offset    search_window    trigger time    Fig  31  Trigger latency and trigger window related to hits on channels  There are 3 time  counters   coarse time  trigger time and reject time counters    A match between the trigger and a hit is detected wi
16. 0 4 us          400kHz 80Mbps ave  4 8 us     Probability       Event Delay  us   Fig  9 Distribution of event delay     Trigger FIFO occupancy  Fig  10 shows the occupancy of the trigger FIFO  depth is 8   At 100kHz hit rate  only 1 location is    occupied  However the trigger FIFO become full if the event data rate become close to the readout bandwidth     case A  B   In case C there are enough locations remains        10        100kHz Hit  p     400kHz A  10   400kHz B        400kHz C    2    10   Q   40   2    10     107  10    0 1 2 3 4 5 6 7 8    Trigger FIFO occupancy    Fig  10  Trigger FIFO occupancy for various conditions   Readout FIFO occupancy  Fig  11 shows occupancy of the readout FIFO  The occupancy does not change much for case A  B and    C  Instead the occupancy can be reduced if the serial readout speed is doubled  80Mbps      10   g      100kHz Hit ave  1 49   P       400kHz Hit ave  13 7   10      400kKHz Hit 80Mbps ave  2 54    gt   S107  Q  O  A  10     10     50       Readout FIFO occupancy    Fig  11 Occupancy of the readout FIFO   14    Number of Matched Hit and Rejection Ratio    Fig  12 shows the distribution of number of hits matched with a trigger  For 100 kHz and 400 kHz hit  rate  an average number of hits per trigger is 1 77 and 5 8 hits trigger respectively  Probability of the masked  hit word existed is 0 77 and 0 99 for 100 kHz and 400kHz respectively     In total  there are 4 54 words and 8 79 words per a trigger in average including a he
17. 10 9   8  7  6  5  4  32  14 0        0 10 0 Fine Time    Fig  35 Data format of the output data packet     3 10 Error monitoring     There are two kinds of error  hard errors and temporal errors  Hard errors are enabled with enable_error  bits  CSR12 8 0   and read through error_flags  CSR16 8 0    Temporal errors are not a real error but    represent information of buffer overflows     30    Hardware Errors    All functional blocks in the TDC are continuously monitored for error conditions  Memories are  continuously checked with parity on all data  All internal state machines have been implemented with a    one    hot    encoding scheme and is checked continuously for any illegal state     The JTAG instruction register have a parity check to detect if any of the bits have been corrupted during  down load  The CSR control registers also have a parity check to detect if any of the bits have been corrupted  by a Single Event Upset  SEU   The error status of the individual parts can be accessed via the CSR status    registers  Table  4  or reported in a error word     Table  4  Hardware Errors    A parity error in the coarse count has been detected in a channel  buffer     Channel select error Asynchronization error has been detected in the priority logic used  to select the channel being written into the L1 buffer   more than 1  channel are selected     L1 buffer error Parity error detected in L1 buffer        Temporal Errors    Temporal errors are embedded in data and availa
18. 56 Threshold voltage shifts of  a NMOS and  b PMOS transistors            h  Ql  O       h  Q  O    Osc  Freq  MHz     I  __ 1     Chip 1 2  H  I  I  I    I  l  I  I  I  r  I  I       10  before irradiation Dose krad     Fig  57  a  Oscillation frequency of a ring oscillator   b  Total current of two chips  Left most  points show the value before irradiation     47    and four chips were exposed to 1 6 x 10   n cm    1 MeV neutron equivalent   During the neutron exposure   chips are placed in a conductive plastic case  The expected neutron flux at MDT front end electronics for 10    years of LHC operation is less than 10   n cm        After cooling of the radioactivity    2 months   we measured transistor parameters and ring oscillator    frequency  We have not observed any apparent change in all sample chips     5 3 Proton Irradiation  SEE     Please see  AMT 2 SEE Test Report   20   Foreseen soft SEU rate is 6 8 x 10   upset sec MDT  and no    latch up was observed     6  Quality Control and Production Schedule    6 1 Quality Control    Fig  58 shows quality control of the gate array process of Toshiba Co  Since AMT 2 is produced in  commercial gate array technology  high quality is expected in general  In addition  test patterns and electrical    check will be done in the manufacture  and they provide us only good ICs which pass all the test   Fig  58 Quality Controll of the gate array Process     6 2 Procurement and Production Schedule    During a preparation for this PRR
19. AS group determined the policy on radiation tolerant electronics  10   Below we briefly describe the    Radiation Tolerance Criteria  RTC  is calculated from Simulated Radiation Level  SRL  as following    equations   RTC   SRL SFsimeSFldreS Flot    Here     SFsim   Represents safety factor for SRL inaccuracies     SFldr   Represents safety factor for low dose rate effects     SFlot   Represents safety factor for the variation of radiation tolerance from lot to lot and within a lot     9    SFidr is  1  if accelerated aging tests at elevated temperature are done     SFlot for the pre selection of COTS will be  2  if the final chips are produced in homogeneous batches  If the  batches of the chip is unknown  we must use SFlot   4  Although it is not impossible to request  homogeneous batch to the fabrication company  the cost of chip will be increased  Since the radiation level is    not so high in our case  we use SFlot   4     Simulated Radiation Levels for total ionizing doze  SRLtid  is 0 75 Gray year  accuracy 1   for worst  location MDT  Endcap 2  at 10  luminosity 10   and SFsim is  3 5   Thus maximum value of the RTCtid    for 10 years operation is      RTCtid max   0 75  Gray  x 3 5 x 1 x 4 x 10  years    105 Gray   10 5 krad    Non lonizing Energy Loss    NIEL Non Ionizing Energy Loss  test on pure CMOS devices is not required from ATLAS  since    CMOS devices are naturally tolerant to displacement damage     Single Event Effects    Particles traversing the chip may 
20. Channel  Controller    Built In  Self Test           Channel Buffer ine Ti ili   4W     Inputs   24ch   gt  n    Clock D if    Fig  13 Block Diagram of the AMT chip   3 1 Fine Time Measurement    Asymmetric Ring Oscillator    An asymmetric ring oscillator is used to obtain sub ns timing resolution  Fig  14 shows a simplified  schematics and its timing diagram of the asymmetric ring oscillator  It only shows 8 stages but the actual    chip implements 16 stages  The asymmetric ring oscillator creates equally spaced even number  16  of timing    16    signals  To keep the equally spacing  each buffers are located in a circular  rectangular  shape as shown in Fig   15   Actual signal was observed with oscilloscope and shown in Fig  16  We see the rising edge timing is    aligned in a line      a     VGN       250       Sim  worst  3      200     Sim  typ  n ye 4       Sim  best  Per          measurement    i l   T 130 f i ere a     T        3 yw   a  100   F    ti it i i ti iki it i i ka     2       222222       22 one       VgIV     Fig  14  a  Asymmetric ring oscillator   b  timing signal in each nodes   c  Oscillation  frequency vs  Control voltage  Vg      17    oro ie rl  E      See gt D  L    zia  ia W er oer a ar arn eari  I  i  ir  att  ia  ETTIR  re p      i    omy  ta  E     mife  H       Ta ae uit Lil i     ETT T  i Ea  LIN RLT L     EEr Errr E r    PT  nai Ai aL  er E ET ee 1TA  mi rin r    TES ld  mE u wor re  aNu nio g   T r T    A BIL MELELE W Dates oy  Dee    ie  
21. DC 5  Ch 16  Width  3  Time  e4    458018eb Combi  TDC 5  Ch 16  Width  3  Time  eb     c504a004 Trail  TDC 5  EVID 74  WordCount 4     a504bd4f Head   TDC 5  EVID 75  BCID  d4f    458018e1 Combi  TDC 5  Ch 16  Width  3  Time  e1    458018e8 Combi  TDC 5  Ch 16  Width  3  Time  e8     c504b004 Trail  TDC 5  EVID 75  WordCount 4       400    200    Hit Interval T  ns     I I I  Part of hit lost      l l    0 4 8 12 16 20 24  No  of Hit Channels N    Fig  26 Minimum hit interval for simultaneous hit inputs  System clock cycle is 25 ns  The  data points show minimum hit intervals and the straight line indicates the expected  performance from the 2 cycles plus N cycles required by the design     3 4 Vernier Encoder  When a hit has been detected on a channel the corresponding channel buffer is selected  the time    24    measurement done with the ring oscillator 1s encoded into binary form  vernier time   the correct coarse count  value is selected and the complete time measurement is written into the L1 buffer together with a channel    identifier     A part of Verilog code for the encoder is shown in Fig  27  The encoder checks 4 bits set to find clock  edge of the ring oscillator instead of just checking 2 bits  This reduces to catch false edge within the ring    oscillator        assign  1     minimum 4 bit width   MSB     0011     LSB   edge_detect 15 0     vernier 14 0  vernier 15    amp  vernier 15 0   amp     vernier O   vernier 15 1    amp    vernier 1 0   vernier 15 2   
22. ITY CONTROL AND PRODUCTION SCHEDULE    1 Quality Control   2 Procurement and Production Schedule    SUMMARY    REFERENCES    1  Introduction    A TDC with sub nano second resolution is required to obtain the necessary spatial resolution of the  Monitored Drift Tubes  MDT   The high rates expected in the ATLAS detector requires that the TDC is  capable of continuously accepting new hits while selectively extracting hits related to a trigger after the first  level trigger latency  To do this several levels of data buffering is required to keep up with the trigger rates and  hit rates expected in the experiment  In addition  high density and low cost  low power consumption are  required in the TDC     The TDC was named as AMT  ATLAS Muon TDC   and brief summary of the development history is    shown in Table  1     Table  1  Brief summary of the history of TDC LSI development    Year Activities  1990 First TDC LSI was developed  TMC1004  CMOS 0 8 um  at KEK   1994 TDC for the SSC exp  was developed  TMC304  CMOS 0 5 um  at KEK    1996 Collaboration with CERN microelectronics group on the architecture study for the ATLAS TDC  and  requirements document were written  1      1998 A quick test chip  AMT 0  CMOS 0 7 um  was developed and produced at CERN     1999 A test element chip  AMT TEG  CMOS 0 3 um  was developed at KEK   PLL and radiation torelance of the process were tested     2000   Afirst prototype chip  AMT 1  CMOS 0 3 um  was developed     2001 Muon front end electronics
23. Te eae    PLU ELL LRO E F R n    Pe ee eer eat ET Er le r  re nr or ne ae  Jolt Ee  aa ee oe  a T i  rT ee i ee     ha a LTA    ia   wi  FE   real  Ln   _   oi   iy  Lo  Ln   Ji  LEL    a    rau  rer       1m  Lin  i   ta a       LELEL    oo   En      zE E   EN  T    in    aera Pea rie    Fy a L L icity A Boie    m  Thali oo oon wo ae rie  T    La  I   Li  P  I  nu    jE PEN ere   lier ere  ie ee AE of A    ar  I   ar  1    a   al Peery  1 ai  Ta            dis  F    Fig  15 Layout of the asymmetric ring oscillator  Signals propagate as shown in arrow  The  size is about 300 um by 100 um     Tek 10 00575 ET 92406 Acqs     Lats Te a a       Leading Edge       200MY2 Ch2 200mMVQ M5 00ns Aux f 1 67 V  Ch3 200mVQ Ch4 200mVQ    Fig  16  Output waveform of the asymmetric ring oscillator     Phase Locked Loop    Schematics around the Phase Locked Loop  PLL  circuit is shown in Fig  17  Main parts are a  frequency divider  a phase frequency detector  PFD   a charge pump  a loop filter  LPF   and a voltage   controlled oscillator  VCO  asymmetric ring oscillator in this case   An external capacitor  Cvg  is required in    the loop filter     18    Low Pass Filter   amp  Oscillation Stop    gt     Enable Charge Pump  JI    BBBBBBBBBBBBBBBB  0123456789111111 Charge  012345 Pump    Asym  Ring Osc    ceccce  ccececccccccii1111 O  0123456739012345    C gt  To External Capacitor    4 Enable Ring Oscillator    CLK   C        Frequenmcy  Detector       Fig  17 Schematics of PLL and Ring Oscil
24. ader  a trailer and a  mask words for 100 kHz and 400 kHz hit rate respectively  Table  3 summarize these numbers  The column  of rejected hit ratio indicates the ratio of rejected hit to matched hit  Case A will minimize the rejected hit but    has relatively long event delay  On the other hand case C has shortest event delay but the rejected hit ratio will    increase         100kHz    ave  1 77  mask 0 77      400kHz    ave  5 80  mask 0 99     Probability       0 5 10 15 20 25  Number of hits per trigger    Fig  12  Number of matched hits per trigger for 100 and 400 kHz hit rate   Table  3 Summary of simulation for 1 million hits  trigger rate   100 kHz     Buffer No  of No  of No  of words per Rejected Hit Maximum  Hit Rate Control Hits Mask word trig ratio Even  Case per trig per trig  incl  header  trailer Delay    and mask     wow oo o  Ee         e    Summary       We see AMT has enough buffer length and readout bandwidth for 100 kHz hit rate  As for 400 kHz hit  rate  buffer overflow will occur occasionally and event delay will increase if there is no hit rejection  mechanism  By rejecting very small fraction of the data when many hits comes in a very short time  we can    keep event delay to less than 70 usec     3  Circuit Description  amp  Performance    Fig  13 shows a block diagram of the AMT chip  The hit signal coming from the ASD chip via LVDS  is used to store the fine time and coarse time measurement in individual channel buffers  The fine time  measuremen
25. age  current  Fig  55 shows drain leak current for NMOS and PMOS transistors  An increase of NMOS drain leak  current above 25 krad Si  was seen while no increase is seen in PMOS  Recovery of the pre radiation    condition is seen after the annealing in NMOS     Threshold voltage shifts of transistors are shown in Fig  56  There is no shift seen in PMOS transistors  and a NMOS transistor while small shifts   100 mV  are seen in two NMOS transistors  Since these  transistors do not have any protection circuit  the transistors are susceptible to damage  More samples are    needed to confirm whether the shift is due to the irradiation or not     Fig  57 shows variation of oscillating frequency of a ring oscillator and supply current  The ring  oscillator is composed of 33 NAND gates  The oscillating frequency becomes lower above 50 krad Si   The  total chip current was also increased above 50 krad Si      5 2 Neutron Irradiation    Although NIEL test is not required for CMOS chip  we have done a neutron irradiation test at the  PROSPERO reactor facility in France on April 1999  Eight chips were exposed to neutron flux of 1 0 x 10       46     a  NMOS    ld  A     ld  A        before Irrad  Dose  krad  after anneal     Fig  55 Drain leakage current of  a NMOS and  b PMOS transistors  Left most and right most  points show the value before irradiation and after 1 week at 100  C annealing respectively    Vth V     Vth V        10 100  before Irrad  Dose  krad  after anneal     Fig  
26. also done in addition to the typical case simulations  Then glitches and conflict within the chip are also  checked  Summary of the design is shown in Fig  44  Test pattern for DC parameter measurement  I O buffer    tests and BIST test are also prepared     In reality  above process were repeated in various points     Architecture Study  with Verilog Behavioral Model       Spice Parameters  of the Gate Array    SPICE Simulation Pe    of Analog Circuit   PLL  amp  LVDS     Verilog Librar      Register Transfer Level a       a4              Verilog Simulation  with Estimated Delay    Design Library  Logic Synthesis  4 N for Synopsys       Gate level Verilog  Simulation with Estimated Delay  C BIST Logic Insertion        Clock Tree Insertion    Place  amp  Rout     lt  Delay Parameters  Gate level Verilog  Simulation with Actual Delay a    Design Verifications with  Verilog Sign Off Software Sibiitia Mahutacnire    Fig  42 Simplified design flow of the AMT chip        37    amt  chip    tdc_channels Coarse counter    tdc_maera    Ghanbut control  pll      WHI F    hit_controal    mMieropipe control    eonrs   shifter    channel controller    prisvity_cell    channel error  wernier decoder  channel controller test_reg    trig matching    width caleulation    roll over difference    11 butter    ll buffer input    ll Butter r  nd control    AIGO 36    motch detect    trigger data select  trigger watching control    werilog register transfer model werilog gate_level_ model    Fig 
27. am Physics Hamamatsu  November 15 19  1999  Nucl   Instr  Meth  A  Vol  453  pp  365 371  2000      6  Report of the Preliminary Design Review on ATLAS MDT Electronics  ATC RM ER 0012  Feb    2001     7  Avolio  G et al    First results of the 2001 MDT chambers beam test   ATL COM MUON 2001 022     8  John Huth  John Oliver  Werner Riegler  Eric Hazen  Christoph Posch  Jim Shank    Development of an  Octal CMOS ASD for the ATLAS Muon Detector   Proceedings of the Fifth Workshop on Electronics  for LHC Experiments  Snowmass  1999  CERN LHCC 99 33  pp  436 442     9  Trigger and DAQ Interfaces with Front End Systems  Requirement Document  Version 1 0  Atlas  Trigger DAQ Steering Group  January  1996     10  Atlas policy on radiation tolerant electronics  ATLAS Radiation Tolerance Criteria  Rev 2   Radiation  tables were revised on Nov  2001  http   www cern ch Atlas GROUPS FRONTEND radhard htm    11   ATLAS Policy on Radiation Tolerant Electronics   ATC TE QA 0001  July 2001  and ATLAS  Radiation Tolerance Criteria  Rev 2   Radiation tables were revised on Nov  2001   http   www cern ch Atlas GROUPS FRONTEND radhard htm    12  AMT 1 amp 2 User s Manual  http   atlas kek jp tdc amt2     13  AMT 2 Data Sheets  http   atlas kek jp tdc amt2     14  Christoph Posch   MDT ASD  Serial data I O and programmable parameters    http   omc bu edu bmc asd octal spec ASDOOA_Prog PDF     15  AMT 2 Verilog source code  available from http   atlas kek jp tdc PRR Verilog      16  AMT 2 Verilog t
28. anging its value when the hit arrives  To circumvent this problem two count  values  1 2 a clock cycle out of phase  are stored when the hit arrives  Fig  21   Based on the fine time  measurement from the PLL one of the two count values will be selected  such that a correct coarse count    value is always obtained     The coarse counter has 13 bits and is loaded with a programmable coarse time offset  the LSB is always  0  at reset  The coarse counter of the TDC is clocked by the two times higher frequency than the bunch  crossing signal thereby the upper 12 bit of the coarse counter becoming a bunch count ID of the    measurement     The bunch structure of LHC is not compatible with the natural binary roll over of the 12 bit coarse time  counter  The bunch counter can therefore be reset separately by the bunch count reset signal and the counter  can be programmed to roll over to zero at a programmed value  The programmed value of this roll over is also  used in the trigger matching to match triggers and hits across LHC machine cycles  Coarse counter was    successfully tested to run at 120 MHz  Fig  22      21             coarse_count_offset  0  bunch_count_reset Load   count_roll_over  0    Coarse counter  80MHz Clock    Hit    ore Q t YX  coarse    PLL select    Coarse Count    Fig  21 Phase shifted coarse counters loaded at hit     Accumulate  tT    sec Diyv        J    COARSE 11  COARSE 12       Fig  22  Coarse Counter test at 120 MHz   3 3 Channel Buffer     Each channe
29. ble  10 and summary of test pattern coverage  is shown in Fig  45  Those patterns are available from PRR web site  16   Toggle check coverage is 99 06      Most of non activated nets belongs to un used gates     Table  10 Summary of test patters for production test     fn1  fn2  fn3  find  fn5  ing  fn7  fn9       39    SELECTED TOGGLE FILES AND RESULTS  Top module name   amt2_chip  Input toggle check results file s    AMT2  Pca ale  AMT2      n2  AMT2  gins  AMT2   fn4  AMT2  ven  AMT2   fn6  AMT2  eit   AMT2  SENG  AMT2  sEn9  AMT2   fn10  AMT2  raps ag  AMT2  sinl2  AMT2  Em  AMT2   idds  AMT2   hiz  AMT2 tg pll  AMT2  oe   AMT2   bist             Number of total nets  Number of toggle    O  and  1  activated nets   O  activated nets    1  activated nets  Non activated nets   Toggle check coverage       Fig  45 Summary of Test pattern coverage     4 3 Time Resolution and Non Linearity    Time resolution was measured by supplying a clock synchronous hit signal to the input and varying the  delay time of the signal  The result is shown in Fig  46  The RMS value of 300 ps is obtained    Non linearity of the time measurement was measured by applying a hit signal for which the delay time  is uniformly distributed  and counting the number of hits recorded in each bin  The Differential Non Linearity   DNL  and Integral Non Linearity  INL  are shown in Fig  47  a  and  b  respectively  Both are small enough   RMS  lt  70 ps  for our purpose        400  RMS 300 ps  300  Y  S 200  O
30. ble only through an error word and shown in Table  5    Table  5  Temporary Errors    L1 buffer overflow 9 L1 buffer becomes full and hit data have been lost  Trigger FIFO overflow 10   Trigger fifo becomes full and events have been lost    10  Readout FIFO overflow Readout fifo becomes full and hit data have been lost  2    Hit error l A hit measurement have been corrupted  channel select error or  coarse count error        3 11 CSR Registers    There are two kinds of 12 bits registers   CONTROL  and  STATUS  registers  The  CONTROL   registers are readable and writable registers which control the chip functionality  The  STATUS  registers are    read only registers which shows chip statuses     There are 16 Control registers  CSRO 15  and 6 Status registers  CSR16 21   These registers are  accessible through 12bits bus and JTAG interface  Fig  36   Bit assignments for the  CONTROL and   STATUS  registers are shown in Table  6 and Table  7 respectively  Detailed explanation of these bits are  available in AMT User s manual  12      31    Table  6  Bit assignment of the control registers     CSRO global_re    error_ i disable_i enable_ test_ test_   enable_i disable_ clkout_mode pll_multi    reset i encode   errrst_   mode   invert   direct   ringosc        berevr          CSR6 bunch_count_offset  CSR7  CSR8    CSR9 strobe_select readout_speed width_select    CSR10   enable_  enable_ienable_ ienable_   enable_ i enable_ienable_   enable_  enable_ienable_   enable_   enable_  
31. ction    Reject  Counter    l  l  l  l  l  l  l  l  l  l  l  Matching l  l  l  l  l  l  l  l  l  l  l       Fig  50 Block diagram around L1 buffer and Trigger matching circuit     43     2006 086 f       ll butferl  write_address    l1_bufferl read_address IT 7 Ge ee ee 02  1ib_r_cont out_data_adr 00 01 a   OE 01   11_butter1  start_address g     i    ntroll  load read address        utfer_read_controll  n47 2    troll  load_start_address            erl 11_buffer_inputl clk    g controll  trigger_ready      _matching controll state  _matching controli  empty    matching controll to_old    _matching controll match  tching_controll to_young  matching cmtroll reject    ql  match_detectl hit_tag lai  gl  match_detect1 trigger    REJECT COUNT Qc mc mC eC i Ci a oe el et earn  atch _detectl tag compare 016   99 02e Oa2   Oal   Oa   09      Fig  51 Signal timings around the point A  matching hit search       In this Fig  51  address  0  contains an old hit  and address  1  contains a matched hit  After this process     Start_address has a correct value of  1      1i bufferl  write_address   11 butferl read_address   lib r_cont out_data_adr  1i butterl start_address    ntroll load read address  utfer_read_controll  n4 2  troll  load_start_address  erl 11_ butfer_inputl clk  g controll  trigger_ready  _natching controll state    _matching controll  empty  matching _controll to_old  matching controll  match  tching_controll to_young  natching_controll reject    gl  match_detectl hit_ta
32. e embedded inside the detector requires special attention on  monitoring and in system testing capabilities  The cause and place of hardware failures must be detectable  without opening the detector such that the effect of a hardware failure can be minimized and such that a repair  can be performed fast and effectively  A relatively slow bi directional communication path is also necessary to  be capable of loading setup and calibration parameters before data taking and to monitor the system during    operation     The standard IEEE 1149 1 JTAG protocol is used for this purpose  The use of full boundary scan  enables efficient testing of TDC module failures while located in the system  Testing the functionality of the  chips themselves are also supported by JTAG  To insure fast and effective testing of embedded memory and    data path structures in the TDC chip special scan path registers is implemented for this     Power Consumption    The chip will be mounted in a Farady cage at the end of MDT chamber  Therefore low power    consumption is required  Power consumption around 10 mW ch is a target value     Specification Summary    Specifications of AMT chip is summarized in Table  2     Table  2 AMT Specifications  System clock frequency is 40 MHz     e Least Time Count  e Time Resolution  e Dynamic range    e Max  Trigger Latency  e Int  Diff  Non Linearity    e Difference between channels  e Stability   e Ring oscillator frequency   e No  of Input Channels   e Level 1 Buffer
33. e hardware error will seldom  occur  and it can be checked through JTAG at the beginning and end of run  This function is not mandatory     The reason of the malfunction is still under investigation     5  Radiation Test    Radiation test results are documented in different material    AMT 2 TID Test Report   17  and   AMT 2 SEE Test Report   18   These tests were done following the ATLAS standard test method  and there  was no severe effects in the AMT chip under estimated conditions  Some other results obtained in other test    are shown below     5 1 Gamma ray Irradiation  TID     In ATLAS standard test method  we have not seen any damage to the AMT 2 up to 20 krad  while total  dose expected for worst location of the MDT electronics is 10 5 krad Si  for 10 years LHC operation  Here we    show other test results especially on the effect to the transistor parameter with gamma irradiation     Gamma ray irradiation test was done at Tokyo Metropolitan University with a Co    source  The  irradiation rate was about 90 rad Si  sec  and total dose irradiated was 100 krad Si   During the irradiation so  called worst bias conditions for MOS transistors  3 3 V is applied to NMOS gate  and no voltage is applied  to PMOS gate   were used  To study post radiation effects  parametric measurements were also done after  annealing  1 week at 100 degree C  following the MIL STD 883 method  19      In a sub micron process  most severe damage from the ionization process is an increase of leak
34. e have also done simulation for leading and trailing edge mode   This will double the data rate inside the AMT chip  Fig  6 shows the channel buffer occupancy at 400 kHz hit  rate  that is 800 kHz edge rate   Occupancy in the figure means number of remaining hits in the channel buffer  when a new hit arrives  Occupancy equal 4 means the new hit can not be written and rejected  For 1 million    simulated hits  the average occupancy is 0 25 and we have not yet seen hit with occupancy equal 4     ue     400kHz  ave  0 25     Probability       Channel buffer occupancy    Fig  6 Channel buffer occupancy in leading and trailing edge mode at 400 kHz hit rate     First level buffer occupancy    The average level 1 buffer occupancy when not taking into account the processing time of trigger    matching and ASD dead time can be calculated as     TriggerLatency  2 5us    Mask Window  800 ns   TN ee a        7 9   100KHz   Hit Interval  10 us     24    The simulated first level buffer occupancy is shown in Fig  7  Average occupancy at 100 kHz hit rate is 7 5  and agrees well in the expected value  At 400 kHz hit rate buffer overflow will occur due to the bandwidth  limit of the serial output  When the hit rejection at matching circuit is enabled  the buffer occupancy drops  from above 192 words where the data rejection will start in case B  The buffer occupancy drops around 50    words in case C     12    l     100kHz Hit ave  7 5  10         400kHz A ave  27 4       400kHz B ave  26 6  
35. e into account which hit occurred first  This have important    effects on the following trigger matching     Load request register when o  all previous requests in register Channel to write into buffer  have been serviced    Hardwired priority encoder    Highest priority Lowest priority    Request register       Ch 0 Ch 1 Ch 22 Ch 23    Fig  24 Registered hardwired priority arbitration of channels     Recording speed of the channel buffer is important to have a good double pulse resolution and edge  separation  Minimum edge separation was determined by reducing pulse width and pulse separation until the  hit information is lost  Fig  25 shows an example of short pulses  Two pulses are measured in a pair mode    successfully     23    The data transfer speed from the channel buffer to the L1 buffer is measured by changing the number of  simultaneous hit channels and determining the minimum hit interval where all hits are accepted  In Fig  26  minimum hit interval for N channel simultaneous inputs are plotted  Above the data point all hit information  is recorded  but if the hit interval is reduced less than the data point  a part of the hit information become lost  due to the lack of the transfer capability  The line in the figure shows expected speed from the circuit  We    confirmed the overhead for arbitration is only 2 cycle and successive data transfer occurs at each cycle     Tek SH 4 00GS s 2215 Acqs  F     a504a975 Head   TDC 5  EVID 74  BCID  975    458018e4 Combi  T
36. ecial word with error flags is generated  All data belonging to an event is written into the  read out FIFO with a header and a trailer  The header contains an event id and a bunch id  The event trailer    contains the same event id     The search for hits in the first level buffer  matching a trigger  can not be performed in a simple  sequential manner for several reasons  As previously mentioned the hits are not guaranteed to be written into  the first level buffer in strict temporal order  In addition a hit may belong to several closely spaced triggers  A  fast and efficient search mechanism which takes these facts into consideration is implemented using a set of    memory pointers and a set of programmable time windows     Write pointer  Memory address where new hit data is written    Read pointer  Memory address being accessed to look for a time match    Start pointer  Memory address where search shall start for next trigger    Mask window  Time window before trigger time where masking hits are to be found   Matching window  Time window after trigger time where matching hits are to be found   Search window  Time window specifying how far the search shall look for matching hits      extends searching range to compensate for the fact that hit data are not perfectly  time ordered in the first level buffer    The pointers are memory addresses being used during the search as illustrated in Fig  32 and the  windows are measures of time differences from the trigger time to the 
37. ectable    for future upgrade      At a 400 kHz hit rate per TDC channel and a trigger matching window of 800 ns  an average of 6 hits  per TDC is expected at highest rate locations  For each hit  36 bits  32 bits data   start bit   2 stop bit    parity  must be transferred from a TDC to the CSM  With a trigger rate of 100 kHz this requires an average  serial bandwidth of 32 Mbits s per TDC including the header  trailer and a mask word     Serial Link Protocol    A coding scheme of the serial data is the two wire signaling scheme  Two protocols and two clocking  schemes are prepared  One protocol is the DS protocol   IEEE P1355   which keeps the required bandwidth to  an absolute minimum  Another one is simple data and clock pair  data is latched at clock edge   This requires  higher bandwidth in the link but simplify the receiving circuit  Present CSM module  CSM O  are using this    simple data and clock pair mode  As for the clocking  there are two options  continuous clock and gated clock     To limit the number of cables in the detector it is not considered to have a back propagation signal from  the DAQ to the TDC telling it to stop sending data in case buffers in the DAQ system are running full   Instead buffer full flag is added to data if the buffer overflow occurs and the TDC must be capable of    recovering event synchronization locally without any higher level intervention from the DAQ system     System_setting and debugging     The fact that the TDC is going to b
38. ed  One event    in the process of being trigger matched and a third event in the process of being read out     Readout    Trigger    event 1 data Readout         oe  FIFO trigger 5  event 3    ee ee  eee NLLE ELY event 4  j E  Buffer LL ED EF  A Mie A event 5    7 NZ NANA NANGANZANZN    event 6       Channel  Buffer    Hit Hit Hit    Fig  4  Processing of several events in parallel     Bunch Counter and Coarse Counter    There are 3 564 clock periods per LHC beam revolution  Bunch crossings are identified with a 12 bit  Bunch Crossing Identifier  BCID   9   To correctly identify hits within the bunch structure a 12 bit coarse    time counter is required in the TDC     Trigger Interface    When a trigger signal is given to the first level buffers  measurements related to that event must be  extracted from the buffer and sent to the data acquisition system  Main trigger conditions given from ATLAS    group are following   e maximum level 1 trigger rate is 75 kHz  100 kHz in future upgrade   e level 1 trigger latency is around 2 5 us  e minimum interval between two triggers is 125 ns    Each event accepted by the first level trigger is identified by a 24 bit event ID at the system level  At the TDC  a reduced event ID of 12 bits is used     Input and Output Signal Level    It is of vital importance that noise from digital signals on the front end board is kept to an absolute  minimum so the small analog signal from the tubes are not corrupted  LVDS  Low Voltage Differential  Si
39. est patterns  available from http   atlas kek jp tdc PRR TestPattern      17  Y  Arai  AMT 2 TID Test Report   June 1  2002  http   atlas kek jp tdc PRR       18  Y  Arai   AMT 2 SEE Test Report   June 6  2002  http   atlas kek jp tdc PRR       19  Test Method and Procedures for Microelectronics  MIL STD 833  Method 1019 4     20  Y  Arai   AMT 2 SEE Test Report   June 6  2002  http   atlas kek jp tdc PRR       50    
40. gnaling  IEEE 1596 3  signals are used for all connections to from the TDC which are actively running    while taking data     Data Packet and Output Band width    Data packets of 32 bit are used in the serial data stream  The first four bits of the packet are allocated to  a type identifier which specifies the type of data  The following four bits are allocated for a TDC chip  identifier  This ID is used just for confirmation of the connection  Since maximum number of TDC per  chamber is 18  actual TDC ID is added to data at the CSM  Event data from different events can be separated    by the optional use of a header and a trailer     The header contains the event ID and bunch ID of the event being readout  The trailer contains the event  ID and a word count  All required information from a hit  type identifier  TDC ID  channel ID  leading edge  time plus pulse width are contained in one 32 bit word  The conditional mask flags for the 24 TDC channels  are also contained in a single 32 bit word  In case a TDC have detected an internal error condition  e g  buffer    overflow  it sends a special error status packet for all events which may have been affected by the error     Hit data selected by a trigger is transferred from the TDC to the CSM  Chamber Service Module  located  outside the detector  The distance from the TDCs to the CSM is of the order of 10 meters  The connection  from the TDCs to the CSM is performed on serial links of 40 Mbits s  optionally 80 Mbits s is sel
41. hough there    were several troubles with electrical noise  DAQ hang up etc   more than 13 M events were acquired 7      In parallel with the AMT 1 test  next version of the AMT chip  AMT 2  was designed and developed  It    implements new low power LVDS receivers to reduce power consumption  In addition  minor bugs were    3    fixed  testability is increased  and a JTAG control circuit for the ASD  Furthermore  clock timing within the  chip was carefully adjusted  Recently a new mezzanine board which implements AMT 2 and ASD 8 chips are    produced and being tested at Univ  of Michigan and many other places     During these development  preliminary radiation test had been done to the AMT TEG  AMT 1  and we  got a feeling that the gate array process has adequate radiation tolerance  Then we have done gamma and    proton irradiation test to the AMT 2 chip following ATLAS standard test method   2  Requirements and Specifications    2 1 MDT Front end System    Block diagram of the MDT front end electronics is shown in Fig  1  Three ASD  Amp Shaper Discri   chips  8  and one AMT chip are mounted on a small multi layer printed circuit board  mezzanine board  Fig   2   which plugs into a MDT end plug PCB  signal hedgehog board      Two modes of operation will be provided in MDT measurement  In one mode the ASD output gives the  time over threshold information  1 e  signal leading and trailing edge timing  The other mode measures  leading edge time and charge  pulse width   The Wil
42. ined  measurement  an error word insertion    will be used if the error information is needed     When the channel buffer have performed the required measurements a request to be written into the clock  synchronous first level buffer is issued  This request signal is synchronized to avoid possible meta stable  states and then processed by the channel arbitration logic  When paired measurements of a leading and a  trailing edge is performed the two measurements are taken off the channel buffer as one combined  measurement     Trailing Leading    data data Request    Select  channel              4    Coarse T Fine T    Channel  enable              Load    Hit buffer  controller     4W        Edge  detection       Hit    Fig  23 The channel buffer control scheme     When several hits are waiting to be written into the level   buffer an arbitration between pending  requests is performed  A registered arbitration scheme illustrated in Fig  24 is used to give service to all  channels equally  Each channel have a hardwired priority but new requests are only allowed into the arbitration  queue when all pending requests in the queue have been serviced  The request queue is serviced at a rate equal    to the clock frequency     The time measurements are not written into the level 1 buffer in strict temporal order  A request to be  written into the first level buffer is not made before the corresponding pulse width measurement has been  finalized and the channel arbitration does not tak
43. introduce single event effect  SEE   Especially single event upsets   Soft SEUs  will accidentally change the state of a memory element in the TDC  The effect of such an event  should be detected by the TDC  so parity bits are prepared in data buffers and control registers  Soft SEUs rate  can be calculated as follows   Soft SEUf    Soft SEUm   ARL  x  SRLsee   10   s  x SFsim  Where    Soft SEU  is the foreseen rate of soft SEU in a given location    Soft SEUm  is the total number of soft SEU measured in proton beam tests    ARL  is the Applied Radiation Level    SRLsee  is the simulated Radiation Level in 10 years      SFsim  is the safety factor of the simulation  and is  5      Maximum value of the SRLsee is seen in Endcap 1 region and is 8 31 x 10   h cm    y  for hadrons  energy  gt  21 MeV   11   Average value of the SRLsee weighted by number of channels in each position is  2 x 10   h cm    y  There are 11 360 bits memory in a AMT chip  so in total there are 2 x 10   bits in MDT  system  To keep the single event upset rate less than 1 upset day  or 200 upsets year   SEU cross section  must be less than 10   cm       In addition to the SEU  destructive SEEs  such as latch up  should be avoided or some special care must    be taken   2 4 Architecture Study with Simulations  To get a feeling of the performance of a TDC in a real system  it is required to perform simulations of    the architecture using hits and trigger signals with realistic characteristics  Several simu
44. it   5 bit        Fig  28  Definition of coarse time and fine time     3 5 L1 Buffer     The L1 buffer is 256 words deep and is written into like a circular buffer  Reading from the buffer is    random access such that the trigger matching can search for data belonging to the received triggers     In case the first level buffer runs full  the hit measurements from the channel buffers will be discarded   A special buffer overflow detection scheme takes care of handling the buffer overflow condition and properly    marking events which may have lost hits     When the first level buffer only have space for one more hit   full  1   and a hit measurement arrives    25    from the channel buffers  the hit is written into the buffer together with a special buffer full flag  After this  the buffer is considered full and following hits are discarded  When 4 measurements have been removed from  the buffer by the trigger matching   full   4  and a new hit arrives  the buffer full status is cleared and the hit is  written into the buffer with the buffer full flag set  This situation is illustrated in Fig  29 where the two hits  with the buffer full flag set is shown  These two hits define a time window where all hits have been discarded  and this is used in the trigger matching to detect if an event potentially have lost some hits      a  full T recover T         g ga    Events    Events with overflow data  overflow flag         b        coarse time       Fig  29 First level buffer overf
45. k periods  A command is signaled with a  start bit followed by two bits determining the command  When using encoded trigger and resets an additional  latency of three clock periods is introduced by the decoding compared to the use of the direct individual trigger    and resets     Table 1 Encoded signal bit pattern     Meaning bitl  210    Global reset       3 9 Serial Readout    All accepted data from the TDC can be read out via a serial read out interface in words of 32 bits  The  event data from a chip typically consists of a event header  accepted time measurements  mask flags  error    flags  if any error detected for event being read out  and finally a event trailer     The accepted TDC data can be transmitted serially over twisted pairs using LVDS signals  Data is  transmitted in words of 32 bits with a start bit set to one and followed by a parity bit and 2 stop bit  Fig  33    The serialization speed is programmable from 80 to 10 Mbits s  In addition to the serialized data an LVDS    pair can carry strobe information in a programmable format     Leading Strobe  Direct serializing clock to strobe data on rising edge     DS Strobe   DS strobe only changes value when no change of serial data is observed           seriaro       P  PL  JTLILILILILIL    Serial data stop start bit 31    bit 30 stop start    36 bits word          Fig  33 Serial frame format with start bit and parity bit  leading strobe mode      29    Tek 4 00GS s ET 352983 Acqs DPO Brightness  8    Fet     
46. ked hit information can be sent out with one word per event using a flag bit    for each channel     5    Since the drift time of the MDT tubes is longer than the minimum interval between two triggers  some  hits may be shared by several triggers  This is illustrated in Fig  3 where some hits are shared for event N and  N 1  Randomly accessed memory is therefore required instead of a FIFO for the first level buffer to handle  shared data     Bunch  Cross    Level 1  Trigger       Mask Window           lt     Matching Window        event N  nts a   a    Mask Window     gt   lt       Matching Window     gt      i we Shared Hit in event N and N 1    Fig  3  Mask  amp  Matching window and a shared hit     Time Measurement and Pipeline Processin       The maximum hit rate in a wire is estimated to be 400 kHz while most of wire has less than 100 kHz  hit rate  Inefficiency due to the buffer overflow of the AMT must be negligible compared with detector  inefficiency    The timing of both leading and trailing edge of the hit signal can be stored as a pair to enable a pulse    width measurement to be performed  Optionally the leading edge only or the trailing edge only  or both    independently  time measurement can be performed in case the pulse width measurement is not required     The signal path from the trigger and hit inputs to the readout contains several buffers so multiple events  can be processed at the same time as shown in Fig  4  One trigger in the process of being receiv
47. kinson ADC serves as a time slew correction and also  provides diagnostics for monitoring chamber gas gain  It operates by creating a gate of  20ns width at the  leading edge of the signal  integrating charge onto a holding capacitor during the gate  and then running  down the hold capacitor at constant current  the maximum rundown time is of order 200ns   The    discriminator also generates artificial dead time of  800 ns to avoid multiple hits     MDT Bipolar Shaping    GH   Thresh 3      AMT     ATLAS Muon TDC           artificial dead time i    Preamp  p  Shaper Discri Leading   Trailing    Time to Digital    Trigger        i Conversion                 I  I     L1 Buf I  8ch l      Charge      M       Leading   Charge  i Integration A 7 p i Data  I        r TOO     1X8 ch   ASD l   to  aS SS SS SS SS Se   Chamber  _S eS S Seee SS S S Ss SS Se SS Ss ee SS SS   8ch   I S     j l ervice  me ASD na PLL     Module  Se ee ee sa ee eS ee ee    8ch l  24 ch  aL ASD amet f      Fig  1 MDT front end electronics  AMT chip receives timing signal from three ASD chips and sends data to a  CSM     I O Connector      i he  JE chal  ap     LJ  pe    aE     lt  ai tem        CTH EE yi  MDT Protection  Inputs       Analog Section Digital Section    Fig  2  Mezzanine Lite Board Layout  The TDC chip will be mounted with 3 ASD chips     2 2 Requirements to the AMT    We summarize the requirements to the AMT in this section  Although some parameters were changed    in past 6 years  most of the 
48. l has a small buffer where measurements are stored until they can be written into the  common on chip level 1 buffer  The channel buffer is implemented as a FIFO and can contain two complete    time measurements  leading and trailing edge  as show in Fig  23     The channel buffer is controlled such that it is capable to measure the minimum pulse width of  10 ns   To measure the pulse width of the hit signal a time measurement pair consisting of a leading and a trailing  edge is assembled  The leading and trailing edge measurements can be performed as separate measurements  written into a common buffer and then paired at the output of the channel buffer  The channel buffer also    works as 4 word buffer for leading and trailing edge measurement mode     If a hit occurs when the channel buffer is full  it will be not be saved and no time measurement will be  performed  although the loss of hits due to overflow of the channel buffer is extremely small as shown in  section 2 4   The information of the rejected hit should be transferred to next valid hit     enable_rejected    0    Instead the information of the rejected hit can be transferred as soon as the channel buffer is available      enable_rejected    1   In this case the time of the data is the time when the buffer is available and not  actual data  The information of the rejected hit is reported by  E  flag of a data word in edge measurement     22    Since there is no location of  E  flag in the data word of pair  comb
49. lations of the TDC    architecture under different conditions were done by using the Verilog simulator  2  in 1996     Since then  several changes have been happened in MDT detector and AMT design  simulations are re     done to check the correctness of the architecture  and results are shown below     The baseline simulation conditions are the following     10    e 100 and 400 kHz hit rate  2 3 random hits and 1 3 correlated hits  4 hits     e 100 kHz trigger rate  minimum separation is 125 ns    e drift time  0   800 ns   e pair  leading edge and width  mode measurement    e pulse width   10   200 ns   e dead time   800 ns  generated by ASD    e trigger latency   2 5 us   e mask  amp  matching windows   800 ns   e search window   1000 ns   e reject offset   3 5 us   e both header and trailer words are read out  enable_header 1  enable_trailer 1   e amask word is read out if exist  enable_mask 1    e Speed of the serial readout is 40Mbps    e disable data rejection when trigger fifo is full  enable_trfull_reject 0     The distribution of the hit and the trigger has exponential distributions  and one third of the hit generate  4 channel hits at a same time to emulate a jet  Block diagram of the AMT buffers are shown in Fig  5     Detailed explanation of the AMT circuit is available in next chapter   We have done simulations for 3 cases of buffer control   Case A   No hit rejection when the readout FIFO become full  enable_rofull_reject   0     Case B   Hit rejection when the 
50. lator in AMT 2     The frequency divider is selected from 1 1  1 2  1 4 and 1 8  and 1 2 is used in ATLAS  The control  voltage is split into 2 lines  VGNI and VGN2  to control oscillation start and stop     Fig  18 shows relation between internal clock and external clock for both AMT 1 and AMT 2  In  AMT 1  there are two flip flops  F1 and F2  to divide the 80 MHz clock to 40 MHz clock  each output is used  in the PFD and internal clock generation respectively  We occasionally experienced half cycle  12 5 ns  phase  shift between external clock and the internal clock  It is caused when reset is not asserted after power on or  external clock is disappeared temporally  To avoid this shift  only 1 flip flop is used to divide the 80 MHz  clock in AMT 2     Although the chip is designed in a gate array technology  layout of the time critical parts such as PLL  and the asymmetric ring oscillator were designed manually to achieve high accuracy  We measured the jitter of  the PLL circuit by measuring the oscillation period of each cycle  Fig  19  a    RMS values of the jitter  versus frequency and power supply voltage are plotted in Fig  19  b   The jitter of the PLL is small    150 ps   and stable for the 40 120 MHz frequency range and for supply voltages between 2 6   3 6 V  normal operating  condition is 80 MHz and 3 3V respectively      We observed PLL lock process in AMT TEG  Fig  20 show the output of ring oscillator and control  voltage during lock process  An external capaci
51. low handling   a  Events of which matching time overlap with  the period of overflow are marked   b  Full time mark in the first level buffer   c  Recover time  mark     3 6 Trigger Interface  amp  Trigger FIFO    The trigger interface takes care of receiving the trigger signal and generate the required trigger time tag    and event number to load into the trigger FIFO     The basis for the trigger matching is a trigger time tag locating in time where hits belong to an event of  interest  The trigger time tag is generated from a counter with a programmable offset  When a trigger is    signaled the value of the bunch counter  trigger time tag  is loaded into the trigger FIFO  see Fig  30      In case the trigger FIFO runs full  triggers are rejected and complete events from the TDC are  potentially lost  This would have serious consequences for the synchronization of events in the readout of the  TDC  A full flag in the trigger FIFO together with the event number of the triggers are used to detect the loss  of triggers and to make sure that the event synchronization in the readout is never lost  If a positive trigger is  signaled when the trigger FIFO is full the trigger interface stores the fact that one   or several   triggers have  been lost  As soon as the trigger FIFO is not any more full the event number of the latest lost trigger is  written to the FIFO together with a trigger lost flag  The trigger matching can then detect that triggers have  been lost when it sees the
52. ne is force rejection      enable_rejected   1  in which a rejected flag is reported as soon as the channel buffer is available  The other    way is report in next valid hit     enable_rejected   O  in which the rejected flag is attached to next valid hit     Although the force rejection works correctly  the report in next valid hit does not work due to a timing  error in a channel buffer controller  Since there is no possibility of hit rejection in pair mode operation due to  the ASD dead time  see section 2 4    this does not affect to data quality  Even in leading and trailing edge  mode  the possibility of the rejected hit is less than 10    section 2 4       Trigger Matching Error    We found a phenomena in which hits will be missed or a false hit will be matched in AMT 2  The    mechanism is very complicated  and it happens in very special situation     The phenomena will occur  see Fig  49  if the time between two hits is longer than  reject_offset   52  usec     or precisely saying  52 usec 104 usec x N  lt  Time   reject_offset  lt  104 usec 104 usec x N  104 usec  is a full range of AMT   and there are two triggers after the second hit  Hit2   In this situation second trigger   Trig2  will miss the Hit2 even if it is within matching window  Interesting thing is that Trig  will not miss  the Hit2     The source of error is miss count of start pointer and an old hit will remain in the L1 buffer  Sometime    42    this old hit will change to young hit if half cycle of 
53. q  gl  match_detectl  trigger    REJECT_COUNT BRD i   19f lal   lal la     lad lad   lab lab   la  1a   1a9    atch detect1 taq_com 006  005   O04 003 O02 001 O00       Fig  52 Signal timings around the point B  old hit rejection      Then after some time  Fig  52   the data in address  1  become old  so output_data_address  out_data_adr   is incremented to  2   However the start_address still points address  1   Here the start_address should also be    incremented to  2      Although the start_address points wrong address  the trigger matching proceeds correctly if next hit    comes within 52 usec  since the data in address  1  is rejected anyway     44    CIA    1i _bufferl  write_address   11_butferl read_address   lib r_cont out_data_ adr  1i _bufferl start_address    ntroll load_read_address  utfer_read_controll  n472  troll  load_start_address  evl 11_butfer_inputl clk  g controll  trigger_ready    _natching controll state 001 002 O08    _matching controll  empty     natching_controll to_old    _matching controll  match      tching_controll to_young        matching controll reject  ql  match_detect1 hit_tag    gl  match_detectl  trigger  REJECT_COUNT    atch_detect1 tagq_compare       Fig  53 Signal timings around the point C  Trig 1      Then assume there is no hit in more than 52 usec and a first trigger  Trig   arrives  Fig  53   Since the  out_data_adr is pointing new hit address of  2   this trigger can find correct hit  Hit2   However  at the end of  the process  
54. readout FIFO become full  enable_rofull_reject   1  and L1 buffer    occupancy become nearly full  enable_l1full_reject  1      Case C   Hit rejection as soon as the readout FIFO become full  enable_rofull_reject   1     enable_llfull_reject  0      Simulation for 80 Mbps serial speed was also done in some case     ROGER GR ERR GH GER RE ERR GE ER ERR CHER ERE GR ERR HR ER EE    Parallel to Serial Converter  Readout FIFO   64W   Trigger FIFO   SW  Trigger  Matching  Stan Porter j gt   Level 1 Buffer   256W     x24  S     Channel Buffer 1   24ch  7  j    i        e me O A A A A A A A A A A A A a A e    Fig  5 Block diagram of the AMT buffers           Serial Oul                AS AS OME OBS EE EE S    Trigger               AS AS OU RE OG EE GEE ERE a EE    Hits       AS A ay  TE O BS AS OER GHEE EES OEE O EA EE ECE GREE OE EE EE CEE EE RE EE GEE EE EE    11    Channel buffer occupancy    There are two locations  4 words  to store a pair measurement in a channel buffer  If the two locations  are full when new hit arrives  the new hit will not be saved in the channel buffer  However  in the MDT  condition  800 ns dead time are introduced by the ASD  Since it takes only 650 ns  2   24 clock cycles  to  move all pair measurements to the L1 buffer  there is no possibility for the hit rejection at the channel buffer   This is also confirmed with several millions of hit simulations  We never observed channel buffer occupancy    more than one     To see the channel buffer occupancy  w
55. requirements discussed in reference  1  are still valid     Number of channels per chip    There are about 370 000 MDT tubes in total  Since the number of tube layers is 3 and 4  and the ASD  chip will have 8 channels per chip  a 24 channel TDC matches well this configuration  In total 16 000 chips    and some spare chips are required for the MDT     TDC Clock    A TDC clock with the same frequency as the bunch crossing rate must be used  In this way the coarse  time count can be correlated directly with the bunch count  In some internal parts of the TDC  such as the  PLL or the serial interface  a 2 times higher clock frequency  80 MHz  is used to improve performance  A    high speed clock in this case is phase locked to the beam clock     Time Resolution    The resolution of one single MDT has to be better than 80 um  During the development of the AMT  chip  the baseline gas of the MDT was changed to Ar CO  93 7  This gas causes the non linearity of the rt   relation and a longer drift time  tmax   800 ns   Although the requirements to the time resolution was a little  bit relieved  a timing resolution of better than 1 ns is sustained and  300 ps resolution is foreseen in the  AMT     Detection of Masked Hits and Shared Hits    The signal from a round drift tube has a long tail  A second track might therefore be masked by the  signal tail of a preceding track  The existence of a preceding hit can be detected by checking the data before the  trigger matching region  This mas
56. sed in the design are summarized in Table  9     Table  9 User Macro and Mega Cells used in the AMT        Then register transfer level modules are ported from AMT O  3  design and modified to fit to our design     To understand the Verilog code of the AMT O  many block diagrams and state diagrams are created in this    36    process  The block structure of the modules are shown in Fig  43  Source codes of the AMT 2 are available  from PRR web site  15   Actual gates are synthesized from the Verilog codes and gates are mapped to the gate  array  The generated gates are simulated again with estimated delay parameters  After several iterations  the    design was sent to manufacture     At the manufacture  they insert BIST logics  then all gates and macro s are placed and routed  During  this process clock trees which meets timing requirements of the chip are automatically generated and inserted  in to the circuit  In placement  PLL and WMRTMC cells are placed near control voltage  VGN  pin  and  channel buffers are grouped in a place  Extracted delay information are back to us from the manufacture and    simulation with actual delays were performed     At final stage  the design has been verified with Toshiba VSO  Verilog Sign Off  software  It checks  drive limit  electro migrations  setup and hold times and so on  Test pattern used in IC testers at manufacture  are converted from Verilog test patterns  16  to Toshiba standard format  Worst case and best case simulations  are 
57. st  AMT 3   q   ___  _  lt q _______    lt q  gt     Fig  59 Schedule of the AMT development and production     7  Summary    AMT LSI has been developed for the time measurement of the MDT detector  Radiation test of the chip  was done for TID and SEE  and the chip showed adequate tolerance  Many tests were done in laboratories  on  chamber and in beam test  and showed good performance  Unfortunately  or fortunately  a serious bug was  found in trigger matching circuit recently  so we need one more iteration  However  we think this iteration    can be done in parallel with procurement procedure  so mass production in next spring is still possible     49     8  References     1  Y Arai and J  Christiansen   Requirements and Specifications of the TDC for the ATLAS Precision  Muon Tracker   ATLAS Internal Note  MUON NO 179  14 May 1997     2  Y Arai and J  Christiansen   TDC Architecture Study for the ATLAS Muon Tracker   Proceedings of the  Third Workshop on Electronics for LHC Experiments  London  Sep  1997  CERN LHC 97 60  pp315   319     3  J  Christiansen   AMT 0 manual   http   micdigital web cern ch micdigital amt htm     4  Y  Arai   Performance and Irradiation Tests of the 0 3 um CMOS TDC for the ATLAS MDT    Proceedings of the Fifth Workshop on Electronics for LHC Experiments  Snowmass  1999   CERN LHCC 99 33  pp 462 466     5  Y  Arai   Development of Frontend Electronics and TDC LSI for the ATLAS MDT   7th International  Conference on Instrumentation for Colliding Be
58. t is obtained from 16 taps of a asymmetric ring oscillator which is stabilized with a Phase Locked  Loop  PLL   The coarse time measurement is obtained from a 13 bit counter  The timing of both leading and    trailing edge of the hit signal can be stored as a pair to enable a pulse width measurement to be performed     15    The time measurements from the channel buffers are stored during the first level trigger latency in a  common level 1 buffer  First level triggers converted into trigger time tags and a corresponding event ID are  stored temporarily in a trigger FIFO waiting to be matched with the hit measurements from the first level    buffer  Hits matching triggers are written into a readout FIFO waiting to be transferred to the DAQ system  via a serial link     The architecture of the AMT is also described in several documents  12  13  in detail     ASD  Control  Data I O JTAG signals    JTAG TAP  m i   me A Registers      Status Registers _    Status Registers _            Serial   Data qt ig Parallel to Serial Converter   Serial   Strobe h Readout    Encoded FIFO    Encodec Serial      Control J gt  E  64W     Control O     Trigger     Reset  _    TrigTime Counter    Eo E out   Ta hee    On  J Mask Window  Trigger  em   a  iz Matching   matching Window  a re eee    Search Window    Start Pointer   Pointer    Status   Channel  Pulse Width Edge Time    Read Pointer   Pointer       gt      a      17 ae    __    Level 1 Buffer    aa fe  a     Write Pointer   gt  C C    
59. the read address and out_data_adr is backed to  1   The reason why the hit miss does not occur for    Trig1 is that the read_address is loaded at the end of matching process             ll _butferl  write_address   11_ butferl read_address   lib r_cont out_data_adr  ll _butferl start_address    ntroll load_ read address  uffer_read_ controll 472  troll  load_start_address  erl 11_buffer_inputl clk  g controll  trigqger_ready    pe    _matching controll  state    Bam a Ba Ba    _matching controll  empty  matching controll to old  _matching controll match  tching controll to yomg i o     matching controll reject  gl  match_detect1 hit_tag lai bos lai    gl match_detectl triqger 7 bO2    REJECT_COUNT T aea   ad   AE   8   a af ME JEJ  atch_detect1 tag_compare   FTF w FTF 715   714            Fig  54 Signal Timings around the point D  Trig 2      At second trigger  Trig2   the out_data_adr points address  1  which has a data more than half cycle ago   Trigger matching circuit subtract reject_count from the data  hit_tag  and judge from the sign bit  so the    judgment of the address  1  data is  too young     Thus the search will stop and could not find a hit in address  2      Fixing this error is very simple  jus 1 flip flop is needed in the load_start_address signal     45    Error Reporting    Hardware error reporting within event data does not function as expected  When the reporting is enabled   enable_errmark   1   an error word is inserted to events occasionally  Since th
60. thin a programmable time window  Fig  31   The  trigger is defined as the coarse time count  bunch count ID  when the event of interest occurred  All hits from  this trigger time until the trigger time plus the matching window will be considered as matching the trigger   The trigger matching being based on the coarse time means that the    resolution    of the trigger matching is    one clock cycle  25 ns  and that the trigger matching window is also specified in steps of clock cycles     The search for hits matching a trigger is performed within an extended search window to guarantee that  all matching hits are found even when the hits have not been written into the L1 buffer in strict temporal    order     To prevent buffer overflow and to speed up the search time an automatic reject function can reject hits  older than a specified limit when no triggers are waiting in the trigger FIFO  A separate reject counter runs    with a programmable offset to detect hits to reject     The trigger matching can optionally search a time window before the trigger for hits which may have  masked hits in the match window  A channel having a hit within the specified mask window will set its mask    flag  The mask flags for all channels are in the end of the trigger matching process written into the read out    27    FIFO if one or more mask flags have been set     In case an error condition  L1 buffer overflow  Trigger FIFO overflow  etc   has been detected during the  trigger matching a sp
61. time of the leading edge of the hit    signal     The trigger matching search starts from the location pointed to by the start pointer  When the first  masked hit or matched hit is found the start pointer is set to the new location  The search continues until a hit  with a coarse time younger than the search limit has been found or there is no data in the buffer  The start    pointer is also incremented while data rejection is being done     The trigger matching can optionally be programmed to reject matched hits when the read out FIFO is  full  This rejection can be made conditional on the fact that the first level buffer is more than 3 4 full  This  option will prevent event data to pile up inside the TDC  Event data that have piled up inside the TDC will  take very long time before arriving to the second level buffers in the DAQ system  Here they will probably be  discarded as they arrive to late  In case the TDC is not programmed to reject matched hits  the trigger  matching function will stop when the readout FIFO is full and the 11 buffer and the trigger FIFO will start to  fill up     28         BRRRRRRRRRRRRR RRR R RRR E E Searchwindow    data area    Write pointe p Pa  A mask data  l l matched data         Fig  32 First level buffer pointers and time windows     3 8 Encoded trigger and resets signal    Four basic signals are encoded using three clock periods  Table 1   The simple coding scheme is  restricted to only distribute one command in each period of three cloc
62. time range passes  and blocks actual hits  In another time     this old hit accidentally match to the next trigger  and appear as a false hit      gt  52 usec   S    Hit 1 Hit 2  Hit            Trigi  Trig2    Trigger                 lt P  lt P  lt t  Pr  lt  gt     Point A Point B Point C Point D    Fig  49 Timing relation when the hit miss occur  Waveforms at point A  B  C and D are  shown in following figures     Fig  50 shows the registers around L1 buffer and trigger matching circuit  Read address counter gives  address of the L1 buffer  The contents of the addressed data is latched in data register and the read address is  stored in output address register  The data is checked in trigger matching circuit  There are 2 functions in the  trigger matching circuit  One is matched hit search which is functional when a trigger arrives from trigger  FIFO  Another function is old hit rejection  This function is always enabled except the matched hit search    period     If the trigger matching circuit find an old hit  the address is stored in start address counter  and the read  address counter is loaded with the start address at the end of the triggered event  We follow the signals from    Fig  51 to Fig  54  In these figure  n742  signal indicate    load_data   signal     load_start_addr  load_data   load    Start     p Addr    Counter       Matched  Hit  Search    L1       load_read_addr load Buffer i  Read Data I  Addr Addr Data Reg l Trigger  Counter    l       Old Hit  Reje
63. tor of 6800 pF is connected to the Vg pin  Time constant of    the charge up and down is relatively long and it will take several hundreds micro sec to become stable      a  AMT 1    Control Voltage VGN        Ext  40 MHz CLK Phase    Frequency  Detector LPF J    Cvg    Ring  Oscillator  reset    Int  40MHz CLK    RESET      b  AMT 2 Control Voltage VGN     Ext  40 MHz CLK  Phase Cvg    Frequency    Detector LPF L       Ring  Oscillator    Int  40MHz CLK       Fig  18 PLL and Internal clock generation in  a  AMT 1 and  2  AMT 2      a      10 0GS s ET 1 251M Acqs DPO Brightness  100         M 5 0  AE 1 00V cha ioomve   b  Vdd V     2 5 2 7 2 9 3 1 3 3 3 5 3 7 3 9  300    250                    vs Fosc     4    vs Vdd    200   S N Ea    150    Jitter ps     100    50       Fosc MHz     Fig  19 Waveform of the input clock and PLL oscillation  PLL jitter is measured relative to  the input clock   b  Stability of the PLL vs  oscillation frequency and supply voltage     20       Power on  to stable    5 9 MV MS           i Osc start  3 6 mV ms      to stable    Chi Teoma aE oo tos ent on  Fig  20 VCO output and control voltage  Vg  during PLL lock process  Above figure starts  from Vg   0 V  and bottom figure starts from Vg   3 3 V     3 2 Coarse Counter    The dynamic range of the fine time measurement is expanded by storing the state of a clock  synchronous counter  The hit signal may though arrive asynchronously to the clocking and the coarse counter  may be in the middle of ch
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
KOHLER K-5664-K4 Installation Guide  SOLDER LV 15 - Nobil  Cables Direct CDL-022BG USB cable  Tristar Sweet Roll Maker  smartBASIC Core Functionality  Katrin 343252 paper towel  Mediacom SmartPad S2 8GB 3G White  Samsung Galaxy Trend Plus Manual de Usuario  ASCII_Protocol_Manual Product User`s Manual Firmware 6.06 and    Copyright © All rights reserved. 
   Failed to retrieve file