490 likes | 776 Views
SESAME. SESAME Control System Status. Ibrahim Saleh Control group 10/11/2012. SESAME. Outline: SESAME Control System general architecture. Infrastructure (Hardware, Software) Microtron Control System TL1 Control System Booster Control System. Phase 1 Timing System
E N D
SESAME SESAME Control System Status Ibrahim Saleh Control group 10/11/2012 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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: 12th TAC , Nov. 9-10 ,2012
IOC Soft IOC IOC Soft IOC VME Linux PC SESAME • General Architecture 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 IOC’s (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. Channel Access Ethernet Ethernet PLC MOXA A/D D/A IO Ethernet Devices Devices DI/DO AI/AO • Serial Devices 12th TAC , Nov. 9-10 ,2012
SESAME • General Architecture 12th TAC , Nov. 9-10 ,2012
SESAME • 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 (VxWorksconsole, 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • Microtron Control System Microtron PLC TL1 PLC TTi Q355 unipolar PS for Trim Coils Inverters to change Polarity Ethernet RS232 Serial EPICS S7 Driver MicrotronSoftIOC Ethernet Stream Device S7-300 PLC DI/DO, AI/AO MOXA Terminal Server OPI Microtron Field Signals DI. DO, AI, AO EDM Screens 12th TAC , Nov. 9-10 ,2012
SESAME • Microtron Control System • EDM Screens for the Microtron: Microtron Operation Control & Interlocks Microtron DC motors Control 12th TAC , Nov. 9-10 ,2012
SESAME • Microtron Control System • EDM Screens for the Microtron: Microtron Analog Signals Readings Trim Coils (1,2) Power Supplies Control 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • TL1 Control System Ion Pump controller / Vacuum Gauge controller Microtron PLC Correctors PS TL1 PLC Inverters to change Polarity RS232 Serial RS232 Serial Ethernet EPICS S7 Driver TL1 SoftIOC Ethernet S7-300 PLC DI/DO DI/DO, AI/AO Stream Device MOXA Terminal Server OPI EDM Screens Triplets Power Supplies Valve signals 12th TAC , Nov. 9-10 ,2012
SESAME • TL1 Control System • EDM Screens for the Transfer Line 1: Correctors Power Supplies (3,4) Control Starting Screen 12th TAC , Nov. 9-10 ,2012
SESAME • TL1 Control System • EDM Screens for the Transfer Line 1: Foil Monitor Actuator Control Triplet Power Supplies (1,2) Control 12th TAC , Nov. 9-10 ,2012
SESAME • Booster Control System • Includes: • - Power supplies • - Vacuum • - Magnets Cooling • - Diagnostics • - RF Booster Magnets 12th TAC , Nov. 9-10 ,2012
SESAME • Booster Control System • Power Supplies Control System • - Main Magnets Power Supplies from Bruker • - Site Acceptance Test Done • - Ethernet controlled power supplies connected to EPICS Trigger Signals from Timing System EPICS Booster PS SoftIOC Ethernet Stream Device OPI EDM Screens 12th TAC , Nov. 9-10 ,2012
SESAME • 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. 12th TAC , Nov. 9-10 ,2012
SESAME • Booster Control System • Power Supplies Control System Interlocks Trigger signals from the Timing System EPICS Ethernet Interlocks Booster PS SoftIOC Ethernet S7 Driver Ethernet Correctors Power Supplies Stream Device OPI EDM Screens 12th TAC , Nov. 9-10 ,2012
SESAME • 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. 12th TAC , Nov. 9-10 ,2012
SESAME • Vacuum Control System OPI EDM Screens MOXA Terminal Server Booster PLC Ethernet Ethernet EPICS Vacuum SoftIOC TL1 PLC Stream Device S7 Driver Ethernet S7-300 PLC RS232 Serial RS232 Serial DI/DO DI Interlocks Gauge Controller ION Pump Controller Gate Valve 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • Booster Control System • Magnets Cooling Control System OPI EDM Screens Security Boxes Booster PLC BO-C1-COO-BMFS1 DI BO-C1-COO-BMTS1 EPICS BO-C1-COO-BMFS2 DI BO-C1-COO-BMTS2 Cooling SoftIOC Ethernet BO-C1-COO-QFS1 DI BO-C1-COO-QTS1 S7 Driver BO-C1-COO-QFS2 DI BO-C1-COO-QTS2 BO-C1-COO-QFS3 DI BO-C1-COO-QTS3 S7-300 PLC DO Reset Signal 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • Booster Control System • Diagnostics Control System 12th TAC , Nov. 9-10 ,2012
SESAME • Booster Control System • Diagnostics Control System Ethernet EPICS Libera from Instrumentation Technology Diagnostics SoftIOC EPICS server running on Libera box Booster PLC Ethernet DI/DO Fluorescent Screens OPI Web Browser Oscilloscope 12th TAC , Nov. 9-10 ,2012
SESAME • 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. 12th TAC , Nov. 9-10 ,2012
SESAME • Booster Control System • RF Control System Ethernet EPICS 500 MHz RF Generator RF SoftIOC Booster RF PLC Ethernet DI/DO, AI/AO LLRF OPI Web Browser Electrosys RF SS Transmitter 12th TAC , Nov. 9-10 ,2012
SESAME • 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. 12th TAC , Nov. 9-10 ,2012
SESAME • 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: Microtronand 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 BabakKalantari of PSI Control Group. 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • Phase 1 Timing System General Architecture 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • Phase 1 Timing System 12th TAC , Nov. 9-10 ,2012
SESAME • Phase 1 Timing System • Timing system Event sequence, with repetition 1 Hz • Every Event has a unique event number. • MEDM screens developed (by BabakKalantari 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 Fastsignals and data acquisition. • We will use Ethernet everywhere and search for such devices that have Ethernet communication. 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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 12th TAC , Nov. 9-10 ,2012
SESAME • 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. 12th TAC , Nov. 9-10 ,2012
SESAME • 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. 12th TAC , Nov. 9-10 ,2012
SESAME • Thank You 12th TAC , Nov. 9-10 ,2012