19
MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 1 Online Summary Online Summary o Detector DAQ o Controls And Monitoring o Online Data Base o Bottom Lines Jean-Sebastien Graulich, Geneva

MICE CM25 Nov 2009Jean-Sebastien GraulichSlide 1 Online Summary o Detector DAQ o Controls And Monitoring o Online Data Base o Bottom Lines Jean-Sebastien

Embed Size (px)

Citation preview

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 1

Online SummaryOnline Summary

o Detector DAQ

o Controls And Monitoring

o Online Data Base

o Bottom Lines

Jean-Sebastien Graulich, Geneva

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 2

DDAQ Achievements since DDAQ Achievements since CM24CM24

DAQ and Controls ReviewDAQ and Controls Review Factor of 5 increase in # of particle Factor of 5 increase in # of particle

triggers per spilltriggers per spill Current limit at 250 Particles/spill

FADC Firmware upgradedFADC Firmware upgraded Factor of 4 reduction in data size

Trigger System DebuggedTrigger System Debugged Problem with Event building under Problem with Event building under

controlcontrol

Important Important DiscussionDiscussion

Double pulse resolution in TOFDouble pulse resolution in TOF Discriminator dead timeDiscriminator dead time

Minimum width of logic signal after discriminator:

100 ns100 ns Double pulse resolution: 110 nsDouble 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 Complying with specifications but a real limitationlimitation

We need a way to tell monitor the number We need a way to tell monitor the number of particles in a burstof particles in a burst

Use BPM ? Use Tracker ? Upgrade TOF discriminators ?

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 3

DDAQ Main Works in DDAQ Main Works in progressprogress

Integration of TOF2Integration of TOF2 Requires update in Crate Layout

Integration of CAM/DDAQIntegration 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 TrackerIntegration of Tracker EMR Front-End ElectronicsEMR Front-End Electronics

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 4

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 5

Schedule Schedule MilestonesMilestones

From CM24From CM24 TOF2 Shaper/Splitter ProductionTOF2 Shaper/Splitter Production mid Marchmid March need need

testingtesting DAQ reviewDAQ review June 09June 09 Upgrade of fADC firmwareUpgrade of fADC firmware July 09July 09 CAM data in Online Data StreamCAM data in Online Data Stream June 09 June 09 -> Jan 10-> Jan 10 Tracker integrated in DAQ and OLMTracker integrated in DAQ and OLM July 09 July 09 ->-> Jan 10Jan 10 TOF TDC Clock SynchronizationTOF TDC Clock Synchronization July 09 July 09 -> March 10-> March 10

More complicated than first thought. Need a dedicated board Burst Gate Signal in the Trigger SystemBurst Gate Signal in the Trigger System Need support hereNeed support here

Approval of SW/EMR Front End ElectronicsApproval of SW/EMR Front End Electronics In Proto phaseIn Proto phase Production of SW/EMR Front End ElectronicsProduction of SW/EMR Front End Electronics Sept 2009 Sept 2009 -> Jan -> Jan

1010--------------------------------------------------------------------------

DATE Status in EPICSDATE Status in EPICS Nov 09 Nov 09 TOF2 DAQ InstallationTOF2 DAQ Installation Dec 09Dec 09 Target DAQ in Data StreamTarget DAQ in Data Stream Dec 09Dec 09

Controls And Controls And MonitoringMonitoring

Good progress on all frontsGood progress on all fronts Groundwork required to unify MICE control systems &

create a user-friendly interface is well underway

Controls effort is ‘significantly understaffed’ Controls effort is ‘significantly understaffed’ (DAQ & Controls Review, June ‘09)(DAQ & Controls Review, June ‘09)

We are always operating at full capacityWe are always operating at full capacity ‘‘Controls & Monitoring’ is such a broad Controls & Monitoring’ is such a broad

subject that many unexpected additional subject that many unexpected additional requirements crop up all the time…requirements crop up all the time…

Please be patient!

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 6

CAM Main Achievements since CAM Main Achievements since CM24CM24

Control PCs & servers ReorganizationControl PCs & servers Reorganization DL Systems isolated on a single server

Application management Tools createdApplication management Tools created including GUI

New Target ControllerNew Target Controller Set delay, dip depth, etc

Target DAQ software and monitoring completedTarget DAQ software and monitoring completed Standalone and Interfaced to EPICS (need integration in

DDAQ)

EPICS gate way runningEPICS gate way running CKOV Humidity and Temperature into CAMCKOV Humidity and Temperature into CAM Neutron Monitor into CAMNeutron Monitor into CAM Alarm Handler working and becoming user friendlyAlarm Handler working and becoming user friendly Clear Plan for Version Control and System UpdateClear Plan for Version Control and System Update Interface with Configuration DatabaseInterface with Configuration Database

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 7

19/04/23 Imperial College 8

Control PCs & Servers: Current Status

miceiocpc1 target1ctl miceioc2 miceioc4 miceioc1 miceioc5

miceserv1miceecserv

miceopipc1 micecon1target2

See James’ Talk for details

19/04/23 Imperial College 9

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

19/04/23 Imperial College 10

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

19/04/23 Imperial College 11

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

EPICS GatewayEPICS Gateway

Policy for CAM System Policy for CAM System upgradesupgrades

Jean-Sebastien GraulichNext Update in January !Next Update in January !

CAM Main Works in CAM Main Works in ProgressProgress

Network Status Network Status DATE StatusDATE Status Environment Monitoring (temperatures, Environment Monitoring (temperatures,

humidity, water flows, ...)humidity, water flows, ...) CKOV High Voltage System (CAEN SY127)CKOV High Voltage System (CAEN SY127) Quotation for Cooling Channel Control System Quotation for Cooling Channel Control System

(DL)(DL)

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 14

DataBaseDataBase

ConfigurationConfiguration Data BaseData Base Doesn’t Store Data Doesn’t Archive the parameter read values Store the Geometry, Calibration Constants, Set

values, etc

Use Case example: 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. Relational AND bi-temporal. Please see previous collaboration meeting talks

for a fuller explanation of this concept and its justification.

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 15

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.

19/04/23 Imperial College 17

Configuration Database: User Entry• 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

)

User Entry Client

Backup / Restore Client

Summary

Database is progressing wellWish 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 – [email protected] but this is an action item for others)

Bottom LinesBottom Lines

General ProgressGeneral Progress Manpower is very limited and not Manpower is very limited and not

secured on the long termsecured on the long term More and more More and more

integration/unification tasksintegration/unification tasks Mice Online Group (MOG) is necessary but

suffers from a loose leadership This is a call for help !

MICE CM25 Nov 2009 Jean-Sebastien Graulich Slide 19