320 likes | 442 Views
CLS – Control System Overview. Elder Matias Canadian Light Source University of Saskatchewan. Agenda. The CLS Facility Control System Remote Access Safety Critical Software. Applications: Proteins & Disease. Applications: Medical Studies. Applications: Mining & Petroleum.
E N D
CLS – Control System Overview Elder Matias Canadian Light Source University of Saskatchewan
Agenda • The CLS Facility • Control System • Remote Access • Safety Critical Software
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
100 KSRS (124m) ANKA SPEAR3 (240m) TLS-I CLS (171m) PLS MAX-II TLS-II 10 LSB Super-SOR BOOMERANG APS Emittance(nm·rad) ESRF ELETTRA BESSY-II Spring-8 SLS(240m) ALS ESRF SOLEIL(2006,354m) ELETTRA APS Spring-8 DIAMOND(2007,562m) NSLS-II 1 0 1 2 3 4 5 6 7 8 9 Energy(GeV) What are the CLS Objectives? • 170.88 m circumference • 2.9 GeV DBA lattice with 12-fold period • Nominal Tune: • x = 10.22 • y = 3.26 • Eloss per turn: > 0.876 MeV • Bend magnet radiation: • c = 1.6 Å • Ec = 7.6 keV • x = 18.1 nm•rad • 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 (http://www.lightsource.ca/operations/controlinstrumentations.php)
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 (http://www.aps.anl.gov/epics/)
EPICS Channel Access Protocol Profibus TCP/IP CA CA IOC Operator Workstation User Applications Siemens S7/300 PLC CA Touch Panels Modbus TCP/IP CA IOC Telemecanique Momentum PLC CA State Machine Engine CA GPIB IOC CA IOC CA RS-232 VME CA IOC Single Board Computer
Control Room/Areas • Quad Headed Scientific Linux workstations in the accelerator control room and Dual Headed workstations on the beamlines. • Scientific Linux (CERN/Fermilab) (https://www.scientificlinux.org/) • 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
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 • 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.(www.rtems.org)
Online scripting environment • 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.
Timing System • Provides fiber optic signal distribution of triggers. • VXI based hardware • Custom Electronicsused where jitter is a critical factor • Starting to beused for timeresolveexperiments
Safety Critical Software • Applications: • Lockup system (ACIS) • Oxygen monitoring • BMIT human studies (under development) • IEC 61508 – 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/HardwareMulti-Axis Control • Average Beamline50-100 motors
Beamlines • 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.
Mechanical Services • Telemecanique MomentumPLCs • Ring temperature stabilityrequirement +/- 0.1 C. • Geographically Distributed • Legacy Systems: • Most 1960s equipment upgradedin 2005 • Most 1980s equipment upgradedin 2004 • Limited number of systemsstill using Invensys DMS DCS
UCLPcommands domain manager process User Configurable Light Paths Lightpath Accelerator controls a software virtual cross-connect that commands UCLP. In effect, CA*Net4 is treated as a single lightpath cross-connect real device real device virtual device