Elder Matias Canadian Light Source University of Saskatchewan CLS – Control System Overview
Agenda The CLS Facility Control System –Remote Access –Safety Critical Software
Applications: Proteins & Disease
Applications: Medical Studies
Applications: Mining & Petroleum
Applications: Better Satellites, Planes and Cars
Applications: Nano-Technology
Why Saskatoon? 1964 the Saskatchewan Accelerator Lab (SAL) was established for chemistry and nuclear physics research. Saskatoon was chosen for the CLS due to the existing complement of staff and facilities
Machine Layout
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
Agenda The CLS Facility Control System –Remote Access –Safety Critical Software
Statistics…. Over 15,000 Data Points 40+ Telemecanique Momentum PLCs 9 Siemens S7 300/400/400 F PLCs 30+ VME Crates & 1 VME Crate 60+ IOC for Serial Communication 500+ Stepper Motors 5 Servo Motors 20+ Operator Workstations (
Architecture EPICS based DCS Sub-system control –Machine Protection (Industrial PLCs) –Process Control (Industrial PLCs) –Scientific Data Acquisition (VME) –Motion Control (VME) –Timing System (VXI) Operator Workstation and Servers –Scientific Linux
What is EPICS ? Experimental Physics and Industrial Control System Platform A series of tools and libraries for building distributed control system Originally developed by Los Alamos Widely used in the Accelerator Control and Radio Telescope Areas Some industrial use Open Source (
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
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
Design – LINAC Master Display
Moxa Linux based – Intel X-Scale Processor EPICS with the asyn driver and older CLS serial drivers Used extensively for RS-232/422/485 Commercial-off-the-shelf
Orbit Correction Beam required to stay within the “golden orbit” Designed for correction at up to 100 Hz Digital Signal Condition required to suppress electrical noise and mechanical vibration Protects Chamber from Off-orbit Beam at high current
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 Custom Electronics used where jitter is a critical factor Starting to be used for time resolve experiments Timing System
Safety Critical Software Applications: –Lockup system (ACIS) –Oxygen monitoring –BMIT human studies (under development) IEC – SIL 3 based system Siemens S7/400 F Redundant Second Chain Fail-safe design Independent Verification
Motion Control MaxV VME Controllers Power Electronics (Parker + others) Software/Hardware Multi-Axis Control Average Beamline motors
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
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
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
The End