The DØ Control System J. Frederick Bartlett For The DØ Controls Group.

Slides:



Advertisements
Similar presentations
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
Advertisements

1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Application samples All rights reserved, property and © CAD Computer GmbH & Co. KG 2009.
Jan Hatje, DESY AMS – Alarm Management System PCaPAC AMS – Alarm Management System and CSS – Control System Studio Update PCaPAC 2008 J.Stefan Institute,
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
Control Systems for Future GSI, May , 2003 Control System Requirements for the CBM detector Burkhard Kolb GSI HADES.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
EPICS Experience at Fermilab Geoff Savage August 2005 Controls and Monitoring Group.
1 Chapter 12 Working With Access 2000 on the Internet.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Tracker Controls MICE Controls and Monitoring Workshop September 25, 2005 A. Bross.
NGOP J.Fromm K.Genser T.Levshina M.Mengel V.Podstavkov.
Customizing Outlook. Forms Window in which you enter and view information in Outlook Outlook Form Designer The environment in which you create and customize.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
Windows Server 2008 Chapter 11 Last Update
R. Lange, M. Giacchini: Monitoring a Control System Using Nagios Monitoring a Control System Using Nagios Ralph Lange, BESSY – Mauro Giacchini, LNL.
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Imperial College Tracker Slow Control & Monitoring.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Online Calibration of the D0 Vertex Detector Initialization Procedure and Database Usage Harald Fox D0 Experiment Northwestern University.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
1 Online Calibration of Calorimeter Mrinmoy Bhattacharjee SUNY, Stony Brook Thanks to: D. Schamberger, L. Groer, U. Bassler, B. Olivier, M. Thioye Institutions:
Fermilab Distributed Monitoring System (NGOP) Progress Report J.Fromm K.Genser T.Levshina M.Mengel V.Podstavkov.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
EEDEED Tuesday, May 18, VBA & Process Variables  System Overview  Setup (What installations are needed)  What are Process Variables and what.
ALICE, ATLAS, CMS & LHCb joint workshop on
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
V.Sirotenko, July Status of Online Databases Currently there are 2 online Oracle Databases running on d0online cluster: 1.Production DB, d0onprd,
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
June, 2000NIU Workshop Online DAQ System: From Detector to Tape T. Yasuda Fermilab.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
EPICS Application Development At The Canadian Light Source Glen Wright.
DØ Online16-April-1999S. Fuess Online Computing Status DØ Collaboration Meeting 16-April-1999 Stu Fuess.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Controls & Monitoring Overview J. Leaver 03/06/2009.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
DØ Online Workshop3-June-1999S. Fuess Online Computing Overview DØ Online Workshop 3-June-1999 Stu Fuess.
DoE Review January 1998 Online System WBS 1.5  One-page review  Accomplishments  System description  Progress  Status  Goals Outline Stu Fuess.
Connecting LabVIEW to EPICS network
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
EPICS and LabVIEW Tony Vento, National Instruments
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
December 2004EPICS JAERI/ KEK 1 EpicsOra EpicsOra and I/O hardware Judith Rock, Anatoli Khvorostianov.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
An Introduction to Epics/Tango Steve Hunt Alceli EPICS Meeting 2008 INFN Legnaro 15 Oct 17:15.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
Channel Access Concepts
EPICS: Experimental Physics and Industrial Control System
Channel Access Concepts
TANGO from an EPICS perspective
Presentation transcript:

The DØ Control System J. Frederick Bartlett For The DØ Controls Group

Outline  Fermilab and the D0 Experiment  The DØ Control/Monitoring System  IOC extensions  Process Variable Naming Conventions  Database Management  Significant Event System  Detector Configuration Management  Operator Display Support Library

The Fermilab Collider Complex DØ CDF

DØ Detector Scintillating Fibers Liquid Argon/Uranium Calorimeter Central Muon Layer A Silicon Tracker Superconducting Solenoid Central Muon Layer B Central Muon Layer C Forward Muon Layer C Muon Toroid

DØ Run II Control System  EPICS-based controls  Field buses VME MIL/STD1553B CANBUS (Run IIB)  Size  ~15 host-level processors  ~100 IOCs (Input/Output Controllers) MVME2301, MVME2304, MVME5500  ~6600 high-level devices  ~ process variables (records)

DØ Run II Control System  15 major detector sub-systems  Host-Level processes written in Python  Source management - CVS  Operating systems  Host processors - Linux  IOC processors – vxWorks  Software versions  Now - EPICS  Next - EPICS with patches, using SNS linux build tools  Controls staff  Core system - 3 FTEs (4 people)  Detector-specific components - ~2 FTEs Primarily from other institutions

Devices and Records DetectorDevicesRecords Argon/Uranium Calorimeter Scintillating Fiber Tracker Muon Spectrometer Silicon Microstrip Tracker Controls Trigger Systems Other Systems Total

EPICS IOC Extensions Channel Access Database Access Record Support Device Support Driver VME + MIL/STD1553 Scanners DB Load Ethernet LAN IOC Database Customizing Elements MIL/STD1553 Bus and CANBUS VME Bus Access With Retries HV Generator State Machine Off On OfflineDisabled Average Holding Tripped Paused Locked Start Begin Ramp End Ramp Mid Ramp

Gateways to Other Systems  Accelerator  Gateway link to ACNET system  Bidirectional  Data access only (no control)  Cryogenics and Gas  Gateway link to DMACS system  Read-only  Data access only (no control)

ACNET Gateway xmlrpc Server ToACNET FromACNET ToFromITC ToEPICS FromEPICS CACHECACHE REMOTEREMOTE EXPORTEXPORT xmlrpc ITC CLIENTS CA EPICS RECORDS CLIENTS xmlrpc CLIENTS D0BD

DØ Naming Convention  Name elements  Detector CAL  Sub-det N  Device VBD  Locator 01  Attribute STATUS  I/O W  Field SCAN  Template [ ]_ _ / [: ] [. ] CALN_VBD_01/STATUS:W.SCAN Frequently used in filters Many utility tools use this field for device-specific actions

Database Management  Basic EPICS uses flat text files  Template definition file Multiple record definitions with substitution parameters  Template generator file Create a group of records (instance of a template) with values for parameters  Record instance file Instances of records read by IOC to create record database

Relational Database System  EPICS database creation from text files  Record structure defined by DBD files  Template structure defined by template definition files  Template instances defined by template generator files or from Browser GUI  IOC record instances (record instance file) are extracted from database  Database support programs written in Python

Relational Database System Oracle Hardware Database Template Definitions DB Creation Record Field Definitions Record Extract Template Generators List of Records For IOC IOC Id Template Extract Template Generators For IOC Instance Creation

Significant Event System  The significant event philosophy  Alarms are a only a sub-set of the significant events  EPICS does not generate all of the significant events of interest  Alarm utilities enhance reliability Detect impending failures and fix them before they fail Minimize the time to correct failures  Archive all event transitions The archive is a history of the state transitions of the experiment Tools available to search the event archive What was your system doing last month?

Alarm/Event Distribution  SES is a server-based, event (alarm) system:  IOCs and user processes connect to and send alarm transitions to the server Pushed by sources not pulled by the server or client  Server holds the current experiment (alarm) state  Server has one or more filters for each receiving client Makes use of name structure  Rapid display startup of receiving clients  User processes may also declare events via API (C, C++, Python)  Written in Python

Significant Event System Significant Event Server EPICS IOC Process Watcher Periodic Heartbeat Alarm Display F Alarm Watcher F Run Suspend Run Control (COOR) F F Filter SE Message Filtered Message seBrowser seLogger F EPICS IOC Process

SES Alarm Display Select Guidance button Events in line selected by filter Select minor alarm button

Detector Configuration Management  EPICS Save-and-Restore is adequate for accelerators  Accelerators are tuned for an operation mode and the configuration is saved for future restoration  Some complex devices like HEP detectors do not work this way  There are too many distinct modes to be saved  Tuning may not be required Settings are often predictable from trigger selection Many detector component settings are taken from separate calibration measurements

Comics Server  Manages the configuration of the detector  Receives load requests from:  Run control  Expert GUIs  Program APIs  Load map is a directed graph (tree)  Tree node (intermediate) Establishes a layered hierarchy Establishes an execution order  Action node (leaf) Issues EPICS CA requests

Comics Server  Constructed on the server model with multiple clients sending commands  Server may be activated independently for configuring detector component  Coded in the Python language

Configuration Management Tree Intermediate Tree Node CFTSMTCALMUO DEV2DEV3 S0 S2 S1 DEV0DEV1 T0 Root Node Configuration Data Action Node Uses EPICS Channel Access Links determine the order of execution DØ

Comics Expert GUI

Operator Display Library  Standard, process flow (synoptic) displays do not adapt well to the monitoring of HEP detectors  Like accelerators, there are many similar devices that make up the typical detector component (cells in a calorimeter)  The components are not related in a serial fashion like a cryogenic plant  Tabular (spread-sheet designs) are more natural  Similar properties for different devices are easily compared  Deviations are apparent

Operator Display Library  DØ has developed a series of Python display classes for building tabular displays that collect information from EPICS process variables

Resource Display Device Window Basic Frame with Menu Bar, Status Window, and Button Bar Tabbed Pages with CA Connect and Disconnect Device Analog Property Device Status (Bit-Encoded) Property Right-Click on Name Field