Download presentation
Presentation is loading. Please wait.
Published byMelvin Stephens Modified over 9 years ago
1
1 Electronics Status of the MEG Trigger system Status and plans for DAQ MSCB slow control system Status of the MEG Trigger system Status and plans for DAQ MSCB slow control system
2
2 The Trigger System of the MEG Experiment On behalf of M. Grassi D. Nicolò F. Morsani S. Galeotti S. Giurgola
3
3 Expected Trigger Rate Accidental background and Rejection obtained by applying cuts on the following variables photon energy photon direction hit on the positron counter time correlation positron-photon direction match The rate depends on R R e + R 2
4
4 The trigger implementation Digital approach –Flash analog-to-digital converters (FADC) –Field programmable gate array (FPGA) Final system Only 2 different board types Arranged in a tree structure on 3 layers Connected with fast LVDS buses Remote configuration/debugging capability Prototype board Check of: the FADC-FPGA compatibility chosen algorithms synchronous operation data transmission
5
5 The board type 0 PMT inputs LVDS transm. LVDS receiv. FADC FPGA configuration EPROMS Differential drivers package error solved with a patch board control signals.
6
6 Prototype system configuration Diff. driver Fadc Proc. Algor. LVDS Rx LVDS Tx Proc. Algor. Circ. buff Circ. buff Circ. buff Circ. buff Diff. driver Fadc Proc. Algor. LVDS Rx LVDS Tx Proc. Algor. Circ. buff Circ. buff Circ. buff Circ. buff 16 PMT input output LVDS in final Board 1 Board 0 Last BVR conclusions The prototype system met all requirements It is available to trigger the LP in future beam tests
7
7 Trigger system structure LXe inner face (312 PMT)... 20 boards 20 x 48 Type1 16 4 2 boards... 10 boards 10 x 48 Type1 16 4 LXe lateral faces (208 PMT) (120x2 PMT) (40x2 PMT) 1 board... 12 or 6 boards 12 x 48 Type1 16 4 Timing counters (160 PMT) or (80 PMT) 2 or 1 boards 4 x 48 1 board 4 x 48 2 x 48 2VME 6U 1VME 9U Located on the platform Type2
8
8 Type 1 Diff. driver Fadc LVDS Tx Opt. Proces. Algor. Circ. buff Circ. buff Circ. buff LVDS Tx Proc. Algor. 16 PMT Type 2 LVDS Tx Opt. Proces. Algor. Circ. buff Circ. buff Circ. buff LVDS Tx Proc. Algor. 10 type1 LVDS Rx
9
9 Software items – New package ISE 6.2 –Verilog/schematic implementation –Block transfer in A32D16 format (VME library to be modified) Hardware items – JTAG programming/debugging through VME by modifying the Type0 –Analog receivers and with DACs for pedestal –FPGA selected: VirtexII PRO On Type 1 XC2VP20-5-FF1152 On Type 2 XC2VP40-5-FF1152 – Other components are fixed: FADC LVDS Tx and Rx Clock distributor Analog input by 3M coaxial connectors LVDS connection by 3M cables –Ancillary logic components and scheme
10
10 FPGA VIRTEX II - PRO easily at 100MHz 60% of IO 40% of CLB 2 PowerPC (not used)
11
11 Analog receiver AD5300AD8138 Differential driver DAC pedestal control
12
12 Analog receiver 16 channels on a type1 board 1 unit wide
13
13 DC/DC converter 1.5 Volts 3.3 Volts
14
14 ANCILLARY: TREE TRIGGER ANCILLARY #0 START STOP SYNC CLK INT ANCILLARY #1 CLK EXT ANCILLARY #8 CLK EXT … START, STOP, SYNC, CLK ……………………………… (… 16) VME STOP
15
15 ANCILLARY: BLOCKS 4 x SILICON DELAYS: START, STOP, SYNC, CLK INPUTS & CLK GEN CLK - START - STOP - SYNC TTL2LVDS 4 x 8(16)-LVDS-FANOUT VME INTERFACE
16
16 ANCILLARY: INPUTS & CLOCK GEN 10MHz CLK GENINT/EXT SELECT INPUT CONNECTOR LVDS-to-TTL
17
17 ANCILLARY: SILICON DELAY
18
18 ANCILLARY: LVDS FANOUT
19
19 Full System 2002200320042005 Test Milestone AssemblyDesignManufactoring Prototype Board Final Prototype Trigger Full System Prototype Board Final Prototype part. inst. full. inst.
20
20 summary Components selected Algorithms implemented PCB design ready to start
21
21 Status and plans for DAQ
22
22 Domino Chip Principles DLL Phase and Frequency Stabilization External Common Reference Clock V speed 8 inputs shift register Trigger Signal Sampling Low-jitter clock domino wave FAD C MUX 16-bit DAC uC Freq. Cntr
23
23 Timing reference signal 20 MHz clock PMT hit Domino stops after trigger latency
24
24 Recovery of Timing Domino speed stability of 10 -3 : 400ps uncertainty for full window 25ps uncertainty for timing relative to edge Domino speed stability of 10 -3 : 400ps uncertainty for full window 25ps uncertainty for timing relative to edge 50 ns 1) Trigger publishes phase of trigger signal f relative to clock in multiples of 10 ns 2) Each DAQ card determines and fits “Time-Zero-Edge” in clock signal and uses this as t=0 3) Measure pulse width of clock to derive domino speed 4) Timing of all PMT pulses is expressed relative to t=0 point
25
25 Current readout mode First implemented in DRS2 Sampled charge does not leave chip Current readout less sensitive to cross- talk etc. First implemented in DRS2 Sampled charge does not leave chip Current readout less sensitive to cross- talk etc. write read C... R I V out V in
26
26 DRS2 Chip DRS2 design –Up to 4.5 GHz sampling speed –8+2 channels, 1024 bins deep each –Readout speed up to 100 MHz (?) –Submitted to UMC in Nov. 18 th, 58 chips received in Jan. 15 th, packaging 3 weeks DRS2 chip arrived in Feb. 04 –50 packaged chips (400 channels) –1.5 GHz – 4.5 GHz sampling speed –Current mode readout works –Jitter estimation: 40ps Plans –VME prototype board by Aug. ‘04 DRS2 design –Up to 4.5 GHz sampling speed –8+2 channels, 1024 bins deep each –Readout speed up to 100 MHz (?) –Submitted to UMC in Nov. 18 th, 58 chips received in Jan. 15 th, packaging 3 weeks DRS2 chip arrived in Feb. 04 –50 packaged chips (400 channels) –1.5 GHz – 4.5 GHz sampling speed –Current mode readout works –Jitter estimation: 40ps Plans –VME prototype board by Aug. ‘04
27
27 DRS2 chip
28
28 DRS2 tests
29
29 Sampling Speed Measurement Obtained last week with USB- Mezzanine board Usable sampling range 0.6 GHz – 4 GHz Obtained last week with USB- Mezzanine board Usable sampling range 0.6 GHz – 4 GHz
30
30 Jitter estimation Oscilloscope triggered with Domino pulse Show 250 turns later 11ns/250 = 44ps Should be improved with better board design Oscilloscope triggered with Domino pulse Show 250 turns later 11ns/250 = 44ps Should be improved with better board design
31
31 Analog readout 4 pulses, 12ns wide, ~1ns rise time digitized at 2.5 GHz Readout at 40 MHz Reproduced rise time: 1.2ns Tests with FADC will follow 4 pulses, 12ns wide, ~1ns rise time digitized at 2.5 GHz Readout at 40 MHz Reproduced rise time: 1.2ns Tests with FADC will follow
32
32 VME boards with Mezzanine Cards R. Paoletti INFN Pisa MAGIC collaboration PSI GVME board
33
33 PSI GVME Board
34
34 VME Transition Boards PMT/DC signals through front-panel connectors to CMC cards with DRS Low-jitter clock through front-panel ch. #17 Trigger, reset, etc through transition board Read feedback to trigger thorough transition board PMT/DC signals through front-panel connectors to CMC cards with DRS Low-jitter clock through front-panel ch. #17 Trigger, reset, etc through transition board Read feedback to trigger thorough transition board PMTs Clock
35
35 DAQ System PMT Active Splitter ~11m ~3m area monitor ~3m DRS Board (32chn) + CPU DCPre-Amp DRS Board (32chn) + CPU ~7m SIS 3100 5 VME crates 800 + 160 1920 optical fiber (~20m) Trigger Gigabit Ethernet Front-End PCs On-line farm Rack – PC (Linux) storage Fitted data: 10 Hz waveform data -> 1.2 MB/sec 90 Hz ADC / TDC data -> 0.9 MB/sec Raw data: 2880 channels 100 Hz 50% / 10% / 10% occupancy 2kB / waveform -> 5 x 25 MB/sec. 3+1 VME crates trigger ready backpressure
36
36 Rack Layout Splitter Trigger DRS Interface ? Clock distribution (front) Trigger Board ready Fast clear Event counter (transition cards) DCCalo+TC
37
37 HV Splitter Trigger DAQ Calo+TC DAQ DC
38
38 Electronics in B-Field 4.26.89.1 6.718.583.8 9.033.5433.7440.331.27.5 50.5 73.320.456.369.719.8 7.811.611.3 Fringing field measured at πE5 [Gauss] B. Allongue (PH-ESS Group, Cern) Wiener PL500 Power Supply works up to 300 Gauss (900 with water cooling) Fan works up to 80-100 Gauss Ordered “normal” crate for tests Need air ducts with external A/C if problems arise B. Allongue (PH-ESS Group, Cern) Wiener PL500 Power Supply works up to 300 Gauss (900 with water cooling) Fan works up to 80-100 Gauss Ordered “normal” crate for tests Need air ducts with external A/C if problems arise
39
39 Waveform analysis Zero suppression in FPGA Single hit –ADC/TDC derived in FPGA Multiple hit –Waveform compressed in FPGA (2x12 bit -> 3 Byte) –Waveform fitted / compressed in PC cluster Store ADC/TDC only for “calibration” events Store (lossless) compressed waveforms for MEG candidates Zero suppression in FPGA Single hit –ADC/TDC derived in FPGA Multiple hit –Waveform compressed in FPGA (2x12 bit -> 3 Byte) –Waveform fitted / compressed in PC cluster Store ADC/TDC only for “calibration” events Store (lossless) compressed waveforms for MEG candidates Original Waveform Difference Of Samples Threshold in DOS Region for pedestal evaluation integration area ADC1/TDC1 ADC2/TDC2 T
40
40 Differential DRS channels write V in write V in + V in - Differential Driver cross-talk signals cancel Measured for 1ns rise-time: 6% neighbor 2% next nb Measured for 1ns rise-time: 6% neighbor 2% next nb
41
41 DRS3 DRS2 can probably initially be used for DAQ (have 400 channels, can produce 400 more) DRS2 limitations –Only two channels are fully differential (others show larger crosstalk) –Some tests remain to be done … New DRS3 design –All channels differential –Additional shielding between channels (ground bond wires) –Reduced readout time (5x) minimized dead time –Internal cascading allows for n x 1024 sampling bins DRS2 can probably initially be used for DAQ (have 400 channels, can produce 400 more) DRS2 limitations –Only two channels are fully differential (others show larger crosstalk) –Some tests remain to be done … New DRS3 design –All channels differential –Additional shielding between channels (ground bond wires) –Reduced readout time (5x) minimized dead time –Internal cascading allows for n x 1024 sampling bins
42
42 Plans DRS2 VME prototype board Aug. 04 Measure all parameters (cross-talk, resolution, stability) Produce VME boards and equip with DRS2 chip (400 chn + 400 chn ?), install as much as possible in are in summer 2005 Design DRS3 in parallel Mass production of DRS3 in fall 2005 Replace installed DRS2 with DRS3 DRS2 VME prototype board Aug. 04 Measure all parameters (cross-talk, resolution, stability) Produce VME boards and equip with DRS2 chip (400 chn + 400 chn ?), install as much as possible in are in summer 2005 Design DRS3 in parallel Mass production of DRS3 in fall 2005 Replace installed DRS2 with DRS3
43
43 DRS (DAQ) 2002200320042005 Test Milestone AssemblyDesignManufactoring DRS2 DRS2 test board DRS3 VME boards 400 chn Mass Production 3000 chn DRS1 2 nd Prototype Tests Boards & ChipTest DRS1 DRS2 Full System installation Optional DRS2 production 400 chn
44
44 Slow Control System Unified control system for –Cryogenics (temperature, pressure, valves, etc.) –Environment (temperatures, crates) –Drift chamber gas system (pressure, mass flow, temperature) –High Voltage (Calo+TC+DC, ~1000 chn.) System must be fail-safe Unified control system for –Cryogenics (temperature, pressure, valves, etc.) –Environment (temperatures, crates) –Drift chamber gas system (pressure, mass flow, temperature) –High Voltage (Calo+TC+DC, ~1000 chn.) System must be fail-safe
45
45 Slow Control HV PC RS232 12345 Temperature, pressure, … GPIB Valves ??? 15° C heater PLC 12:30 12.3 12:45 17.2 13:20 15.2 14:10 17.3 15:20 16.2 18:30 21.3 19:20 18.2 19:45 19.2 MIDAS DAQ Ethernet Terminal Server
46
46 Slow Control Bus HV Temperature, pressure, …Valves heater MIDAS DAQ
47
47 CAN, Profibus, LON available Node with ADC >100$ Interoperatibility not guaranteed Protocol overhead Local CPU? User programmable? How to integrate in HV? (CAEN use CAENET) CAN, Profibus, LON available Node with ADC >100$ Interoperatibility not guaranteed Protocol overhead Local CPU? User programmable? How to integrate in HV? (CAEN use CAENET) Field Bus Solutions
48
48 Hardware Overview 8051-compatible C with –ADC 12-bit –DAC 12-bit –Flash EEPROM –Timers –Watchdog –Temperature sensor –UARTs –Up to 100MHz clock speed External signal conditioning if needed Serial communication 8051-compatible C with –ADC 12-bit –DAC 12-bit –Flash EEPROM –Timers –Watchdog –Temperature sensor –UARTs –Up to 100MHz clock speed External signal conditioning if needed Serial communication
49
49 RS-485 bus Similar to RS-232 but –Up to 256 (1/8 load) units can be connected to a single segment, use repeater for more –Address space for 65536 nodes –single line, half duplex –differential twisted pair –Segment length up to km (20 m tested) –MSCB system: 115kbit –Single Master – Multiple Slaves (like USB) –Power through bus (10-wire flat ribbon) –PC USB interface Similar to RS-232 but –Up to 256 (1/8 load) units can be connected to a single segment, use repeater for more –Address space for 65536 nodes –single line, half duplex –differential twisted pair –Segment length up to km (20 m tested) –MSCB system: 115kbit –Single Master – Multiple Slaves (like USB) –Power through bus (10-wire flat ribbon) –PC USB interface
50
50 Generic node SCS-200 C8051Fxxx Micro controllers with 8x12 bit ADC, 2x12 bit DAC, digital IO, 8051 C and 32kB Flash Memory RS-485 bus over flat ribbon cable Powered through bus Costs ~CHF 50 Piggy back board for signal conditioning cards 32 kB for real time C programs C8051Fxxx Micro controllers with 8x12 bit ADC, 2x12 bit DAC, digital IO, 8051 C and 32kB Flash Memory RS-485 bus over flat ribbon cable Powered through bus Costs ~CHF 50 Piggy back board for signal conditioning cards 32 kB for real time C programs
51
51 2 Versions Generic node with signal conditioning RS232 node with protocol translator PC connection to parallel port (USB planned) Integration on sensors, in crates BUS Oriented Crate Oriented 19” crate with custom backplane Generic node as piggy-back Cards for analog IO / digital IO / °C / 220V Used in 3 experiments at PSI Can be mixed
52
52 SCS Nodes SCS 210:RS232 I/O SCS 300:Centronics I/O (14 bit digital) SCS 310:GPIB (IEEE-488) I/O SCS 400:8 chn. Thermocouple + 4 chn. digital output (PWM), temp. regulation in SW SCS 500:8 chn. differential analog input 0…10V, 0…1V, 0…100mV, 0…10mV -10…10V, -1…1V, -100mV…100mV 0…100mA, 0…10mA, 0…1mA 15V power, Lemo or screw terminal SCS 600:8 chn. digital output 0…30V, 1A LEDs and buttons on front panel 220V “power box” SCS 700:8 chn. PT100/PT1000, 8 bit digital output SCS 800:8 chn. capacitance meter SCS 900:8 chn. 24-bit ADC -10V…10V 8 chn. 16-bit DAC -10V…10V SCS 210:RS232 I/O SCS 300:Centronics I/O (14 bit digital) SCS 310:GPIB (IEEE-488) I/O SCS 400:8 chn. Thermocouple + 4 chn. digital output (PWM), temp. regulation in SW SCS 500:8 chn. differential analog input 0…10V, 0…1V, 0…100mV, 0…10mV -10…10V, -1…1V, -100mV…100mV 0…100mA, 0…10mA, 0…1mA 15V power, Lemo or screw terminal SCS 600:8 chn. digital output 0…30V, 1A LEDs and buttons on front panel 220V “power box” SCS 700:8 chn. PT100/PT1000, 8 bit digital output SCS 800:8 chn. capacitance meter SCS 900:8 chn. 24-bit ADC -10V…10V 8 chn. 16-bit DAC -10V…10V
53
53 Software overview mscb.dll msc.exe Command line interface VI LabView Application VI LPTUSB PC SCS 250 SCS xxx Framework User code RS485 SCS 300
54
54 Remote access mscb.dll msc.exe Command line interface LPTUSB PC RS485 mscb.dll msc.exe Command line interface VI LabView Application VI PC TCP/IP Speed (commands/sec, 115kBaud): ~1500 local ~900 remote Speed (commands/sec, 115kBaud): ~1500 local ~900 remote SCS 250
55
55 Protocol Asynchronous 345 kBaud / 115kBaud 16-bit addressing (65536 nodes) CRC-code for error detection Optional acknowledge Concept of channels and configuration parameters (256 each per node) Optimized protocol: 1500 cmd/sec @ 345kB Asynchronous 345 kBaud / 115kBaud 16-bit addressing (65536 nodes) CRC-code for error detection Optional acknowledge Concept of channels and configuration parameters (256 each per node) Optimized protocol: 1500 cmd/sec @ 345kB commandchannelvalueCRC write data node param1 param2 param3 channel1 channel2 channel3 ADC port commandLSBMSBCRC address command 1 Byte commandCRC acknowledge
56
56 Node communication msc.exe LabView
57
57 Labview control of Large Prototype
58
58 How to make it fail-safe? Robust protocol –CRC code –Automatic reconnect UPS –SC crates on battery (~30 min.) –Use Laptop for control PC Redundancy –Operate two completely independent nets –Switch between nets on failure Robust protocol –CRC code –Automatic reconnect UPS –SC crates on battery (~30 min.) –Use Laptop for control PC Redundancy –Operate two completely independent nets –Switch between nets on failure
59
59 Redundancy Temperature, pressure, …Valves uC Switch box Control PC1 Control PC2 If uC fails, use other system If PC fails, use other system (PC-PC watchdog) For critical valves, use two (parallel or serial) Avoid single point of failure ! Test failures If uC fails, use other system If PC fails, use other system (PC-PC watchdog) For critical valves, use two (parallel or serial) Avoid single point of failure ! Test failures System 1 System 2 Ethernet
60
60 New HV Design V in V out 12 times 3000V 0-3000V ADC 24 - bit Micro Controller DAC 16 - bit Microcontroller optically decoupled from HV side Higher ADC+DAC resolutions 10 mV accuracy Stable operation in lab (weeks) Newer test results will be presented in review Microcontroller optically decoupled from HV side Higher ADC+DAC resolutions 10 mV accuracy Stable operation in lab (weeks) Newer test results will be presented in review
61
61 Integration of Slow Control into DAQ Run parameters will be written to MySQL database Calibration parameters recalculated after every run and stored in DB More frequent database update possible Use of MIDAS history system (widely established since many years) Display through Web interface Gif images generated dynamically in memory Command line query with mhist Write speed: 2000 events/s Query over one month in ~10sec Display through Web interface Gif images generated dynamically in memory Command line query with mhist Write speed: 2000 events/s Query over one month in ~10sec Combines Slow Control, monitoring and calibration data
62
62 Summary Midas Slow Control Bus 256 nodes, 65536 nodes with one level of repeaters Bus length ~500m opto-isolated Boards for voltage, current, temperature, Digital IO, 220V Readout speed: 700 channels / sec. @ 115kBaud C library, command-line utility, Midas driver, LabView driver Nodes are “self-documenting” Configuration parameters in EEPROM on node Node CPU can operate autonomously for interlock and regulation (PID) tasks (C programmable, floating point library) Nodes can be reprogrammed over network http://midas.psi.ch/mscb 256 nodes, 65536 nodes with one level of repeaters Bus length ~500m opto-isolated Boards for voltage, current, temperature, Digital IO, 220V Readout speed: 700 channels / sec. @ 115kBaud C library, command-line utility, Midas driver, LabView driver Nodes are “self-documenting” Configuration parameters in EEPROM on node Node CPU can operate autonomously for interlock and regulation (PID) tasks (C programmable, floating point library) Nodes can be reprogrammed over network http://midas.psi.ch/mscb
63
63 Conclusions Trigger system is on schedule DRS2 chip works Partial electronics installation until mid-2005 planned Slow control system works (as tested in ~10 installations at PSI and TRIUMF) Trigger system is on schedule DRS2 chip works Partial electronics installation until mid-2005 planned Slow control system works (as tested in ~10 installations at PSI and TRIUMF)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.