1 Timo Korhonen PSI 1. Concepts revisited…again 3. New (Diamond) cards features and status 4. EPICS interface 5. Conclusions SLS & Diamond Timing System.

Slides:



Advertisements
Similar presentations
XFEL C+C HARDWARE : REQUIREMENTS 1) To receive, process and store Timing Signals from TR ( Timing Receiver ) in same crate : - 5 MHz Bunch CLOCK - Bunch.
Advertisements

01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
January 28th, 2010Clermont Ferrand, Paul Scherrer Institut DRS Chip Developments Stefan Ritt.
Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 Real-Time Data Transfer using the Timing System (Original slides and driver code by Babak Kalantari)
ESODAC Study for a new ESO Detector Array Controller.
Dayle Kotturi and Stephanie Allison Facility Advisory Committee Meeting April 20-21,
CMS Week Sept 2002 HCAL Data Concentrator Status Report for RUWG and Calibration WG Eric Hazen, Jim Rohlf, Shouxiang Wu Boston University.
Detector Array Controller Based on First Light First Light PICNIC Array Mux PICNIC Array Mux Image of ESO Messenger Front Page M.Meyer June 05 NGC High.
Trigger-less and reconfigurable data acquisition system for J-PET
Wir schaffen Wissen – heute für morgen 24 August 2015PSI,24 August 2015PSI, Paul Scherrer Institut Status WP 8.2 RF Low Level Electronic Manuel Brönnimann.
Power Supply Controller Architecture
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 TPS Timing System & Plan of Machine Protection System TPS Timing System & Plan of Machine.
INTRODUCE OF SINAP TIMING SYSTEM
Overview of SINAP Timing System Electronics Group Beam Diagnostics & Control Division SINAP.
TID and TS J. William Gu Data Acquisition 1.Trigger distribution scheme 2.TID development 3.TID in test setup 4.TS development.
Trigger Supervisor (TS) J. William Gu Data Acquisition Group 1.TS position in the system 2.First prototype TS 3.TS functions 4.TS test status.
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
SVT workshop October 27, 1998 XTF HB AM Stefano Belforte - INFN Pisa1 COMMON RULES ON OPERATION MODES RUN MODE: the board does what is needed to make SVT.
Micro-Research Finland Oy Timing System with Two-Way Signaling cRIO-EVR Jukka Pietarinen EPICS Meeting Padova October 2008.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
F.F. - 18/07/ User Guide of the Input Trigger Multiplexer unit with input signal rate counters.
TRIGGER-LESS AND RECONFIGURABLE DATA ACQUISITION SYSTEM FOR POSITRON EMISSION TOMOGRAPHY Grzegorz Korcyl 2013.
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
LCLS Timing Software and Plan 1 Controls Timing Workshop EPICS Collaboration Meeting SLAC LCLS Timing Software and Plan April Kukhee Kim.
Status of BEPCII Timing System Presented by Ge Lei IMAC 2006.
Micro-Research Finland Oy Timing System Developments Jukka Pietarinen EPICS Collaboration Meeting Shanghai March 2008.
Leo Greiner IPHC meeting HFT PIXEL DAQ Prototype Testing.
PHENIX upgrade DAQ Status/ HBD FEM experience (so far) The thoughts on the PHENIX DAQ upgrade –Slow download HBD test experience so far –GTM –FEM readout.
Micro-Research Finland Oy Timing System Modules Jukka Pietarinen EPICS Collaboration Meeting, Argonne, June 2006.
Micro-Research Finland Oy MRF Timing System Jukka Pietarinen Timing Workshop CERN February 2008.
Micro-Research Finland Oy Components for Integrating Device Controllers for Fast Orbit Feedback Jukka Pietarinen EPICS Collaboration Meeting Knoxville.
Dayle Kotturi Lehman Review May 10-12, 2005 LCLS Timing Outline Scope SLC Master Pattern Generator Introducing the PNET VME receiver.
MRF & Cosylab on timing system: integration support Joze Dedic the best people make cosylab … Head of Hardware.
CPT Week, April 2001Darin Acosta1 Status of the Next Generation CSC Track-Finder D.Acosta University of Florida.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing.
RTL Hardware Design by P. Chu Chapter Poor design practice and remedy 2. More counters 3. Register as fast temporary storage 4. Pipelined circuit.
FED RAL: Greg Iles5 March The 96 Channel FED Tester What needs to be tested ? Requirements for 96 channel tester ? Baseline design Functionality.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
Fast Fault Finder A Machine Protection Component.
1 DAQ Update MEG Review Meeting, Feb. 17 th 2010.
Stephanie Allison LCLS Controls Software Meeting Dec 6, 2007 How To Set Up for the Event System on an IOC with an EVR(s) Assumes.
Timing System of the Swiss Light Source Timo Korhonen Paul Scherrer Institute, Switzerland 1. Introduction 2. Components and technology 3. SLS Timing Application.
REDNet - Status overview Rok Stefanic Ziga Kroflic
IMAC 2007BEPCII Timing System Status1 Event timing system for BEPCII storage ring commissioning Presented by G. Lei May 2007.
BEPC II TIMING SYSTEM EPICS Seminar Presented by Ma zhenhan IHEP 20.August 2002.
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
DHH Status Igor Konorov TUM, Physics Department, E18 PXD DAQ workshop Münzenberg –June 9-10, 2011.
ROD Activities at Dresden Andreas Glatte, Andreas Meyer, Andy Kielburg-Jeka, Arno Straessner LAr Electronics Upgrade Meeting – LAr Week September 2009.
Status and Plans for Xilinx Development
PC-based L0TP Status Report “on behalf of the Ferrara L0TP Group” Ilaria Neri University of Ferrara and INFN - Italy Ferrara, September 02, 2014.
Firmware and Software for the PPM DU S. Anvar, H. Le Provost, Y.Moudden, F. Louis, E.Zonca – CEA Saclay IRFU – Amsterdam/NIKHEF, 2011 March 30.
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
Eric Hazen1 Ethernet Readout With: E. Kearns, J. Raaf, S.X. Wu, others... Eric Hazen Boston University.
9530 T IMING C ONTROL U NIT Features TCU-1 Key Features 250ps timing resolution with < 50ps jitter 8 independent outputs with full individual programming.
SLS Timing Master Timo Korhonen, PSI.
LCLS Timing Software and Plan
CoBo - Different Boundaries & Different Options of
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
LCLS Timing Outline Scope The order of things
LCLS Event System - Software
Timing and Event System for the LCLS Electron Accelerator
LCLS Timing Outline Scope The order of things
New DCM, FEMDCM DCM jobs DCM upgrade path
SLS & Diamond Timing System update
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
Breakout Session: Controls
Timing and Event System Status DOE Review of the LCLS Project SC5 - Controls Systems Breakout Session S. Allison, M. Browne, B. Dalesio, J. Dusatko,
Presentation transcript:

1 Timo Korhonen PSI 1. Concepts revisited…again 3. New (Diamond) cards features and status 4. EPICS interface 5. Conclusions SLS & Diamond Timing System update

2 Event System Concepts Recap -Many event receivers (in IOC crates) are listening to an event stream from a single or a few (cascaded) event generators -The event generator transmits bare 16-bit data frames at the hardware frame rate. Frame rate can be internally generated or a subharmonic of RF; for SLS, 50 MHz. Event receivers phase lock to the event stream. -external stimuli to event generator are encoded to 8-bit event codes; when no stimulus is present, null codes are sent out. The other 8 bits in the frame are “free”; in SLS implementation they are used to distribute clock signals (SR revolution frequency, etc.), but could be used to transmit arbitrary data. Event generator Event code Optical fiber links Event receiver Fanout Event receiver

3 Event System Concepts Recap The stimulus to send an event can be: -pulse on a hardware input -software event (write to a register) -an entry in an event playback RAM. When an event code is received the receiver can: -output a pulse, of specified delay and width -trigger a software action (process an EPICS record) Each event receiver can be programmed to respond in a different way to the same event code. The system provides: -global distribution of events to all systems that have a receiver -trigger and gate signals to hardware -synchronized timestamp facility -software sequencing by triggering channels to process from events -software (EPICS records) can be used to send events Event generator Event code Optical fiber links Event receiver Fanout Event receiver

4 (SLS) Event Generator 3 possible event sources: -hardware inputs. 8 per card (could be increased) -event generation by register write -event RAMs(2) for event storage and playback (fast and deterministic sequencer) Time Injection A pulse triggers the sequence in event RAM The sequence is clocked out with steps synchronized to the main clock, for example at Booster revolution frequency At SLS, the injection sequence is run from the RAM -the step clock can be set (to multiples of revolution period) -alternate mode: one RAM runs while the second is loaded. -any sequence can be programmed through EPICS records.

5 SLS Event Generator VME interface AC line input (3-12 V) Fiberoptic Transceiver RF (500 MHz) input Event RAMs (2 x 512kB) Gigabit Ethernet Transceiver chip (ser/par conversion, framing, PLL, etc.) Flash memory for FPGA configurations However, this is already history (for new designs)….

6 Event System Series 200 Adaptation of the SLS philosophy to DIAMOND needs -use the latest technology (more bandwidth, better frequency coverage) -do the things we did not manage (time, money) to do at SLS (hot-swap, full VME64x implementation with geographical addressing…) -improve some key areas (VME interface – register space, speed) -VME master capability (nice to have) -better jitter performance (Diamond requirement) -new cards (4-ch timer, gun driver) and form factors (PMC) -new ideas (not all implemented for Diamond): delay drift compensation -retain SLS functionality (with some enhancements) -compatible with SLS series (accepts 1 Gbit/s stream)

7 EVR-200 First Prototype (September ’04) Virtex II-Pro FPGA (RocketIO links, PowerPC core) -link speeds up to 2.5 Gbit/s -wide range of frequencies RF frequency up to 1 GHz SFP transceiver Ethernet port (10BaseT), Microcontroller for remote access (FPGA reprogramming, etc.) RAM for program storage (embedded PPC) -careful ground balancing for improved jitter control Front panel outputs Hot-swap switch, controller PMC slot

8 New Faces EGUN-Tx (EVR with links to an e-gun trigger card (low jitter, < 1ps) 4-channel precision timer (10 ps resolution) Event Generator EVR with RF recovery Transition modules: -optotriggers (for power supplies) -4-ch timer card -EVG -EVR

9 EPICS support for the event system Dedicated record types to enable software control of -mapping hardware input and output signals to events -event generation from an EPICS record -record processing upon receival of an event (timing signal) -repetitive events and their placement in time (sequence RAM) major weak point in current design: loading of sequence RAMs clumsy and time consuming:processing of any of these records causes a RAM rewrite (clear & write sequence). Slow!

10 Event generator EG record -setup of the generator: mapping of hardware signals to events,RAM mode EGEVENT record -insertion of events into the event RAM. One record for one event. Event receiver ER record -setup of the receiver: configuration of hardware signals (enable, delay generator setup, etc.) EREVENT record -event code to output mapping. Specifies what is the action upon receival of an event. For SLS, we took the scheme from APS, with some (quite a few) additions/modifications to the original records -EG record: RAM prescaler & frequency field, max delay (RAM position) field -EGEVENT: priority handling of events (in RAM) -ER record: pulse width fields for OTP, prescaler settings, IRQ delay settings, signal polarity selection Receiver side records are mostly OK, event generator (especially egevent) need rework (not much used at APS?, works OK for SLS/other light sources) EPICS records for the event system

11 Injection sequence programming Injection sequence (machine cycle) defined by placing events in the sequence RAM -egevent records: one event per record -linked to a list -processing of one record in list causes the list to be reloaded to RAM. Inefficient (when multiple delays changed) -list is always sorted in delay & priority order (to define how to handle events with exactly same delay) Delay: 100 Priority: 0 Delay:100 Priority:1 Delay: 106 Priority:0 Delay:210 Priority:0

12 Injection sequence programming Problems with the list: -how to decide time of reprogramming RAM? No way to decide if still more delays are to be changed. -current implementation: erase RAM & rewrite all (expensive, prohibitive with even larger RAMs) -problematic with multiple types of sequences (lots of processing would be required) -better approach: “event sequence” record?

13 Support for new (planned) features Real-time data transfer hardware-assisted data transfer: data from event generator memory transferred to event receivers Write data at event generator Unpack at event receivers Use waveform/SubArray records? Need to discuss the applications and requirements. (MPG workshop/discussion)

14 Prototype hardware (EVR-200, EVG-200, E-Gun receiver) working. A few delays in the first series (connector delivery, change of production facility) First small series arriving in a few weeks, start developing drivers from January (first port existing drivers to new HW) Cards work with existing event stream, a few firmware issues with bit patterns to be solved (RocketIO vs. earlier scheme) -first jitter tests with E-gun receiver produced excellent results: first proto 1-2 ps, optimized version below 1 ps jitter. Status