190 likes | 294 Views
Online Summary. Jean-Sebastien Graulich, Geneva. Detector DAQ Controls And Monitoring Online Data Base Bottom Lines. DDAQ Achievements since CM24. DAQ and Controls Review Factor of 5 increase in # of particle triggers per spill Current limit at 250 Particles/spill
E N D
Online Summary Jean-Sebastien Graulich, Geneva • Detector DAQ • Controls And Monitoring • Online Data Base • Bottom Lines Jean-Sebastien Graulich
DDAQ Achievements since CM24 • DAQ and Controls Review • Factor of 5 increase in # of particle triggers per spill • Current limit at 250 Particles/spill • FADC Firmware upgraded • Factor of 4 reduction in data size • Trigger System Debugged • Problem with Event building under control Jean-Sebastien Graulich
Important Discussion • Double pulse resolution in TOF • Discriminator dead time • Minimum width of logic signal after discriminator: 100 ns • Double pulse resolution: 110 ns • In a given TOF PMT, it is IMPOSSIBLE to see two hits in the same burst ! • Complying with specifications but a real limitation • We need a way to tell monitor the number of particles in a burst • Use BPM ? Use Tracker ? • Upgrade TOF discriminators ? Jean-Sebastien Graulich
DDAQ Main Works in progress • Integration of TOF2 • Requires update in Crate Layout • Integration of CAM/DDAQ • DATE Status in EPICS • Target DAQ • Beam Losses and Target BCD in data stream • Magnet Currents (and more) in Data Stream • Integration of Tracker • EMR Front-End Electronics Jean-Sebastien Graulich
Schedule Milestones • From CM24 • TOF2 Shaper/Splitter Production mid Marchneed testing • DAQ review June 09 • Upgrade of fADC firmware July 09 • CAM data in Online Data Stream June 09 -> Jan 10 • Tracker integrated in DAQ and OLM July 09 ->Jan 10 • TOF TDC Clock Synchronization July 09 -> March 10 • More complicated than first thought. Need a dedicated board • Burst Gate Signal in the Trigger System Need support here • Approval of SW/EMR Front End Electronics In Proto phase • Production of SW/EMR Front End Electronics Sept 2009 -> Jan 10 ------------------------------------- • DATE Status in EPICS Nov 09 • TOF2 DAQ Installation Dec 09 • Target DAQ in Data Stream Dec 09 Jean-Sebastien Graulich
Controls And Monitoring • Good progress on all fronts • Groundwork required to unify MICE control systems & create a user-friendly interface is well underway • Controls effort is ‘significantly understaffed’ (DAQ & Controls Review, June ‘09) • We are always operating at full capacity • ‘Controls & Monitoring’ is such a broad subject that many unexpected additional requirements crop up all the time… • Please be patient! Jean-Sebastien Graulich
CAM Main Achievements since CM24 • Control PCs & servers Reorganization • DL Systems isolated on a single server • Application management Tools created • including GUI • New Target Controller • Set delay, dip depth, etc • Target DAQ software and monitoring completed • Standalone and Interfaced to EPICS (need integration in DDAQ) • EPICS gate way running • CKOV Humidity and Temperature into CAM • Neutron Monitor into CAM • Alarm Handler working and becoming user friendly • Clear Plan for Version Control and System Update • Interface with Configuration Database Jean-Sebastien Graulich
Control PCs & Servers: Current Status miceiocpc1 target1ctl miceioc2 miceioc4 miceioc1 miceioc5 miceecserv miceserv1 target2 miceopipc1 micecon1 See James’ Talk for details
Application Launcher • New application launcher replaces DL TCL script • XML configuration file, easy to add items • Unlimited subcategory levels • Provides real-time display of application status • Configurable response to existing application instances
Target: Controller • Target Controller Stage 1 upgrade underway • Hardware essentially complete • Currently working on Controller firmware (P. Smith) • Software nearing completion • Hardware driver framework in place • Have implemented all EPICS server / client functionality • Tested using ‘virtual’ Target Controller Device • Remaining task: write low-level hardware driver plug-in once firmware is complete • Stage 1 upgrade - Control functionality includes: • Set delays • Set / monitor Target depth • Park / hold, start / stop actuation • Monitor hardware status
Target: Beam Loss • Standalone DAQ system upgrades: • Final algorithm selected for ‘absolute’ beam loss calculation • Thanks to AD for implementation • Standalone event viewer can now follow real-time output of DAQ • Target Beam Loss IOC will read local data archive written by DAQ & serve values as PVs • Enables integration with Alarm Handler & readout of actuation numbers for CDB run data entries • IOC will use same analysis & file access code as standalone DAQ, via C wrapper functions • See PH’s talk
Policy for CAM System upgrades • Next Update in January ! Jean-Sebastien Graulich
CAM Main Works in Progress • Network Status • DATE Status • Environment Monitoring (temperatures, humidity, water flows, ...) • CKOV High Voltage System (CAEN SY127) • Quotation for Cooling Channel Control System (DL) Jean-Sebastien Graulich
DataBase • ConfigurationData Base • Doesn’t Store Data • Doesn’t Archive the parameter read values • Store the Geometry, Calibration Constants, Set values, etc • Use Case example: • Give me the configuration of the experiment at 16:15 on 5th November 2009 • Needed by reconstruction software to analyse the data • Relational AND bi-temporal. • Please see previous collaboration meeting talks for a fuller explanation of this concept and its justification. Jean-Sebastien Graulich
Database Functionality 2 • Since the last collaboration meeting there has been much progress • Geometry- Can now write and read geometries- We can reconstruct what the geometry was known to be for a given time. We have a history of state.We also can update when misalignments are found. We have a history of those updates. You can reconstruct what was KNOWN about the state of the geometry at some set of given times, very easily. • Calibration- Can now write and read calibrations of arbitrary format- One default calibration should be maintained by the detector groups but others can be kept and called specifically • Set Values- Can now write and read set values - EPICS GUI (James Leaver) interfaces with this. Thanks also to Pierrick & Adam for help with cataloguing many set vals.
Configuration Database: User Entry User Entry Client • Not all parameters required for a CDB ‘run’ entry are available through normal EPICS channels • i.e. Relevant IOCs & integration with the DAQ are not yet complete • Currently only beamline magnet currents can be backed up from ‘live’ servers • (Quasi) temporary solution: • Generic EPICS data server hosts PVs for all values missing from existing IOCs, so they can be read by backup/restore client • User entry client allows shifter to enter required parameters before initiating a run • As future work progresses, unnecessary user entry items will be removed • However, shall always require some degree of manual data entry CDB Data Server (miceiocpc1) Backup / Restore Client
Summary • Database is progressing well • Wish to finish database functionality and perform stress tests which could be presented at CM26 • Nevertheless, people should think about integrating DB communication with their applications (contact me for info – d.forrest@physics.gla.ac.uk but this is an action item for others)
Bottom Lines • General Progress • Manpower is very limited and not secured on the long term • More and more integration/unification tasks • Mice Online Group (MOG) is necessary but suffers from a loose leadership • This is a call for help ! Jean-Sebastien Graulich