Elder Matias Canadian Light Source University of Saskatchewan System Integration and QA.

Slides:



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

1 BROOKHAVEN SCIENCE ASSOCIATES NSLS-II Shielding Workshop S. Buda Personnel Protective Systems March 27, 2007.
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.
Elder Matias Canadian Light Source University of Saskatchewan System Integration and QA.
Elder Matias CLS Control System Recent Upgrades. Major Changes Synchrotron Upgrade New Isotope Production Linac EPICS Software –Python EDM –Aquaman –ScienceStudio.
EPICS on TPS RF System Yu-Hang Lin Radio Frequency Group NSRRC.
February 17-18, 2010 R&D ERL James Jamilkowski R&D ERL Controls Larry Hoff James Jamilkowski February 17-18, 2010 Controls.
Diagnostics and Controls K. Gajewski ESS Spoke RF Source Accelerator Internal Review.
EPICS Meeting, APS, June 14 th 2006 MCS-8 The 8 axes motion control system Rok Šabjan
SPEAR 3 Upgrade SSRL/SLAC January 2001  Computer Control System  Beam Monitoring and Feedback Systems  Timing System  Machine Protection Systems 
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.
Control and Monitoring System / EPICS Pete Owens Daresbury Laboratory.
Control System and Software Engineering Process Elder Matias
1 Progress of the Controls for BEPCII EPICS Seminar Presented by J. Zhao 20 August, 2002.
Elder Matias Canadian Light Source University of Saskatchewan Control System Development.
NCSX NCSX Preliminary Design Review ‒ October 7-9, 2003 G. Oliaro 1 G. Oliaro - WBS 5 Central Instrumentation/Data Acquisition and Controls Princeton Plasma.
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.
IMPLEMENTATION OF SOFTWARE INPUT OUTPUT CONTROLLERS FOR THE STAR EXPERIMENT J. M. Burns, M. Cherney*, J. Fujita* Creighton University, Department of Physics,
Richard Farnsworth –Controls and IT Manager Australian synchrotron OUTSOURCING, INSOURCING, AND INTEGRATION OF CONTROL SYSTEMS IN THE AUSTRALIAN SYNCHROTRON.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
E.Matias Canadian Light Source. Where is Saskatoon?
1 Kenneth Osborne, 9/14/07 Inter Group communications at the Advanced Light Source. Overview of the different methods of communication between different.
CLS Machine Protection and PLC Hardware Presentation to Beamlines Group Elder Matias Canadian Light Source University of Saskatchewan October 20, 2001.
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.
André Augustinus 17 June 2002 Technology Overview What is out there to fulfil our requirements? (with thanks to Tarek)
Elder Matias, Diony Medrano, Dong Liu (At Michigan State University - Nov 2011) IRMIS at CLS.
The microIOC Family Gasper Pajor EPICS Collaboration Meeting Argonne National Laboratory June 2006.
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.
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.
Computer Science and Instrumentation Research Opportunities at CLS Johannes M. Vogt Canadian Light Source University of Saskatchewan
Eugenia Hatziangeli Beams Department Controls Group CERN, Accelerators and Technology Sector E.Hatziangeli - CERN-Greece Industry day, Athens 31st March.
LHC Collimation Project Integration into the control system Michel Jonker External Review of the LHC Collimation Project 1 July 2004.
Issues in Accelerator Control Bob Dalesio, December 23, 2002.
Control Hardware Design Control Hardware Wiring IOC Software (Low Level) OPI Software (High Level) Final Test Front-End (Connection to SR1 Ring) Done Insertion.
Oct 8-9, 2005ACS Collaboration Meeting – Archamps, France The MicroIOC From Custom To Production First customer: PSI 25 pieces.
Booster Top-off Computer Controls System C. Timossi November 22, 2004.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Chiller control system Lukasz Zwalinski – PH/DT.
February 2010 ALBA Synchrotron Light Source Francis Perez.
Science Studio Web Access to EPICS The CLS Experience Elder Matias Canadian Light Source.
The recent history and current state of the linac control system Tom Himel Dec 1,
Managed by UT-Battelle for the Department of Energy SCL Vacuum Control System Upgrade Derrick Williams
Computing at SSRL: Experimental User Support Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
D&D Review 6 August PEP-II Minimal Maintenance State Upkeep Stan Ecklund (J. Seeman, S. DeBarger, D. Kharakh, M. Zurawel)
Canadian Light Source Commissioning Progress CLS Annual Users Meeting –
CEA DSM Irfu SIS LDISC 18/04/2012 Paul Lotrus 1 Control Command Overview GBAR Collaboration Meeting Paul Lotrus CEA/DSM/Irfu/SIS.
R. Krempaska, October, 2013 Wir schaffen Wissen – heute für morgen Controls Security at PSI Current Status R. Krempaska, A. Bertrand, C. Higgs, R. Kapeller,
E. Matias Canadian Light Source CLS Beamline Controls.
Interfacing to the CLS Control System Canadian Light Source University of Saskatchewan.
Control System Considerations for ADS EuCARD-2/MAX Accelerators for Accelerator Driven Systems Workshop, CERN, March 20-21, 2014 Klemen Žagar Robert Modic.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
Programmable Logic Controller & Distributed Control System Yoon-Je Choi 17 th June 2006.
JLab Accelerator Controls Matt Bickley MaRIE discussion April 26, 2016.
ESS (vacuum) control system Daniel Piso Controls Division February 20, 2013.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
An overview of I&C Systems in APR 1400 Parvaiz Ahmed Khand December 28, 2007.
Failure Analysis Tools at DESY. M. Bieler, T. Lensch, M. Werner, DESY ARW 2013, Melbourne,
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
Report Technical Director Storage-Ring-Installation Completed
Operations Machine Simulator.
SNS Status Report Karen S. White 10/15/08.
ATF/ATF2 Control System
GlueX Electronics Review Jefferson Lab July 23-24, 2003
Programmable Logic Controllers (PLCs) An Overview.
EPICS: Experimental Physics and Industrial Control System
Presentation transcript:

Elder Matias Canadian Light Source University of Saskatchewan System Integration and QA

Agenda The CLS Facility System Engineering Approach Control System Design Instrumentation Design Conclusion

Where is Saskatoon?

Why Saskatoon? 1964 Saskatchewan Accelerator Lab (SAL) was established for chemistry and nuclear physics research. Saskatoon was chosen for the CLS due to existing complement of staff and facilities

What are the CLS Objectives? m circumference 2.9 GeV DBA lattice with 12-fold period Nominal Tune: x = y = 3.26 E loss per turn: > MeV Bend magnet radiation: c = 1.6 Å E c = 7.6 keV  x = 18.1 nmrad Damping times:  x = 2.4 ms,  y = 3.8 ms,  E = 2.7 ms ~10 mm bunch length

The CLS Project –LTB1 (Transfer Line) –BR1 (Booster Ring) –BTS1 (Transfer Line) –SR1 (Storage Ring) –Diagnostic Beamlines OSR XSR –Scientific Beamline SGM, PGM (Soft-X-ray) SM Mid IR, Far IR HXMA (Hard X-ray) CMCF (PX) –Additional 7 beamlines –Additional 6 beamlines

CLS Project Structure Nine Work packages: –0. Administrative Support and Project Planning –1. Linac Refurbishment –2. LTB – Transfer Line to Booster –3. BR1 – Booster Ring –4. BTS – Transfer Line to Storage Ring –5. SR1 – Storage Ring –6. Phase 1 Beamlines –7. System Integration (Controls and Diagnostics) –8. Facility (Building and Mechanical Services)

Collaborate and Reuse Internal Collaboration/Reuse –Standardize equipment where it does not impact scientific capability to reduce development and maintenance time –Standardize Design Approach Toolkits and Methods across beamlines and accelerator –Common toolkit and tools across all projects External Collaboration/Reuse –Based on analysis of requirements versus available systems e.g., EPICS, RTEMS, IRMIS, ScienceStudio

Design Package A Design Package Includes: –PFD Drawings used by Mechanical Engineering to capture system layout and critical parameters, e.g., water flow rates etc. –P&ID Drawings used by Controls to define the inputs and outputs of the system and basic relationships Partially based on American Instrumentation Society –Wiring diagrams –Requirements Document (Developed as required) –PLC and EPICS Software

Drawings All Drawings have a unique drawing number AutoCAD, Inventor, Eagle, Visio Draft Drawings have letter numbering Approved Drawings Alpha Numbering Drawings Review and Approval Process Sketches have Sketch numbers As-built captured on master print Master print in control room, updated by CAD as time permits

PID Example

Change Control (Major Changes) Major Changes handled through ECR/ECO Process Minor changes handled through MKS Integrity database

Change Control (Minor Changes) Central Database MKS Integrity MKS Source –Includes source control –Web and IDE Based Implements the concept of “Sandboxes” and “Change Packages” Exploring options for using: –MKS Requirements –MKS Deploy

Sample Problem Report

Sample Change Package

Design for Maintainability Design systems for the long term Phase out and replace older equipment when changing standards Examples –Replacing IOC with Moxa IOCs –Linac upgrade –PS upgrade

Conventional Software Engineering Used for Web Services Projects Content Time Slide prepared by IBM for CLS CANARIE Project

Comparison with the Unified Process?

Safety Critical Software Applications: –lockup system (ACIS) –Oxygen monitoring –BMIT human studies (under development) IEC – SIL 3 based system Subject to CNSC Approval Siemens S7/400 F Redundant Second Chain Fail-safe design Independent Verification ALARP Hazard Analysis

Hazard Analysis Consequence CatastrophicCriticalMarginalNegligible Frequency 1 Frequent (10 -3 )IIIII Probable (10 -4 )IIIIIII Occasional (10 -5 )IIIIII Remote (10 -6 )IIIII IV Improbable (10 -7 )III IV Incredible (10 -8 )IV FrequencyConsequenceRisk Classification Initial RiskProbableCatastrophicI Residual RiskIncredibleCatastrophicII No.Constraint/RequirementAllocation AM4.1.1.aA lockup (search) procedure shall be developed requiring trained personnel or users to inspect the hutch prior to beam operation. Procedure AM4.1.1.bThe procedure shall define a specific configuration of the hutch perimeter doors prior to, during and after the inspection and the inspector is to follow a prescribed search patch. These controls are in place to ensure that on one may enter behind the inspector un-noticed. Procedure 1.Hutch is not Searched and Secured Prior to Beam Operation Analysis: The level of radiation present in a beamline hutch when the safety shutters are open is of a potentially lethal level and can not be easily detected by a worker in the hutch, it is conceivable that multiple workers could be harmed. To mitigate this hazard it is necessary to introduce an E/E/PE system (called the Access Control and Interlock System (ACIS)) that requires each hutch to be search and secured prior to beam operation through a lockup sequence. Mitigation:

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. Control System Design Principles

Distributed Control Systems 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.

Control Room/Areas Quad Headed Scientific Linux workstations in the accelerator control room and Dual Headed workstations on the beamlines. Scientific Linux (CERN/Fermilab) ( Human Factors Engineering EPICS Tools –EDM (Display Manager) –Strip Tool (Data Trending) CLS Specific –Audio Alarm Annunciation –Legacy hard-wired controls from older Linac Equipment

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) Note: EROCS now replaced with MOXA Linux computers. Selecting a Real-time OS

Moxa Transitioning from SAL single-board- computers to MOXA based IOC Linux based EPICS with the asyn driver and older CLS serial drivers Used extensively for RS-232/422/485

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. Using RTEMS Real-time operating system. ( VME

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. Online scripting environment

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

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. MOXA RS-232 Computers Implementation Strategy

EPICS Profibus TCP/IP Siemens S7/300 PLC Modbus TCP/IP GPIB RS-232 Channel Access Protocol IOC State Machine Engine CA Single Board Computer CA Operator Workstation User Applications Touch Panels CA Telemecanique Momentum PLC VME IOC CA

Linac Controls Machine Protection –Telemecanique Momentum PLC RF –Hardwired + Telemecanique Momentum PLC Power Supplies –Old (20+ year) power supplies upgraded (Danfysik + Brooker) –Now being replaced (IE Power + Agilent) Diagnostics –FCT, ICT etc. (Scope) –Spill Monitors (CBLM) –Pop-up Viewers (CCTV + Line Generators) –TRM (Computer based image processing) –Isolated Beam-dumps

BR1 Controls Turn-key Danfysik booster Machine Protection (CLS Design) –Telemecanique Momentum PLC RF (Danfysik/ACCEL Design) –Siemens S7/300 –ANKA based electronics –ramped with trigger Power Supplies –Danfysik (RS-232) –Ramped Power Supplies, with trigger –Kickers PPT Diagnostics –Bergoz BPMs –Bergoz FCT, ICT, PCT –Bergoz Spill Monitors –Striplines –CLS CBLM Spill Monitors –CLS Spill Monitors –Synchrotron Light Monitors (3) –Pop-up viewers (4)

SR1 RF Amplifier (Thales) –Siemens S7/400 Cavity (ACCEL) –Siemens S7/300 Low Level RF (CLS) –Siemens S7/300 Cryo Plant (Linde) –Siemens S7/400

SR1 Machine Protection Vacuum, Water Flow, Thermal Switches –Telemecanique Momentum PLC Vacuum Chamber Temperature –National Instruments FieldPoint (should have used Momentum) Fast Orbit Protection –Custom electronics, –PLC provides thresholds for comparison –Trip when current < 10mA based on RF power

SR1 Power Supplies IE Power –Ring Lattice Power Supplies –RS-232/485 Slow Control –Special/Custom Interface for Fast Correctors Danfysik/PPT –Kicker Power Supplies –RS Trigger Significant Time Needs to be allocated to tuning new power supplies

SR1 Diagnostics Bergoz BPM Bergoz PCT CBLMs OSR & XSR Agilent VSA Agilent Remote Scopes Matlab Toolbox Envelop Detector Transient Recorder? Diagnostic Kicker (under development)

BPM Electronics Selection Studies were done on the Bergoz, and Libera Electron units This summer we will test Libera Brilliance

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

Remote Beamline Access Prototype Architecture

Login

Selecting a Scan Region

Lightpath Accelerator controls a software virtual cross-connect that commands UCLP. User Configurable Light Paths In effect, CA*Net4 is treated as a single lightpath cross-connect real device virtual device domain manager process UCLP commands

Mechanical Services Telemecanique Momentum PLCs Ring temperature stability requirement +/- 0.1 C. Geographically Distributed Legacy Systems: –Most 1960s equipment upgraded in 2005 –Most 1980s equipment upgraded in 2004 –Limited number of systems still using Invensys DMS DCS

Fire Protection Notifier System Smoke Detectors Laser Detection VESDA CO2 Near Oil RF Systems Power Trip –Two Zones Trip –Pull Station

Electrical Services MCC (Siemens) –SR1/BR V –Linac - 480V Panels –120 V, 208 V Conduit used extensively For control applications each rack cluster is on the same phase Early morning grid adjustments were problem at times for some power supplies

Grounding Grounding routed back to the main transformer yard Beamline have isolated grounds, with mixed results. Beamline have two separate transformers –Convenience (Dirty) –Isolated (Clean) Mechanical System from a Separate Transformer

The End