1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.

Slides:



Advertisements
Similar presentations
Guobao Shen BNL Services Guobao Shen
Advertisements

Control System Studio (CSS)
V4 Status and Workshop Report CSS, DISCS, an V4 team.
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS V4 Support to Physics Application, Data Acquisition, and Data Analysis L. Dalesio, Gabriele Carcassi, Martin Richard.
Control System Studio (CSS) Data Access Layer (DAL) Kay Kasemir, Xihui Chen July 2009.
EPICS V4/areaDetector Integration
0 BROOKHAVEN SCIENCE ASSOCIATES Middle Layer Services at NSLS II for Beam Commissioning and Operation Guobao Shen Controls Group, Photon Sciences Brookhaven.
PvData,pvAccess,pvIOC,pvService Status EPICS Meeting June 2011 NSRRC,Hsinchu, Taiwan Marty Kraimer, Guobao Shen, and Matej Sekoranja.
EPICS Architecture Version 3 Channel Access Client (CAC) Connection Data Transfers WAN/LAN/Local Connection Data Transfers Channel Access Server (CAS)
CSS Developments at BNL / NSLS-II Gabriele Carcassi Feb
PCaPAC Satellite Workshop ~ High Level Applications Development and the Matlab Middlelayer ~ Sponsored by the Canadian Light Source Saskatoon, Canada October.
Jeffrey Hill.  LANSCE Requirements – a Review  EPICS Paradigm Shift – a Review  Status – What is Implemented  What is an Abstract Data Type?  Benefits.
0 BROOKHAVEN SCIENCE ASSOCIATES NSLS II Physics Application and its Open Architecture Guobao Shen Controls Group, Photon Sciences Brookhaven National Laboratory.
PvData,pvAccess,javaIOC,pvService Status EPICS Meeting Aix-en-Provence, France Marty Kraimer, Guobao Shen, and Matej Sekoranja.
ORNL is managed by UT-Battelle for the US Department of Energy EPICS V4 for SNS Neutron Data Kay Kasemir Oct
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
Debbie Rogind & Greg White High Level Applications October High Level Applications.
V4 – Executive Summary 1.Provide online add/delete of I/O to support continuous operation. 2.Provide redundant control of remote I/O to support improved.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group Leader 8 th ASAC meeting for NSLS-II Project May 10-11, 2011.
Data Acquisition at the NSLS II Leo Dalesio, (NSLS II control group) Oct 22, 2014 (not 2010)
12-CRS-0106 REVISED 8 FEB 2013 EPICS Collaboration Meeting 2013 CSS An integrated development and runtime environment for ITER plant system local controls.
1 BROOKHAVEN SCIENCE ASSOCIATES Introspection Control System Group – Bob Dalesio presenting EPICS Meeting May 2, 2009.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014.
ChannelFinder Client Kunal Shroff EPICS Spring Collaboration Meeting, October 2010 BNL.
Archive Engine for Large Data Sets Nikolay Malitsky EPICS Collaboration Meeting San Francisco, USA October 5, 2013.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Core (and other development efforts) L. Dalesio. EPICS April 25, 2013.
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.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
Update on a New EPICS Archiver Kay Kasemir and Leo R. Dalesio 09/27/99.
EPICS Direction to Support Large Projects and Incorporate New Technology Leo R. Dalesio 09/21/99.
1/15 G. Manduchi EPICS Collaboration Meeting, Aix-en-Provence, Spring 2010 INTEGRATION OF EPICS AND MDSplus G. Manduchi, A. Luchetta, C. Taliercio, R.
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
MASAR Server & Application Guobao Shen Photon Sciences Department Brookhaven National Laboratory Collaboration Working Group Oct 02, 2013.
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut EPICS V4 Archiver Service and Matlab client Timo Korhonen.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group HLA Review for NSLS-II Project April
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Channel Finder operational experience at BNL work by: Gabriele Carcassi, Robert Petkus, Guobao Shen, Kunal Shroff, Lingyun Yang, written by: Gabriele Carcassi.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 12, 2010.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
1 BROOKHAVEN SCIENCE ASSOCIATES Open-Source Distributed Deterministic Device Control Larry Doolittle Alex Ratti Bob Dalesio.
Data Aging - Euthanasia Bob Dalesio. Data Management - Channel Data Allow recovery of unused data space Allow selective delete of channels Allow selective.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Control System The Control Group – presented by Bob Dalesio EPICS Meeting April 12, 2015.
ChannelFinder & CSS Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
ORNL is managed by UT-Battelle for the US Department of Energy Status Report: Data Acquisition and Instrument Controls for the Spallation Neutron Source.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Normative V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
Version 4 Charter – Discussion Bob Dalesio Greg White.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
Channel Finder operational experience at BNL
LCLS Commissioning & Operations High Level Software
Presented by Li Gang Accelerator Control Group
ChannelFinder Directory Service
Prototyping the Next EPICS Archiver
LCLS Commissioning & Operations High Level Software
EPICS Version 4 Abstract:
SLAC USA Marty Kraimer and Matej Sekoranja
Control System Studio (CSS)
High Level Physics Applications for LCLS Commissioning
EPICS 7 Matej Sekoranyja, Marty Karimer, Michael Davidsaver, Ralph Lange, Andrew Johnson, Timo Korhonen, Heinz Junkes, Patrick Marschalik, Murali Shankar,
Presentation transcript:

1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011 October 11, 2010

2 BROOKHAVEN SCIENCE ASSOCIATES Outline System Requirements Subsystem Standards Control System Architecture Relational Database Tools - IRMIS EPICS Extensions Control System Studio (CSS) Tools Conclusions

3 BROOKHAVEN SCIENCE ASSOCIATES EPICS V3 A narrow interface supports reusable clients DBR_ types included: –Double, long integer, enumerated, string –Metadata: time stamp, alarm severity, display and control Only monitored value, time stamp alarm severity This narrow interface supported signals well It is not easily extendible nor is it complete enough

4 BROOKHAVEN SCIENCE ASSOCIATES Client-Server Architecture for HLA Distributed Front-Ends Java or C++ Middle Layer Servers Physical Device Ethernet PVAccess Model Server CAC Control System Studio PVAccess / CAC Diagnostics CAS PVA Elegant/Tracy PVAccess Channel Finder Svr SQL RDB PVAccess/CAC Multi-Channel Arrays Svr Physical Device Power Supplies CAS PVA Physical Device RF CAS PVA Physical Device Vacuum CAS PVA Physical Device Utilities etc.., CAS PVA PVAccess/CAC Save/Compare Restore Svr SQL Python HLA Client PVAccess IRMIS PVAccess Lattice Server SQL IRMIS PVAccess/CAC Magnet Conv, Response Matrix, Dispersion, etc…. Serves orbit, magnets, any array of channels Completed Planned Development Being Extended LS2 Simulation Diag & PS CAS PVA Matlab or Python PVAccess / CAC Matlab HLA Client PVAccess Early Development

5 BROOKHAVEN SCIENCE ASSOCIATES Extend DBR_TYPES in EPICS V4 Easily extendible thanks to work done by Marty Kraimer and Matej Sekorania Can monitor metadata too – Only send structure elements that have changed New data types: Extend the DBR_TYPES to higher level applications Extra metadata needed to complete description of type Heavy basis on Aida (Greg White – SLAC), in discussion with NSLS II team from controls and phsyics, Timo Korhonen (PSI), and James Rowland (Diamond)

6 BROOKHAVEN SCIENCE ASSOCIATES New DBR_TYPES in EPICS V4 New DBR Types PV List: list of PV names and relative order Multi-Channel Array: synchronous array of PV List Image: image with information to allow actions Multi-dimensional arrays: 1 to N of same type Statistics: high, low, median, average, standard deviation, start time, end time, number of samples Provide CSS Plugs for Each Type Support Archive/Archive Retrieval for Each Type Extend Database Records to Use These Types

7 BROOKHAVEN SCIENCE ASSOCIATES PV List Applications do not need knowledge of specific PVs Populate Directory Service from IRMIS and boot. Search for a list of process variables by attributes: X position in storage ring Motor position in primary mirror Temperature in LINAC Return list with an ordinal

8 BROOKHAVEN SCIENCE ASSOCIATES ChannelFinder Viewer  CSS  Display  ChannelFinderViewer  Searching Name, Property value, Tags Regular Expressions using “*”, “?” prop=val1, val2 is equivalent to prop=val1 OR prop=val2 prop=val1 tag=myTag is equivalent to prop=val1 AND tag=myTag

9 BROOKHAVEN SCIENCE ASSOCIATES ChannelFinder Viewer

10 BROOKHAVEN SCIENCE ASSOCIATES ChannelFinder – CSS Plugin

11 BROOKHAVEN SCIENCE ASSOCIATES Multi-Channel Array Send a PV List Return an array of PV, time stamp, alarm severity, as an ordered list Can specify how close in time for synchronization. Standard applications in CSS exist for viewing Plotting Histograms Table

12 BROOKHAVEN SCIENCE ASSOCIATES MultiChannelViewer

13 BROOKHAVEN SCIENCE ASSOCIATES Developed Tools - Multi channel Viewer  Same set of channels  Fig1. sorted by position  Fig2. sorted by name

14 BROOKHAVEN SCIENCE ASSOCIATES User Slide - HLA on Channel Finder Service They talk about PV/IOC, we talk about element/cell/girder PVs are associated with properties and tags, which are used to construct a lattice familiar to physicist. “the BPM readings in cell 10 girder 2” is easier than PV name

15 BROOKHAVEN SCIENCE ASSOCIATES User Slide - HLA Use Cases HLA uses several thousand PVs. Each have properties like “elementname”, “elementtype”, “cell”, “girder”, “s_position”, … Some PVs are tagged with “ HLA.X ”, “ HLA.EGET ”, “ HLA.EPUT ” which means that PV is a “horizontal reading/setting”, “default reading” and “default setting” The lattice object is a list of elements, each owns several PVs. All of the data is initialized from channel finder service: pv, properties and tags. No need to remember PV when writing a normal script.

16 BROOKHAVEN SCIENCE ASSOCIATES Image Attributes (largely from areaDetector – Mark Rivers) Image size Image representation: RGB etc.. Pixel resolution Image dimensions Time stamp Create an image record and image calculation record Incorporate the type into AreaDetector

17 BROOKHAVEN SCIENCE ASSOCIATES Statistics Support in records types similar to circular buffer Support archive of this type Use this type for archive retrieval Use this data type to collect information from BPM raw data and 10 KHz data

18 BROOKHAVEN SCIENCE ASSOCIATES Conclusions Version 3 has provided adequate support for signal data for many years with a wide variety of clients developed against the interface. The need to extend the support for more complex data has been clear for near as many years. The approach to take use cases to extend the data types seems to be appropriate to find a minimum set of new data types that provide a wide range of functionality. The active engagement of many in our community to help define this set has been productive for physics applications. The services provided have been well received by the first few users. A tram of physicists and programmers at several labs are now focused on this effort with approaching deadlines A lot more work is needed.