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.

Slides:



Advertisements
Similar presentations
RTEMS and Linux at the Canadian Light Source Tony Wilson Canadian Light Source University of Saskatchewan.
Advertisements

Automation and Drives WinAC – the SIMATIC S7 in your PC News Q1/2004.
EPICS Noboru Yaamamoto Jan 27, 2009 for EPICS seminar at RRCAT, Indore Installing EPICS.
SPEAR Upgrade – EPICS Status
PCaPAC Satellite Workshop ~ High Level Applications Development and the Matlab Middlelayer ~ Sponsored by the Canadian Light Source Saskatoon, Canada October.
Accelerator control at iThemba LABS. Some background No formal reliability procedures Cost considerations SSC operational 24/7 Shutdown total of 2 months/year.
Linux Migration GBT e2e Software Review May 3, 2005 Ramon Creager Melinda Mello
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Elder Matias Canadian Light Source University of Saskatchewan System Integration and QA.
Elder Matias Canadian Light Source University of Saskatchewan System Integration and QA.
INTEGRATION OF EPICS ASYN INTO NON EPICS ENVIRONMENT PRERANA KANKIYA Brookhaven National Laboratory, New York EPICS COLLABORATION MEETING, 2014.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
Elder Matias CLS Control System Recent Upgrades. Major Changes Synchrotron Upgrade New Isotope Production Linac EPICS Software –Python EDM –Aquaman –ScienceStudio.
UW Clinical Neutron Therapy Program. CNTS Engineering Staff Dave Reid Rob Emery Ruedi Risler James Kuan Eric Dorman Stefani.
ESO - G.Chiozzi SPIE 2010 – Evolution of the VLT instrument control system toward industry standards Mario J. Kiekebusch, Gianluca Chiozzi,
Elder Matias Canadian Light Source University of Saskatchewan CLS – Control System Overview.
Single Board Computers and Industrial PC Hardware at the CLS
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
Control and Monitoring System / EPICS Pete Owens Daresbury Laboratory.
Experience of Developing BEPCII Control System Jijiu ZHAO IHEP, Beijing October 18, 2007.
Control System and Software Engineering Process Elder Matias
1 Progress of the Controls for BEPCII EPICS Seminar Presented by J. Zhao 20 August, 2002.
NCSX NCSX Preliminary Design Review ‒ October 7-9, 2003 G. Oliaro 1 G. Oliaro - WBS 5 Central Instrumentation/Data Acquisition and Controls Princeton Plasma.
Ralph Lange: OPC Gateway (Device Support) OPC Gateway (Device Support) Ralph Lange – EPICS Collaboration Meeting March SSRF.
IMPLEMENTATION OF SOFTWARE INPUT OUTPUT CONTROLLERS FOR THE STAR EXPERIMENT J. M. Burns, M. Cherney*, J. Fujita* Creighton University, Department of Physics,
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
ICALEPCS 2007, Knoxville, Tennessee, October 15-19, 2007 Present Status of VEPP-5 Control System D.Yu.Bolkhovityanov, A.Yu.Antonov, R.E.Kuskov The Budker.
E.Matias Canadian Light Source. Where is Saskatoon?
CLS Machine Protection and PLC Hardware Presentation to Beamlines Group Elder Matias Canadian Light Source University of Saskatchewan October 20, 2001.
Chapter 2 Operating System Overview
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
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.
Elder Matias, Diony Medrano, Dong Liu (At Michigan State University - Nov 2011) IRMIS at CLS.
CLS Control System Progress Report Elder Matias Canadian Light Source University of Saskatchewan Saskatoon Saskatchewan.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
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.
Instrumentation at CLS (Presentation to Saskatchewan Instrumentation Society Executive) Elder Matias Canadian Light Source University of Saskatchewan
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.
Eugenia Hatziangeli Beams Department Controls Group CERN, Accelerators and Technology Sector E.Hatziangeli - CERN-Greece Industry day, Athens 31st March.
Control Hardware Design Control Hardware Wiring IOC Software (Low Level) OPI Software (High Level) Final Test Front-End (Connection to SR1 Ring) Done Insertion.
E. Matias Canadian Light Source University of Saskatchewan CLS Control System Overview.
Oct 8-9, 2005ACS Collaboration Meeting – Archamps, France The MicroIOC From Custom To Production First customer: PSI 25 pieces.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
EPICS Application Development At The Canadian Light Source Glen Wright.
The recent history and current state of the linac control system Tom Himel Dec 1,
ICALEPCS 2007 The Evolution of the Elettra Control System The evolution of the Elettra Control Sytem C. Scafuri, L. Pivetta.
Connecting LabVIEW to EPICS network
Stanford Linear Accelerator Center Ron Chestnut EPICS Collaboration Mtg May 21-23, SLAC EPICS Projects Yesteryear, Today, and Tomorrow.
Computing at SSRL: Experimental User Support Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
An Overview of Support of Small Embedded Systems with Some Recommendations Controls Working Group April 14, 2004 T. Meyer, D. Peterson.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
EPICS Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
CEA DSM Irfu SIS LDISC 18/04/2012 Paul Lotrus 1 Control Command Overview GBAR Collaboration Meeting Paul Lotrus CEA/DSM/Irfu/SIS.
E. Matias Canadian Light Source CLS Beamline Controls.
Interfacing to the CLS Control System Canadian Light Source University of Saskatchewan.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.
JLab Accelerator Controls Matt Bickley MaRIE discussion April 26, 2016.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Integrating Advantech PCI I/O cards into EPICS. Outline ANTARES computer control and data acquisition systems architecture STAR computer control and data.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
Accelerator control at iThemba LABS
Laboratorio per dottorandi 2017 Particle Accelerators Control System
SNS Status Report Karen S. White 10/15/08.
Accelerator Reliability and Software
ATF/ATF2 Control System
Programmable Logic Controllers (PLCs) An Overview.
EPICS: Experimental Physics and Industrial Control System
Presentation transcript:

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 Talk – Particle Accelerator Conference 2005 Knoxville, Tennessee

CLS Control System Heritage Saskatchewan Accelerator Laboratory (SAL) operated from the late 1960s until –Control system evolved from PDP-8 -> PDP-11 -> VAX -> NeXT and Sun workstations. –IO was based on CAMAC with two CAMAC data highways. –Some Micro84 PLCs. Control System was locally developed running on BSD UNIX. Was it open source? Yes, but only because so much of it was locally developed. What to do with the grass field?

CLS Control System Heritage 1999 March 31 funding for CLS was approved. Nuclear physics program was discontinued. The existing Linac would need to be reconfigured and refurbished. Linac Controls: –CAMAC hardware would need to be replaced. –Power supplies would need to be upgraded. –RF control would need to be redesigned. –The old computer hardware would need to be replaced. We need to make some design choices....

CLS Control System Principles System design based on highly distributed control. Extensive use of single board computers (originally used in SAL). Target lifetime of 15+ years. Data communication over Ethernet when possible. System must be user-friendly. The accelerator and beamline systems must be maintainable by a small team. Reliability and availability of beam are critical to the success of the facility. Building an open source control system was not the initial goal, it was the outcome. Accelerator complex must be complete by Dec and the first phase of beamlines by Dec The project must come in on budget.

The options: (1) EPICS or (2) Isagraph/Virgo. EPICS was selected, since it had: –large built up accelerator and beamline user community; –availability of suitable drivers and utilities; –credibility with the CLS user community; and –good design. EPICS Extensions selected include: –EDM, –Accelerator Toolbox, –Gateway and –Data Archiver. EPICS extensions that were locally developed: –assortment of drivers, –IOC Auto-Save-Restore, –simple beamline scanning program, and –SQL Alarm Management Database. Selection of a Distributed Control Platform

The options: (1) Sun or (2) Linux. Linux was selected, since it had: –better hardware availability, and –fairly equivalent reliability levels. EPICS Extensions selected include: –EDM, –Array Display Tool, –StripTool, and –Knob Manager. We are now starting to deploy touch screens running Linux/EDM. Selection of an Operator Workstation Platform

PLC hardware extensively used –Telemecanique Momentum –Siemens S7/300 –Siemens S7/400 –Siemens S7/400 F (safety critical applications) Software Written using IEC Programming Language primarily Graphical Function Block Notation PLC Control

Selection of a Hard Real-Time Operating System The Options: (1) RTEMS and (2) VxWorks. RTEMS was selected, since it had: –good experience from SAL, –additional flexibility with single board computers, and –high level of reliability. IOCs are CLS/SIL embedded controllers (approx 150) based on the MC MHz. Processor. Pros and Cons: –No dynamically loaded libraries; must be linked prior to download. –Large number of IOCs (separation of function but more points of failure).

The options: (1) Matlab, (2) SciLab, or (3) root. Matlab was selected primarily because of the availability of the accelerator toolbox and staff experience. Matlab is commercial, the accelerator toolbox is open source. Software originates from ALS and SPEAR III. Augmented with other CLS specific utilities. Also being used as a commissioning tool for beamlines. Special care is required to maintain consistency with other parts of the control system. Selection of an online scripting/analysis package

Single board computers (EPICS/RTEMS) used for: –stepper motors, –power supply control, –vacuum equipment monitoring, –radiation monitors, and –other RS-232 devices. PLC hardware/software used for machine protection. Industrial PCs with VME used for diagnostics. Linux servers used for high- level control, network services and EPICS/PLC interface. Implementation

Linux and VME Using VME hardware connected to a Linux PC. SIS1100 PCI card fiber optic link SIS3100 VME module Maps VME backplane to IOC memory. Advantages: –PC can be physically separated from VME crate. –More than one VME crate per PC. –Multiple applications can access the same crate. –High throughput 25 to 80 Mbytes/sec block transfer. Work ongoing on RTEMS support.

Provides fiber optic signal distribution of triggers. VXI based hardware IOC running EPICS on RTEMS. Operator Interface implemented using Glade. Glade was selected for the table and file handling capabilities. Timing System

Beamline Controls are based on the same software and hardware as the accelerator systems. Each beamline is on a separate virtual network. The EPICS Gateway provides links between the different networks. Matlab is used for scripting. Beamlines

Interface to Administrative Systems Administrative (financials and work- management) databases are based on MS- SQL. freeTDS was used to provide an interface into these systems. The control-system is a source of alarm-data that can be used to trigger preventative maintenance activities. This integration is still a work in progress.

VLANs for: each beamline, machine control, development, office, visitors VME Crate (Reflective Memory) MicroStep EROC IOC RTEMS Field Dev. RS-232 Devices OPI Linu x IOC Step Controller RTEMS Motors MicroStep OPI Linu x OPI Linu x Touch Panel OPI Linux Network Server (bootp, dhcp, auto restore) Linux Data Archive Server Linux Alarm Server MS-Win MS-SQL Server MS-Win PowerEdge IOC Linux PS Boards IOC RTEMS Power Supplies EROC IOC RTEMS Field Dev. Ethernet Devices PLC & GPIB Field Dev. MagnetsMotors 1Gig Bridge IOC Linux Field Dev. Profibus PLC System Architecture

Lessons Learned The use of open source did not compromise reliability or availability. Configuration management is critical to the success of the system. Layering of different software packages requires care to ensure the system is reliable. Additional flexibility in available in managing upgrades compared to commercial software. Dependence on suppliers continuing to support the product is not an issue. Our, building automation system is a case in point, where the vendor has discontinued the product and we are now replacing it with EPICS and PLC hardware.

Winter at the CLS