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

Slides:



Advertisements
Similar presentations
Epics Configuration Management Steve Hunt v1.0. Goals Maximize control system availability Minimize development cycle time Reduce risk.
Advertisements

Control System Studio (CSS)
CLS Process Variable Database By: Diony Medrano. CLS PV Database - Topics Background Design Constraints Design and Implementation Benefits and Future.
1 1999/Ph 514: Working With an IOC EPICS Working with an IOC Marty Kraimer APS.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
EPICS Base R and beyond Andrew Johnson Computer Scientist, AES Controls Group.
Test Case Management and Results Tracking System October 2008 D E L I V E R I N G Q U A L I T Y (Short Version)
K.Vijayan : RDB for Diamond Control Systems RDB for Diamond K.Vijayan March 2005.
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
Controls Group New Channel Access Nameserver Joan Sage 12/4/01.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
EPICS Meeting 2005ORNL Rdb systems at SNS Jeff Patton and cast April 27-29, 2005 EPICS Meeting 2005.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
Tracker Controls MICE Controls and Monitoring Workshop September 25, 2005 A. Bross.
SNS Integrated Control System SNS Machine Protection System EPICS Workshop April 27, 2005 Coles Sibley.
SPEAR PV RDB Database EPICS Collaboration Meeting April 27, SPEAR PV RDB Database Clemens Wermelskirchen.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
Oracle Applications for Control Systems By Katia Danilova 09/29/2005.
12-CRS-0106 REVISED 8 FEB 2013 EPICS Collaboration Meeting 2013 CSS An integrated development and runtime environment for ITER plant system local controls.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
 Intro/features  DCBD tool architecture  Software used Dynamic library loader EPICS Device support modules DCDB-server DCDB-client  RPM packages &
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
K.Vijayan : RDB for Diamond Control Systems RDB for Diamond V.Smithers & K.Vijayan June 2003.
March 9-11 IRMISRon Chestnut SLAC RDB and EPICS The World According to SLAC Ideas and Implementations by: J. Rock, D. Rogind, S. Allison.
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.
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
IRMIS Status EPICS 2009 Vancouver D. A. Dohan. Outline IRMIS hardware model cable/cable run channel list Equipment Inventory System RDB Domain separation.
Elder Matias, Diony Medrano, Dong Liu (At Michigan State University - Nov 2011) IRMIS at CLS.
MASAR Server & Application Guobao Shen Photon Sciences Department Brookhaven National Laboratory Collaboration Working Group Oct 02, 2013.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
K. Luchini LCLS Controls, July 1, 2005 SLAC Aware IOC EPICS Magnet Functional Requirements Introduction Magnet Functions.
Database Reports and the IOC Crawler Presented by Katia Danilova 09/01/2005.
ACNET to EPICS Meeting SNS Device DB Tools J. Patrick November 4, 2008.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Lessons Learned From The SNS Relational Database Presented by David Purcell For David Purcell, Jeff Patton, and Katia Danilova.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
FOPI – Slow Control Content 1.FOPI experiment - Overview 2.GUIs for FOPI 3.System Design.
18. June 2003EPICS WS Channel Management Andreas Lüdeke Swiss Light Source / PSI 20 May 2003 EPICS Collaboration Meeting.
EPICS Development for the ASKAP Design Enhancements Program ASTRONOMY AND SPACE SCIENCE Craig Haskins 18 th October 2015 EPICS User Meeting – Melbourne.
The DØ Control System J. Frederick Bartlett For The DØ Controls Group.
21 September 2012 GRETINA SWG GRETINA SWG Meeting Carl Lionberger LBNL GRETINA DAQ Implementation.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
ROCS Web Based Reporting Tool Using SNS Relational Database By Katia Danilova, Ernest L. Williams Jr. Control Systems group, ASD, SNS.
HINS Sharon Lackey July 10, What is Autosave?  Autosave is an EPICS extension that: Automatically saves settings in an ioc when they.
SNS EPICS Config. Database May 2001 Kay-Uwe Kasemir, LANL.
R. Keitel IRMIS Workshop, APS, 9-Mar-2005 RDB Tools at TRIUMF/ISAC.
RDB Issues at SLAC Archiver Store General EPICS Support.
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
XAL based PV Browser Jeff Patton, Chris Fowlkes EPICS Collaboration Meeting – RDB SIG June 12, 2006.
K.Vijayan : RDB for Diamond Control Systems EPICS DB in RDB K.Vijayan June 2006.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
December 2004EPICS JAERI/ KEK 1 EpicsOra EpicsOra and I/O hardware Judith Rock, Anatoli Khvorostianov.
Controls Group New Channel Access Nameserver Presented by Karen White for Joan Sage.
ESS Integrated Control System Software Core Components S.Gysin
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Managed by UT-Battelle for the Department of Energy CSS Based Tools at SNS Dave Purcell EPICS Collaboration Meeting October 13-17, 2008.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
R. Keitel Epics Collaboration Meeting, SLAC, 27-Apr-2005 RDB Use at TRIUMF/ISAC.
LCLS Commissioning & Operations High Level Software
Relational Database Collaboration
LCLS Commissioning & Operations High Level Software
EPICS IOCs – Relational DB
SLC-Aware IOC Magnet Functional Requirements
Presentation transcript:

SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI tool developed, Mostly a table based browser and MPS configuration tool l MPS uses RDB for all configuration, EPICS dbs, st.cmd, etc. l Great visions at first but controls had a slow start. l Strong reluctance in Controls group to use Oracle »Excel spreadsheets »Access »Perl Scripts »Cut and paste »etc…. l Biggest complaint has been the user interface but never any useful feedback

SNS Integrated Control System Requirements l Auto Discovery of IOC Configurations l Quick access to data (< 10 seconds?) Same as EDM, Archiver requirements. l Web Based Reports l Generation of standard configuration files (alh, arReq, etc.) l RDB support of CVS or equivalent l MPS – Configuration Control »Configuration tracking, notification,.mps, etc. l Naming Convention (Sys_SS:Dev_Inst:Signal) configuration control, (jail reports) l Archiver Report (What PVs are not being archived?) Operations l PV clients, whos affected? deleting / renaming PVs l CA updates to RDB and vice versa (Serial numbers, etc)

SNS Integrated Control System SNS Crawler Discovers PVs in running IOCs l Crawler developed because it was impossible to get IOC engineers to import the data. l Populate RDB with PVs running on IOCs »Backwards from original plans to generate db files »RDB ->.substitutions -> xx.db -> crawler -> RDB ????????? »Associates PVs with Templates and substitutions »Associates PVs with Db file name, location, etc. l Problems »Many standards used to load IOCs, painful to keep coding all standards! »Naming convention (Good and bad, enforces rules but no data until they conform) »Bad devices types, adding them for now, CF IOCs are operational

SNS Integrated Control System To-do list - Populates Hardware Software info l Hardware information »Interrupt vector, request level »Base address »Board # »Channel configuration »Firmware bit files, versions –Hardware IDs, now RDB can get Serial number through CA l Software information »Loaded libraries, versions, and dbds »Save-restore paths, files »Channel Access Security file loaded on boot up »Sequence code in use, seq Macros »PV over rides (or defaults), dbpf PV_NAME value »IOC local variables (SPRINTFs) »Task priorities l Bottom line, Everything needed to configure an IOC should be in the RDB, a central data storage area.

SNS Integrated Control System Configuration Control - Reports l MPS Mode Masking, Configuration files, Channel assignments l During commissioning versions can (DO) change often. »Driver Version Report (Incompatible software version report, SNS Utility Driver and some hardware, ) »Template Version Report »Firmware Version Report »Inventory Reports –As a minimum, what IOCs are using XXX Hardware –By Serial number if hardware provides l Boot-up directories, Production verses Shadow

SNS Integrated Control System JERI - IOC Configuration - Present l MPS (For EPICS versions thru ) »Generates MPS Configuration Files »MPS XXX.db and xxx.substitutions files using configurable templates »Startup Script snippet »Archive request files l Power Supplies (test reports generated, not in production) »Generate.substitutions file »Alarm limits (B-Fields from Accelerator physics model, or Golden tune) »Magnet mapping files. Cycling procedures (in use) »Archive request files (in use) »Power supply calibration data »DRVH,L based on Operational parameters, Manufacturer specs. Magnet Specs, and magnet mapping data »ADEL, MDEL based on manufacturer specs, Physics specs »(The last hurdle is getting equipment IDs in Oracle so we added fake ones)

SNS Integrated Control System JERI – BLM Configuration (Desired) l BLM Configuration (MPS Configuration Control) »BLM – AFE Channel assignment (assigns the following) –ADC channel Assignments –DAC channel Assignments –Digital IOC channels –MPS Channel Assignment –DAC Default trip point (MPS trip thresh hold) –DAC trip point DRVH,L –Ion Chamber Calibrations –High Voltage set point

SNS Integrated Control System IOC View Architecture Specific Common records $Share SW versions Hardware driver versions Shows all cards in IOC

SNS Integrated Control System PV by IOC view IOC db file PV List template file PV List Template info substitutions info

SNS Integrated Control System PS Controller View Editable choice fields to select power supply, reconfigure a PSI, or change operations limits

SNS Integrated Control System Magnet View Magnet info Manufacturer Model Max I Magnetic Length Magnet Mapping File Magnet Cycling File

SNS Integrated Control System General RDB Views l Configuration views »IOC »Hardware »Driver / Version »Template »Future versions would allow reconfiguration from these views l PV (Irmis) l Power Hierarchy

SNS Integrated Control System Wish List l 1 - Generic EPICS IOC viewer (similar to PS view) »IOC – card type – channel – sensor l 1 - Inventory Control. Update RDB with serial numbers of hardware after a reboot. l 2 - Generic.substitutions file generator (I.e. spreadsheet) l 2 - Alarm Limits (New facility, most limits are guessed or dont exist, use manufacturer specifications for defaults) l 3 - CAS Configuration tool, viewer ? (data is already mined) l 3 - Configuration Control (For global systems and common software) »Change multiple cdCommands to change driver versions –Changing RELEASE would change all iocs under that top area »View all applications using XXX.template, change versions selectively l RDB knows everything in st.cmd, why not generate st.cmds and populate EPICS data from RDB??