120 likes | 253 Views
Paul Scherrer Institut. Babak Kalantari (GFA Controls). Synchronous DAQ using Event System. Beam Synchronous DAQ (BSDAQ). IOC : I/O controller node, PV : e.g. EPICS channel. IOC_1 PV_1 PV_2 PV_3. IOC_2 PV_4 PV_5 PV_6. IOC_m PV_7 PV_8 PV_9. IOC_n PV_10 PV_11 PV_12. IOC_0
E N D
Paul Scherrer Institut • Babak Kalantari (GFA Controls) • Synchronous DAQ using Event System MRF workshop, Prague, Eli Beamlines 05.05.2014
Beam Synchronous DAQ (BSDAQ) • IOC: I/O controller node, PV: e.g. EPICS channel • IOC_1 • PV_1 • PV_2 • PV_3 • IOC_2 • PV_4 • PV_5 • PV_6 • IOC_m • PV_7 • PV_8 • PV_9 • IOC_n • PV_10 • PV_11 • PV_12 • IOC_0 • PV_x • PV_y • PV_z • PV_2 • PV_6 • PV_7 • User interest: PV set across several IOCs distinguished from one pulse to the next • PULSE_1 • PULSE_2 • PULSE_3 • start • start • start • Pulser • Diag. • Pulser • Diag. • Pulser • Diag. • RF • RF • RF • … • … • … • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
Beam Synchronous DAQ (BSDAQ) • on-demand BSDAQ (in production) • runs only for specified number of pulses (seconds or minutes) • continuous BSDAQ (under design) • runs always at the background over a specified history window up to current time (e.g., last 2 days) • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
on-demand BSDAQ • Control System Network • post-acquisition data transfer • non real-time (EPICS CA) • Node_n • Node_1 • Local data collection at real-time • real-time • real-time • EVR • EVR • Timing&Event System Network • real-time (events + BSDAQ controls) • MasterTimingNode • EVG • real-time • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
on-demand BSDAQ usage • Computing Node • Local buffering for scalar or small data array (few KB) • pool of unassigned buffers • parallel users • data • pulse_id • device • EVR • trigger • on-system data buffering & tagging (large data size) • Measurement system • Computing Node • pulse_id • intern. data buffer • trigger • EVR • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
on-demand BSDAQ usage • High level DAQ framework • data analysis • storage • transfer • acquired data • BSDAQ • configuration • direct • EPICS CA • protocol layer (custom / EPICS v4 / CA) • BSDAQ • (IOC level) • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
Changingpolicy • Remote buffering, Continuous BSDAQ • IOC node_n • IOC node_2 • IOC node_1 • pulse_id_x PV_1 PV_2 PV_3 • device1 • device2 • device3 • EVR • Atomic snapshot • 100Hz trigger PV_1 PV_2 pulse_id PV_3 • Remote buffer cluster • (for the whole facility) • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
Continuous BSDAQ • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
Work management • common • deployment • procedure • System integration engineer • (Deployment) • generic • BSDAQ • package • R&D + • Tests + • prototype • System integration engineer • (Deployment) • (PSI internal resources) • H/W design & production • MRF (external company) • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
Thanks! • Babak Kalantari (PSI); MRF workshop, Prague, Eli Beamlines, 05.05.2014
BS-DAQ Mechanism • IOC • CA (controls net) • EVG • command • Master Timing: central point of BS-DAQ controls • Client, after DAQ: • retrieve data • analyze • Events + sync data • IOC_A • IOC_B • buffer • buffer • EVR • EVR • triggers • select • select • H/W_1 • H/W_3 • H/W_2 • H/W_4 • subsystem A • subsystem B • CA (controls net)