Experimental Physics and Industrial Control System (EPICS) Overview Bob Dalesio, May 11, 2000.

Slides:



Advertisements
Similar presentations
Make This work with EPICS! 2006
Advertisements

EPICS Architecture Version 3 Channel Access Client (CAC) Connection Data Transfers WAN/LAN/Local Connection Data Transfers Channel Access Server (CAS)
EPICS Noboru Yaamamoto Jan 27, 2009 for EPICS seminar at RRCAT, Indore Installing EPICS.
LEDA Instrumentation Environment Bob Dalesio May 12, 2000.
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.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
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.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
Integrating Acquired Subsystems Bob Dalesio 09/21/99.
Diagnostics and Controls K. Gajewski ESS Spoke RF Source Accelerator Internal Review.
Experimental Physics and Industrial Control System (EPICS) Overview Bob Dalesio, Dec, 2002.
Single Board Computers and Industrial PC Hardware at the CLS
1 1999/Ph 514: EPICS Overview EPICS Experimental Physics and Industrial Control System (EPICS) Overview Bob Dalesio LANL.
Berliner Elektronenspeicherringgesellschaft für Synchrotronstrahlung mbH (BESSY) Accelerator and Experiment Control and Monitor Systems Ralph Lange BESSY,
Control System and Software Engineering Process Elder Matias
1 Progress of the Controls for BEPCII EPICS Seminar Presented by J. Zhao 20 August, 2002.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS-DCT (SNL) Training.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
Experimental Physics and Industrial Control System (EPICS) Database Bob Dalesio, June 27,2001.
CLS: Control System E. Matias, R. Berg, G. Wright, T. Wilson, T. Johnson, R. Tanner and H. Zhang Canadian Light Source University of Saskatchewan Invited.
Ralph Lange: OPC Gateway (Device Support) OPC Gateway (Device Support) Ralph Lange – EPICS Collaboration Meeting March SSRF.
Experimental Physics and Industrial Control System (EPICS) Overview Bob Dalesio, June 24, 2001.
Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ – the New Lujan Center Data Acquisition Application Frans Trouw, Gary.
Redundancy. 2. Redundancy 2 the need for redundancy EPICS is a great software, but lacks redundancy support which is essential for some highly critical.
SNS Integrated Control System EPICS Recent Applications and Future Directions Bob Dalesio June 12, 2001.
Introduction to EPICS (Ned Arnold, John Maclean).
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
EPICS Direction to Support Large Projects and Incorporate New Technology Leo R. Dalesio 09/21/99.
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.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
Making LabVIEW look like an IOC Kay-Uwe Kasemir, LANL May 2002.
Ethernet Based Embedded IOC for FEL Control Systems J. Yan, D. Sexton, Al Grippo, W. Moore, and K. Jordan ICALEPCS 2007 October 19, 2007 Knoxville Convention.
Integrating Acquired Subsystems Bob Dalesio 11/29/98.
1 Channel Access Concepts – EPICS Training – K.Furukawa – Mar EPICS Channel Access Concepts Kazuro Furukawa, KEK, ( ) (Bob Dalesio, LANL,
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.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
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.
LANLLEDA, LANSCE*, AFEL ANLAPS, 25 of 37beamlines, IPNS JLABCEBAF, FEL, Halls A.B.C. LBLALS, BaBar, Heavy ion Fusion, Gammasphere, SLACPEP II*, NLC** ORNLSNS,
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Controls & Monitoring Overview J. Leaver 03/06/2009.
EDM collaboration meeting WBS 9.0: Slow controls, Simulations, DAQ/data analysis Chris Gould- North Carolina State University and Triangle Universities.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
Connecting LabVIEW to EPICS network
Stanford Linear Accelerator Center Ron Chestnut EPICS Collaboration Mtg May 21-23, SLAC EPICS Projects Yesteryear, Today, and Tomorrow.
Jefferson Lab Report Karen S. White 11/14/00. Overview  Status of Jefferson Lab Control System  Work In Progress  Transitioning to Operations.
Computing at SSRL: Experimental User Support Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
EPICS Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
Managed by UT-Battelle for the Department of Energy Kay Kasemir Jan Experimental Physics and Industrial Control System.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
An Introduction to Epics/Tango Steve Hunt Alceli EPICS Meeting 2008 INFN Legnaro 15 Oct 17:15.
JLab Accelerator Controls Matt Bickley MaRIE discussion April 26, 2016.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
Component 8/Unit 1bHealth IT Workforce Curriculum Version 1.0 Fall Installation and Maintenance of Health IT Systems Unit 1b Elements of a Typical.
EPIC S Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
Laboratorio per dottorandi 2017 Particle Accelerators Control System
ATF/ATF2 Control System
Why PC Based Control ?.
Experimental Physics and Industrial Control System (EPICS) Overview
Writing a Channel Access Client in EPICS
EPICS: Experimental Physics and Industrial Control System
Presentation transcript:

Experimental Physics and Industrial Control System (EPICS) Overview Bob Dalesio, May 11, 2000

Outline Introduction: What is EPICS –The Collaboration –Architecture –Tool-Kit IOC Core –Channel Access –Process Database Conclusions

What is EPICS? A collaboration of the controls groups of many research organizations that use the EPICS tool-kit. A distributed architecture that supports a wide range of solutions from small test stands to large integrated facilities. A set of tools that reduces software application and maintenance costs by providing: Configuration tools in place of programming A large installed base of tested software A modular design that supports incremental upgrades Well defined interfaces for extensions at every level

What is EPICS? The Collaboration Over 100 independent projects in North America, Europe and Asia Applications in particle physics, astronomy, and industrial control Distribute software over the network Independent development, co-development and incremental development of code done by members Problem reporting and resolution via exploders Documentation available on WWW sites Large collaboration meetings to report new work, discuss future directions, explore new applications, and explore new requirements for existing codes Small design groups from multiple labs meet to discuss design issues on significant codes: Channel Access, Archiving and MMI

What is EPICS? Partial List of Collaboration Members Argonne National Laboratory Los Alamos National Laboratory Jefferson Laboratory Berliner Elekronenspeicherring- Gesellschaft fur Synchrontronsrahlung W. M. Keck Observatory Stanford Linear Accelerator Center KEK (Koh ehnerugii Kencuesho) Commissariat a l’Energie Atomique (SACLAY) Deutches Elektronen- Synchrotron Lawrence Berkeley National Laboratory Paul Scherrer Institut Gemini Telescope Shanghai Syncrotron Radiation Facility RIKEN Oakridge National Laboratory Institute of High Energy Physics (Beijing) Fermilab D0 Experiment Budker Institute of Nuclear Physics

What is EPICS? Project Status Throughout the Collaboration APS 300, IOC20 wsreliable operation* Tesla Test Inj 6004 IOCs2 wsreliable operation KeckII 1,5002 IOCs2 wsreliable operation PSR 2,5004 IOCs6 wsreliable operation Duke FEL 2,5006 IOCs3 wsreliable operation PEP II RF 8,4008 IOCs2 wsreliable operation BESSY 15,00015 IOCs4 wsreliable operation 1APS Beamline 15,00022 IOCs10 wsreliable operation LEDA 26,000 8 IOCs 8 wsreliable opeartion Jlab 180,00081 IOCs30 wsreliable operation* *APS has one of 24 BPM IOCs lost once per month (MV172s). These IOCs are very heavily loaded VXI crates that are running the 3 KHz closed loop control. They are using MXI bus extenders and are connected through a shared memory bus.

What is EPICS? Distributed Architecture EPICS is physically a flat architecture of front-end controllers and operator workstations that communicate via TCP/IP and UDP System scales through the addition of new computers Physical hierarchy is made through bridges, routers, or a gateway Network bandwidth is the primary limiting factor EPICS software architecture is client/server based - with independent data stores providing read/write access directly between any two points Local name services mean automatic integration of new components Point-to-point communication supports automation

What is EPICS? “Standard” Hardware Configuration Workstations: Sun Hp DEC/Alpha Silicon Graphics PC I/O Controllers VME/VXI/PCI Field I/O Remote I/O and Signal Conditioning CAN-Bus, Industry Pack VME, VXI, PCI, ISA CAMAC, GPIB Profibus, Bitbus, Serial, Allen-Bradley, Modbus Field I/O

What is EPICS? Standard Operating System Support Workstations OS: SunOS, Solaris LINUX DEC-UNIX SGIX, HPUX Windows NT* I/O Controllers vxWorks (being made portable) testing on: RTEMS, Solaris, LINUX, WinNT Field I/O

What Is EPICS? Distributed Software Architecture ca-server process DB device sup ca-client CDEV vxWorks, UNIX WindowsNT, VMS UNIX ca-clientCORBA ACE CASR: vxWorks Portable Server: WindowsNT VMS Solaris ca-server vxWorks currently Process DB is tested on: RTEMS, Solaris, LINUX, WinNT CA Server is in process.

What Is EPICS? A Collection of Tools Visualization: EDD/DM, DM2K, MEDM, Dataviews, SL-GMS, Visual Basic, JAVA Visual C++, Labview, IDL, SAMMI, JPT, Correlation Plots, Probe, Striptool Alarm Manager: ALH State Programming: SNL, FSQT Archiving: Channel Archiver, BURT, Save/Restore, DESY archive, BESSY archive Script Interfaces: Python, SDDS, tcl, PV-Wave, Mathmatica, Matlab, Other Clients: Orbit Lock,X-Orbit, SAD, CNLS-net, ARTEMIS Operator Interface Channel Access Client LAN Operator Interface Channel Access Client Data Stores Channel Access Server LAN Data Manipulation: IDL, ActiveX Data Servers: Process Database, Gateway, BPM Server Interface to Existing Systems: Lansce Control System, SLC at SLAC, KEKB Injector Interface

IOC Core Channel Access Client/Server Protocol –Used to communicate between EPICS datastores and EPICS client tools –Version is represented by the first digit of a release 3.13 –All matching versions communicate to support incremental upgrades Process Database –Primary data server in EPICS systems –Provides a configuration approach to interface to instrumentation –Supports data acquisition and steady state control

IOC Core: Channel Access Client/Server Libraries Sequencer Channel Access Client LAN/WAN Operator Interface Channel Access Client Database Links Channel Access Client Channel Access Server EPICS Process Database Client: Provides read/write connections to any subsystem on the network with a channel access server Server: Provides read/write connections to information in this node to any client on the network through channel access client calls. The data resides here! Services: Dynamic Channel Location, Get, Put, Monitor Access Control, Connection Monitoring, Automatic Reconnect Conversion to client types, Composite Data Structures Platforms: UNIX, vxWorks, VMS (Client only), Windows NT TCP/IP & UDP

IOC Core: Channel Access Services Sequencer Channel Access Client LAN/WAN Operator Interface Channel Access Client Database Links Channel Access Client Channel Access Server EPICS Process Database Performance: over 10 Mbit Ethernet Gets Propagation Delay2 mS Throughput7.8K /sec Puts Propagation Delay1 mS Throughput17K /sec Monitors Propagation Delay Dependent Throughput10K / sec (Typically 10% channels have monitors) (memory use in IOC - 2 Meg / 60 connections) (30% network load for 10K monitors / second) Increase bandwidth with Routers, Bridges, Higher speed networks and EPICS gateway TCP/IP & UDP

IOC Core: Process Database ca-server process DB dev support ca-client Process Blocks are the basic elements: AI, AO, BI, BO, Motor, CALC, PID, SUB, etc.… Process Blocks consist of fields for: SCHEDULE, I/O, CONVERT, ALARM, MONITOR They hold runtime values: VALUE, TIMESTAMP, ALARM CONDITION, etc.… New process block are easily added Configured using CAPFAST, GDCT, Relational DB, Text Editor at the workstation Loaded as ASCII records into vxWorks at boot time All fields can be read/written through the channel access client interface during operation LAN A Channel Access server provides connection, get, put, and monitor services to this database A Channel Access client provides access to process DBs in other IOCs

IOC Core: Process Database ca-server process DB dev support ca-client Process Block execution time varies from block type to block type AI on a is ~18,000/second (50% idle) AI on a is ~6,000/second (50% idle) Fastest periodic scan rate is dependent on vxWorks clock tick - 60 Hz Interrupt scanning is limited by the CPU bandwidth (interrupt delay ~33usec) Name resolution - 10,000/second - runs at the lowest priority 2,500 Process blocks use around 1 Megabyte of memory Support to particular physical I/O is distinct from process logic - ASCII device type LAN

Conclusions: The Learning Curve for EPICS is difficult Installing EPICS Setting up the application environment to automatically build databases Setting up the IOC to boot from the workstation Installing the new drivers Knowledge of how to debug the application - is needed by everyone Learning to use the process database Choosing and learning which client tools to use This learning curve can be eased by receiving training from other laboratories, having one of your employees work and train at an EPICS site, or reading the documents and using the software support document to determine the collaboration member supporting your platform.

Conclusions: New Developments Take Advantage of Changes in Technology and Improve Functionality, Ease of Use, and Performance While Reducing Cost Port the EPICS database to other operating systems (ANL,LANL) Upgrade channel access to support an improved protocol, new monitor options, OO interfaces, and an optimized server for both the database and other data stores (LANL/ANL/SLAC) Provide the ability to add/delete records in the process database during operation to support continuous operations (ANL/LANL) Provide native windows NT capabilities to lower cost and provide data to every desktop (LANL) Provide extensions required to scale to 1 million channels for Next Linear Collider (SLAC/LANL) Provide a distributed archiving/archive retrieval capability to better support analysis and operations (LANL/JLAB/DESY/BESSY)

Conclusions: EPICS Continues to Meet the Needs of Its Members Through Cooperative Development of a Scaleable, Flexible Tool-kit The fundamental performance and functionality is scaleable and easily configured. Clean interfaces for clients, new record types, data stores and hardware promote independent development, support ease of reintegration, and protect against obsolescence. Open software development supports cooperative collaboration and gives members laboratories a larger pool of talent to support their controls requirements. Continual improvements allow members to expand functionality, performance, reliability and function while taking advantage of latest technology.