sesame control system status ibrahim saleh control group 10/11/2012 control group12th tac, nov....

Download SESAME Control System Status Ibrahim Saleh Control group 10/11/2012 Control Group12th TAC, Nov. 9-10,20121

If you can't read please download the document

Upload: norman-lyons

Post on 22-Dec-2015

221 views

Category:

Documents


1 download

TRANSCRIPT

  • Slide 1
  • SESAME Control System Status Ibrahim Saleh Control group 10/11/2012 Control Group12th TAC, Nov. 9-10,20121
  • Slide 2
  • Control Group12th TAC, Nov. 9-10,20122 Outline: SESAME Control System general architecture. Infrastructure (Hardware, Software) Microtron Control System TL1 Control System Booster Control System. Phase 1 Timing System Storage Ring Control System Beam Lines Control System Organization Summary & Future Plans Conclusion
  • Slide 3
  • Control Group12th TAC, Nov. 9-10,20123 General Architecture EPICS based control system EPICS Base version 3.14.12 is used in SESAME Why EPICS? Free & Open Source Widely used in many light sources Lot of experts to give support & training Reliable & extendable control tool. The control system architecture is divided into three layers:
  • Slide 4
  • Control Group12th TAC, Nov. 9-10,20124 IOC VME Soft IOC Linux PC Layer one: Device Input/Output Layer, which is the layer that connects the actual hardware. This layer could be presented by a physical connection to the accelerators subsystem signals. Layer two: The processing layer, which could be described in SESAME control system architecture by distributed VME crates or soft IOCs (Linux box). In this layer the data being read/write from/to the accelerator subsystems is processed. Layer three: This layer could be described by the channel access that will transfer the data from and to the control room, this layer also represented by any graphical user interface GUI applications running a Linux machines in the control room. PLCMOXA Channel Access Ethernet Ethernet Devices Serial Devices DI/DO AI/AO Devices A/D D/A IO General Architecture
  • Slide 5
  • Control Group12th TAC, Nov. 9-10,20125 General Architecture
  • Slide 6
  • Control Group12th TAC, Nov. 9-10,20126 Infrastructure Two new control servers are installed, each one has 6 virtual machines cover Phase one of the project. Total amount of 14 virtual machine (old and new) will be used for: - Soft IOC (Microtron + Booster) - EPICS Base,drivers, support modules and all development IOC - EPICS development environment (VxWorks console, Version management console Filing system ). - Archiving The control servers are running Scientific Linux v.5.2 for supply the EPICS development and high level physics application environment. NFS will be used to manage user accounts and share resources. 12th TAC, Nov. 9-10,2012
  • Slide 7
  • Control Group12th TAC, Nov. 9-10,20127 Hardware Two IBM Control Servers Tow main hp consoles running Linux in the control room Three Linux Development consoles to be used by control group Four MVME5500 CPUs from Emerson Four VME64X crates VME8100 from CAEN Several IO/ADC/DAC cards from Hytec Electronics
  • Slide 8
  • Control Group12th TAC, Nov. 9-10,20128 Hardware Ten old VME CPUs MVME2304 donated from Diamond Light Source S7-300 SIEMENS PLC - Four S7-315-2DP CPUs with Profibus - Several S7-300 IO & Communication modules S7-300 SIEMENS Fail Safe PLC (Safety PLC brand to be decided later on) 12th TAC, Nov. 9-10,2012
  • Slide 9
  • Control Group12th TAC, Nov. 9-10,20129 Hardware Three MOXA terminal servers Nport 6650 are used for connecting serial devices (Power Supplies, Vacuum gauge controllers,..etc) Timing System Hardware VME crate with MVME 5100 CPU EVR, EVG, Fan-Out and transition modules Terminal Boards for PLC & VME From ABB and Hytec Electronics
  • Slide 10
  • Control Group12th TAC, Nov. 9-10,201210 Software vxWorks 6.9 has been purchased with four run time licenses for the VME. A common software platform developed for SESAME has been provided from Jean Francois Gournay (CEA SACLAY) which is under study and test vxWorks 6.9 does not support the old CPUs but it is running on the new MVME5500 CPUs. RTEMS 4.10.2 has been developed and tested with sample applications on the old CPUs MVME2304 Two PLC SIEMENS Software licenses STEP7 v5.5 have been purchased
  • Slide 11
  • Control Group12th TAC, Nov. 9-10,201211 Microtron Control System Includes: - Power supplies - Cooling and vacuum - RF - Magnets (current, voltage). Achieved using PLC s7 300 and soft IOC New signals have been added for the correctors magnets The MICROTRON
  • Slide 12
  • Control Group12th TAC, Nov. 9-10,201212 Microtron Control System New control system replaced the old one based on softioc through one of the new virtual servers. New Graphical User Interface based on EDM replaced the old MEDM Magnets power supplies connected to MOXA terminal server to interface with EPICS control system Control Overview
  • Slide 13
  • Control Group12th TAC, Nov. 9-10,201213 Microtron Control System TTi Q355 unipolar PS for Trim Coils RS232 Serial Inverters to change Polarity Microtron SoftIOC Ethernet S7 Driver Stream Device OPI EDM Screens Microtron Field Signals DI. DO, AI, AO MOXA Terminal Server S7-300 PLC EPICS Microtron PLC TL1 PLC DI/DO, AI/AO
  • Slide 14
  • Control Group12th TAC, Nov. 9-10,201214 Microtron Control System EDM Screens for the Microtron: Microtron Operation Control & Interlocks Microtron DC motors Control
  • Slide 15
  • Control Group12th TAC, Nov. 9-10,201215 Microtron Control System EDM Screens for the Microtron: Trim Coils (1,2) Power Supplies Control Microtron Analog Signals Readings
  • Slide 16
  • Control Group12th TAC, Nov. 9-10,201216 TL1 Control System New SIEMENS s7-300 PLC is installed for the Vacuum interlocks and Power Supplies control. New Graphical User Interface based on EDM. Magnets power supplies are connected to MOXA terminal server to interface with EPICS control system Ion pump controller and gauges controllers will be connected to the MOXA through the serial port. Transfer Line 1
  • Slide 17
  • Control Group12th TAC, Nov. 9-10,201217 TL1 Control System RS232 Serial Inverters to change Polarity TL1 SoftIOC Ethernet S7 Driver Stream Device OPI EDM Screens MOXA Terminal Server S7-300 PLC EPICS Correctors PS Microtron PLC TL1 PLC Ion Pump controller / Vacuum Gauge controller RS232 Serial Triplets Power Supplies Valve signals DI/DO DI/DO, AI/AO
  • Slide 18
  • Control Group12th TAC, Nov. 9-10,201218 TL1 Control System EDM Screens for the Transfer Line 1: Starting Screen Correctors Power Supplies (3,4) Control
  • Slide 19
  • Control Group12th TAC, Nov. 9-10,201219 TL1 Control System EDM Screens for the Transfer Line 1: Foil Monitor Actuator Control Triplet Power Supplies (1,2) Control
  • Slide 20
  • Control Group12th TAC, Nov. 9-10,201220 Booster Control System Includes: - Power supplies - Vacuum - Magnets Cooling - Diagnostics - RF Booster Magnets
  • Slide 21
  • Control Group12th TAC, Nov. 9-10,201221 Booster Control System Power Supplies Control System - Main Magnets Power Supplies from Bruker - Site Acceptance Test Done - Ethernet controlled power supplies connected to EPICS Booster PS SoftIOC EPICS Trigger Signals from Timing System OPI EDM Screens Ethernet Stream Device
  • Slide 22
  • Control Group12th TAC, Nov. 9-10,201222 Booster Control System Power Supplies Control System - Correctors Power Supplies to be received for the Booster - They will be Ethernet controlled - Pulsed Magnets Power Supplies from Bessy have old electronics so controlling them will not be a good solution. - New Pulsed magnets power supplies for Septum and Kicker to be designed for the Booster. - They will be Ethernet controlled - SIEMENS s7-300 to be installed for the Booster power supplies interlock signals.
  • Slide 23
  • Control Group12th TAC, Nov. 9-10,201223 Booster Control System Power Supplies Control System Booster PS SoftIOC EPICS OPI EDM Screens Ethernet Stream Device Pulsed Power Supplies Injection Septum Injection Kicker Extraction Septum Extraction Kicker Extraction Steerer Correctors Power Supplies Trigger signals from the Timing System S7 Driver Ethernet Interlocks
  • Slide 24
  • Control Group12th TAC, Nov. 9-10,201224 Booster Control System Vacuum Control System - Pirani and Cold cathod gauges are connected to MKS 937b or to PFEIFFER gauge controllers. - Ion pumps will be connected to VARIAN Dual controller - Gauges and Ion pumps controllers will be connected to the MOXA TS through serial RS232 and then to the EPICS softIOC through stream device support module. - SIEMENS S7-300 to be installed for the valves control and Interlock signals.
  • Slide 25
  • Control Group12th TAC, Nov. 9-10,201225 Vacuum Control System RS232 Serial Vacuum SoftIOC Ethernet S7 Driver Stream Device OPI EDM Screens MOXA Terminal Server S7-300 PLC EPICS Booster PLC TL1 PLC RS232 Serial Ethernet ION Pump Controller Gauge Controller Gate Valve Interlocks DI/DO DI
  • Slide 26
  • Control Group12th TAC, Nov. 9-10,201226 Booster Control System Magnets Cooling Control System - Pressure switch and Temperature switch are connected on each magnet (Dipole,Qf,Qd). - Each magnet PS and TS are connected through Security Boxes and then to the PLC to reduce the number of Digital inputs. - Reset signal is sent to reset the fault signal of each security box. Sequence Of Operation: 1. 30 signals (one per magnet) sent direct to PLC. 2. In case of fault, the corresponding power supply stopped. 3. Alarm is sent to control room. 4. Reset of fault is sent from PLC to all security boxes
  • Slide 27
  • Control Group12th TAC, Nov. 9-10,201227 Booster Control System Magnets Cooling Control System Cooling SoftIOC OPI EDM Screens EPICS S7-300 PLC Booster PLC S7 Driver Ethernet BO-C1-COO-BMFS1 BO-C1-COO-BMTS1 BO-C1-COO-BMFS2 BO-C1-COO-QFS1 BO-C1-COO-QFS2 BO-C1-COO-QTS2 BO-C1-COO-QTS1 BO-C1-COO-QFS3 BO-C1-COO-QTS3 BO-C1-COO-BMTS2 Security Boxes Reset Signal DI DO
  • Slide 28
  • Control Group12th TAC, Nov. 9-10,201228 Booster Control System Diagnostics Control System - Control System is also responsible to interface/integrate diagnostics equipments into the EPICS world - Includes: Beam Current Monitoring Beam Position Monitoring Foil Monitors Tune Measurement
  • Slide 29
  • Control Group12th TAC, Nov. 9-10,201229 Booster Control System Diagnostics Control System TypeInstrumentInterface Beam Position Monitoring Button and Strip line BPMs Libera Beam Current Monitoring DCCT Cavity Current Monitor Oscilloscope or VME Foil MonitoringFlorescent Screen Camera Pneumatic Actuator PLC Tune MeasurementBPMRF Generator Amplifier Libera
  • Slide 30
  • Control Group12th TAC, Nov. 9-10,201230 Booster Control System Diagnostics Control System Libera from Instrumentation Technology Diagnostics SoftIOC EPICS Ethernet EPICS server running on Libera box Ethernet Fluorescent Screens OPI Oscilloscope Web Browser Booster PLC DI/DO
  • Slide 31
  • Control Group12th TAC, Nov. 9-10,201231 Booster Control System RF Control System - One RF cavity will be used for the Booster. - Control system based on cPCI/labview was done before. - To unify our control system to EPICS we decided to develop a new control system based on VME or PLC. - That requires a VME environment running EPICS which has been installed recently by Jean Francois Gournay (CEA SACLAY). - Other plan is to use SIEMENS PLC and connect all the signals to it. - We are now testing both options and we will go then for the stable and reliable system.
  • Slide 32
  • Control Group12th TAC, Nov. 9-10,201232 Booster Control System RF Control System 500 MHz RF Generator RF SoftIOC EPICS Ethernet OPI Electrosys RF SS Transmitter Web Browser Booster RF PLC DI/DO, AI/AO LLRF
  • Slide 33
  • Control Group12th TAC, Nov. 9-10,201233 Booster Control System RF Control System VME tested in the RF Lab EDM GUI not LabView - VME needs more time to be tested, so we will go for PLC solution and see.
  • Slide 34
  • Control Group12th TAC, Nov. 9-10,201234 Phase 1 Timing System Based on Event system which is used in many facilities like APS, SLS, Diamond, CELLS etc Event System was originally designed by APS, then further development in Micro- Research Finland (MRF) All hardware needed for SESAME timing system will be from MRF SESAME Timing System comprise of 2 phases: Phase-I:Microtron and Booster Timing System Phase-II:Storage Ring Timing System SESAME timing system specification and design as well as the implementation of Phase-I has been carried out by Babak Kalantari of PSI Control Group.
  • Slide 35
  • Control Group12th TAC, Nov. 9-10,201235 Phase 1 Timing System Event System consists of : - EVG (Event Generator) Card(s) - EVR (Event Receiver) Card(s) - Fan out Cards (optional) EVG is responsible to transmit 8 bit event code through optical fiber link, synchronized with system RF and AC mains Fan out Cards are used if more than one EVR are required to receive the event codes from EVG EVR on receiving the event generated from EVG, generates the trigger pulses on programmed outputs with specific delay and pulse width
  • Slide 36
  • Control Group12th TAC, Nov. 9-10,201236 Phase 1 Timing System General Architecture
  • Slide 37
  • Control Group12th TAC, Nov. 9-10,201237 Phase 1 Timing System Master Timing System Components: VME crate with MVME 5100 CPU EVG EVR Fan-out module Transition module TRM AC main synchronizer, provide sync with 50 Hz mains Slave Timing System Components VME crate with MVME 5100 CPU (could be also used to other control functionalities) VME EVR in Booster Service Area PCI EVR in a Linux PC in control room Transition module TRM with VME EVR Optical Interconnect: connection between the master timing and the distributed EVR
  • Slide 38
  • Control Group12th TAC, Nov. 9-10,201238 Phase 1 Timing System
  • Slide 39
  • Control Group12th TAC, Nov. 9-10,201239 Phase 1 Timing System Timing system Event sequence, with repetition 1 Hz Every Event has a unique event number. MEDM screens developed (by Babak Kalantari of SLS) can be used to manipulate and adjust: Event numbers transmitted from EVG Timing of Event numbers Configuration of EVG card Pulse width and delays in EVR
  • Slide 40
  • Control Group12th TAC, Nov. 9-10,201240 Storage Ring Control System Booster control system will be a good practice for us to evaluate our work to have similar system for the SR. We will keep using virtualization for control servers. We will use SIEMENS PLC widely for the Interlock signals. We will use VME or other types of controllers for Fast signals and data acquisition. We will use Ethernet everywhere and search for such devices that have Ethernet communication.
  • Slide 41
  • Control Group12th TAC, Nov. 9-10,201241 Beam Lines Control System Our strategy is to start building the control system of SESAME Beam Lines in parallel with the machine control system. Getting experience from other light sources is very important to help us starting in the right way. We will use similar environment to the machine in our control system and different in some parts. Control Servers based on Virtual Machines / EPICS 3.14 VME IOCs / SIEMENS PLC / MOXA Terminal servers 12th TAC, Nov. 9-10,2012
  • Slide 42
  • Control Group12th TAC, Nov. 9-10,201242 Beam Lines Control System The main system in any beam line is the motion system, so the motion control system will be the dominant part of the beam lines control system. Motion control system includes different types of motors (stepper, servo, piezo), drivers for these motors, controllers to control the motors,encoders to have a feedback and limits to know the start and end of motion. To control the motion with EPICS, we need to choose the controller that is supported by epics and the software support for this controller. 12th TAC, Nov. 9-10,2012
  • Slide 43
  • Control Group12th TAC, Nov. 9-10,201243 Beam Lines Control System For EPICS support modules there are many light sources using the (Motor Record) which is developed by APS mainly and other people in the epics community. Motor Record will be the best choice for us because it is used in SLS, DLS and other light sources. It supports also different types of controllers. For the motion controller we have two choices: - To use VME with OMS MAXv controller - To use Ethernet based controller (Delta Tau, Newport, Parker etc) 12th TAC, Nov. 9-10,2012
  • Slide 44
  • Control Group12th TAC, Nov. 9-10,201244 Beam Lines Control System In SESAME we have five or more beam lines which are donated from different light sources, so we will find a collections of different hardware types. It is very important to unify the control system that will be used for the Beam Lines, so in our case we will have a lot of work to do in investigation of the hardware that we have. Our goal is to start building the low level software based on EPICS because we will have in the future a high level Data Acquisition Software for the Beam Lines which can deal with the huge amount of data and analysis of different experiments. 12th TAC, Nov. 9-10,2012
  • Slide 45
  • Control Group12th TAC, Nov. 9-10,201245 Organization SESAME control group at site Ibrahim Saleh Ziaulhaque Qazi Virtual International Control System Group Mark HERON Diamond light source UK. Elder METIAS Canadian light source CANADA. Johannes VOGT - Canadian light source CANADA. Glen WRIGHT - Canadian light source CANADA. Laurent NADOLSKI - Soleil FRANCE. Pascale BETINELLI - Soleil FRANCE. Jean-Francois GOURNAY - SACLAY CEA FRANCE. Help from facilities Training at CLS. Training at DLS Training at SLS. Training at SOLEIL CEA helping in EPICS platform integration 12th TAC, Nov. 9-10,2012
  • Slide 46
  • Control Group12th TAC, Nov. 9-10,201246 Summary & Future Plans Microtron and TL1 now are in operation with a new control system, but we still have some signals to be added to run both systems in the final shape. We are doing a lot of effort now for the Booster control system trying to make it in operation as mentioned in the time plan. We still do not have that experience in EPICS, but we got a training in different light sources and we succeeded to make many applications for EPICS and run different systems. Last TAC we were three engineers and now we are two. Hiring a new engineer at least and a technician can help us working faster. We have a control Lab that we have recently installed a testing rack there and this can help us for testing PLC,VME etc. We requested a list of tools, wires and terminals that we can use for the hardware installation. 12th TAC, Nov. 9-10,2012
  • Slide 47
  • Control Group12th TAC, Nov. 9-10,201247 Summary & Future Plans We are now focusing on the Booster dealing with each sub-system separately. Working together with other groups is very important to make our work more organized. The PSS system will be connected to EPICS for monitoring Naming Convention and Cabling are two important issues that we are working on. We are working also to make documentation for our work and put it on the Intranet so other groups can see the status of our work. Still we are learning EPICS and we have to implement Alarm Handler and Archiving systems. We succeeded to build the VME environment and we succeeded to install the RTEMS on our old CPUs, but we should continue testing to have a stable reliable system.
  • Slide 48
  • Control Group12th TAC, Nov. 9-10,201248 Conclusion This is our second year working in SESAME and we can say that we are happy to see ourselves reaching this point and I am sure that next year we will be more proud that we are working here. I would like to thank the virtual control group for their support especially: Mark Heron (DLS), Elder Matias (CLS), Pascale Betinelli (Soleil) and Jean-Francois Gournay (CEA). I would like to thank you the (TAC) group for your valuable comments which gives us a motivation to work harder.
  • Slide 49
  • Control Group12th TAC, Nov. 9-10,201249 Thank You