xfel 2d pixel clock and control system. 2 outline june meeting at desy june meeting at desy c&c...

16
XFEL 2D Pixel Clock and Control System XFEL 2D Pixel Clock and Control System

Upload: claire-richardson

Post on 28-Mar-2015

227 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

XFEL 2D Pixel Clock and Control SystemXFEL 2D Pixel Clock and Control System

Page 2: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

2

OUTLINEOUTLINE

• June meeting at DESYJune meeting at DESY

• C&C Hardware structureC&C Hardware structure

• C&C Firmware structureC&C Firmware structure

• Current StatusCurrent Status

• Outstanding IssuesOutstanding Issues

• Future plansFuture plans

Page 3: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

3

June Meeting at DESYJune Meeting at DESY

• June meeting at DESY on XFEL and Petra3June meeting at DESY on XFEL and Petra3– Meeting with K. Rehlich’s teamMeeting with K. Rehlich’s team

• The structure for the TR board – capabilitiesThe structure for the TR board – capabilities

– Supplied signals• XTCA backplane signals – P2P clocks and bussed LVDS signalsXTCA backplane signals – P2P clocks and bussed LVDS signals

• XTCA crate structure – How many boards can be supportedXTCA crate structure – How many boards can be supported

– Meeting with P. VetrovMeeting with P. Vetrov• DAMC2 card structure – capabilitiesDAMC2 card structure – capabilities

– Designed for XTCA

– The FPGA and the clock network

– MLVDS transceivers

– TCLKA and B reception into the clock network – Driving capability doesn’t exist

• RTM connections – 54 differential pairs + 1 dedicated differential clock line RTM connections – 54 differential pairs + 1 dedicated differential clock line

• FMC connections – If needed for extra functionalityFMC connections – If needed for extra functionality

• Availability Availability

Page 4: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

4

June meeting at DESYJune meeting at DESY

– Meeting with Petra3 teamMeeting with Petra3 team• Petra Bunch Uhr (PBU) unitPetra Bunch Uhr (PBU) unit

• Interfacing PBU with the TR and CC boardsInterfacing PBU with the TR and CC boards– Timing

– Start, Bunch Clock, Laser inputs + Spare

– Signaling types (NIM/TTL)

– Conclusions from the meetingsConclusions from the meetings• TR card will provide clocks and triggers to CC over the XTCA backplaneTR card will provide clocks and triggers to CC over the XTCA backplane

– XTCA backplane sufficient for CC functionality

• Bunch clock (4.5 MHz) and 99 MHz clocks will be provided on low-jitter, Bunch clock (4.5 MHz) and 99 MHz clocks will be provided on low-jitter, P2P lines (TCLKA/B)P2P lines (TCLKA/B)

• DAMC2 can be used as a base for CC cardDAMC2 can be used as a base for CC card

• A custom RTM can be designed for CC master and slave functionalityA custom RTM can be designed for CC master and slave functionality

Page 5: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

5

CC hardware structureCC hardware structure• Overall timing crate structureOverall timing crate structure

Page 6: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

6

CC Hardware StructureCC Hardware StructureDetailed CC connectionsDetailed CC connections

Crate LayoutCrate Layout

Page 7: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

7

CC Hardware StructureCC Hardware Structure• DAMC2 + custom RTMDAMC2 + custom RTM

• Bunch clock on TCLKA, 99 MHz clock on TCLKB from TRBunch clock on TCLKA, 99 MHz clock on TCLKB from TR– Jitter <= 100 psecJitter <= 100 psec

• On-board oscillator + PLL for standalone testingOn-board oscillator + PLL for standalone testing

• The prototype CC master/slave (DAMC2 + RTM) capable of The prototype CC master/slave (DAMC2 + RTM) capable of driving a 1 Mpixel 2D detectordriving a 1 Mpixel 2D detector

Page 8: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

8

CC Hardware StructureCC Hardware Structure• Bussed LVDS lines utilised on xTCA backplaneBussed LVDS lines utilised on xTCA backplane

– From the TRFrom the TR• RX17 , TX17, RX18, TX18RX17 , TX17, RX18, TX18

– From the CCFrom the CC• RX19, TX19, RX20, TX20RX19, TX19, RX20, TX20

• The CC will use the TR to synchronise to the following when The CC will use the TR to synchronise to the following when used with non-XFEL sourcesused with non-XFEL sources– External ClockExternal Clock

– External TriggerExternal Trigger

– Laser ClockLaser Clock

– SpareSpare

• Telegram data content from TRTelegram data content from TR– Start Train, Train Number, End Train, Bunch Pattern Index, DAQ Start Train, Train Number, End Train, Bunch Pattern Index, DAQ

ReadyReady

Page 9: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

9

CC Hardware StructureCC Hardware Structure• Telegrams are to be sent as a data and strobe/clock pair from Telegrams are to be sent as a data and strobe/clock pair from

the TRthe TR

= Signal Source

CC

Mas

ter

TCLKA

TCLKB

RX17

TX17

RX18

TX18

RX19

TX19

RX20

TX20

Bunch Clock

FEE Clock (99MHz)

Trig (Start)Telegram DataTelegram Clock

Reset

Command

VetoStatus

Tim

ing

Re

ceiv

er

Ext Clock

Ext Trig

CC

Sla

ve

Spare

MCH

Page 10: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

10

CC Firmware StructureCC Firmware Structure• C&C firmware structureC&C firmware structure

Page 11: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

11

Current StatusCurrent Status

– Just received the XUPV5 development boardJust received the XUPV5 development board• Virtex 5 LX110T FPGA on boardVirtex 5 LX110T FPGA on board

• Various clock sourcesVarious clock sources

• Differential and single-ended expansion headersDifferential and single-ended expansion headers

– Going to use XUPV5 for firmware prototypingGoing to use XUPV5 for firmware prototyping• Until DAMC2, TR, xTCA crate availableUntil DAMC2, TR, xTCA crate available

– Daughtercard designs for initial testing readyDaughtercard designs for initial testing ready• 2 different versions2 different versions

• Version A – simple I/O functionality – Transmit/Receive on the same cardVersion A – simple I/O functionality – Transmit/Receive on the same card

• Version B – simple I/O + standalone clock generation + TR interfaceVersion B – simple I/O + standalone clock generation + TR interface

– Trying to arrange EDA tool usage with RALTrying to arrange EDA tool usage with RAL• Cadence Allegro design flow Cadence Allegro design flow

– Telegram data protocolTelegram data protocol• Suggesting a protocol similar to the FAST commandsSuggesting a protocol similar to the FAST commands

Page 12: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

12

Current StatusCurrent Status• Daughtercard designsDaughtercard designs

Page 13: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

13

• C&C firmwareC&C firmware– Fast Message Generation – Start and Stop messages Fast Message Generation – Start and Stop messages

Page 14: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

14

Outstanding IssuesOutstanding Issues• Telegram data protocol should be finalisedTelegram data protocol should be finalised

• Exact type of inputs to the TR – standard signals to the CC for Exact type of inputs to the TR – standard signals to the CC for non-XFEL sourcesnon-XFEL sources

• Next version of DAMC2 – changes to TCLKA/B according to Next version of DAMC2 – changes to TCLKA/B according to CC requirementsCC requirements – Bi-directional TCLKA/BBi-directional TCLKA/B

• RTM design considerationsRTM design considerations– Specs needed – Size, connector etc.Specs needed – Size, connector etc.

– How to support IPMIHow to support IPMI

– Power supply circuitryPower supply circuitry

– Any other Any other

Page 15: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

15

• Future PlansFuture Plans– Getting the daughtercards readyGetting the daughtercards ready

– Firmware developmentFirmware development

– Initial in-house testingInitial in-house testing

– Expecting DAMC2Expecting DAMC2

– RTM designRTM design

Page 16: XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware

16