XFEL Meeting, Hamburg September 2010 Erdem Motuk, Martin Postranecky, Matt Warren, Matthew Wing
description
Transcript of XFEL Meeting, Hamburg September 2010 Erdem Motuk, Martin Postranecky, Matt Warren, Matthew Wing
XFEL Meeting, Hamburg XFEL Meeting, Hamburg
September 2010September 2010
Erdem Motuk, Martin Postranecky, Matt Warren, Matthew WingErdem Motuk, Martin Postranecky, Matt Warren, Matthew Wing
XFEL 2D Pixel Clock and Control SystemXFEL 2D Pixel Clock and Control System
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
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
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
5
CC hardware structureCC hardware structure• Overall timing crate structureOverall timing crate structure
6
CC Hardware StructureCC Hardware StructureDetailed CC connectionsDetailed CC connections
Crate LayoutCrate Layout
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 CC master/slave (1 DAMC2 + RTM) capable of driving a The CC master/slave (1 DAMC2 + RTM) capable of driving a 1 Mpixel 2D detector (16 channels per RTM)1 Mpixel 2D detector (16 channels per RTM)
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
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
• Planned capability for the CC to generate 99 MHz clock and Planned capability for the CC to generate 99 MHz clock and distribute on TCLKBdistribute on TCLKB
= Signal Source
C
C M
aste
r
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
10
CC Firmware StructureCC Firmware Structure• C&C firmware structureC&C firmware structure
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
– Daughter card designs for initial testing (our firmware and hardware) Daughter card designs for initial testing (our firmware and hardware) readyready
• 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– Will provide basic test functionality for FEEs– FPGA generated 99 MHz clock / 1 channel output
• Version B – simple I/O + standalone clock generation + TR interfaceVersion B – simple I/O + standalone clock generation + TR interface– Will provide the same functionality as DAMC2 + RTM– Limited number of channels (1 proposed)– Production will depend on the availability of DAMC2 / FEE needs
12
Current StatusCurrent Status– 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
• E.g. Start word + Payload + CRCE.g. Start word + Payload + CRC
• Daughter card designsDaughter card designs
Version AVersion A
Suitable for basic testing FEE functionalitySuitable for basic testing FEE functionality
- 1 channel output only- 1 channel output only
- Clock not in spec but close (jitter, freq.)- Clock not in spec but close (jitter, freq.)
- Trigger generated by firmware - Trigger generated by firmware
(external trigger may be possible)(external trigger may be possible)
13
Current StatusCurrent Status• C&C firmwareC&C firmware
– Fast Message Generation – Start and Stop messages Fast Message Generation – Start and Stop messages
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
• DAMC2 availability and FEE requirementsDAMC2 availability and FEE requirements– Will determine the development of either RTM or daughter card BWill determine the development of either RTM or daughter card B
15
Future PlansFuture Plans
– Getting the daughter card readyGetting the daughter card ready
– Firmware development Firmware development
– Initial in-house testingInitial in-house testing
– Expecting DAMC2Expecting DAMC2
– Getting RTM specsGetting RTM specs
– RTM designRTM design
16
ScheduleSchedule
• Daughter card A schematic capture, layout Daughter card A schematic capture, layout
• Daughter card A productionDaughter card A production
• Firmware development Firmware development
• Initial tests with the development platformInitial tests with the development platform
• RTM design/schematic captureRTM design/schematic capture
• RTM layoutRTM layout
• Tests with the DAMC2 + RTMTests with the DAMC2 + RTM
September 2010September 2010
September - October 2010September - October 2010
September - October 2010September - October 2010
October 2010October 2010
Depends on DAMC2 + crate Depends on DAMC2 + crate availability – otherwise daughter availability – otherwise daughter
card B developmentcard B development
October 2010October 2010
October – November 2010October – November 2010
November – December 2010November – December 2010
Supplying for FEE testing?Supplying for FEE testing?
17
A -1A -1
RJ45
2
1
5
4
8
7
J1
0R
Shield
IDC-1/A
RJ45
2
1
5
4
8
7
6
3
J2
0R
Shield
X-TAL 9.0278 MHz
: 2
J3 ( Optional )RJ45
Start / Reset
Veto
Status
ClockT.R. Clock In
Ext. Veto In
T.R. Start In
Force X-Tal
U1
U3
U2
U4 U5 U6
U8
U7
U14+U15
U13
U12
U11
SW-1
A-C CouplerU9+U10
DS90LV001
DS90LV001
DS90LV027A
2x DS90LV001
DS90LV048A
74LVT74
EuroQuartz XOPL91050UCTA
ICS527R-01LF Mult. PLL
ICS581G-02LF MUX-PLL
Clk-4
Clk-3
Clk-2
In-A
In-B
Delay
Clk-2
Clk-1
U16
99MHz4.51MHz
+3v3
18
A-2A-2
19
A-3A-3