STATUS OF SSRF CONTROL SYSTEM EPICS collaboration meeting
STATUS OF SSRF CONTROL SYSTEM @EPICS collaboration meeting 2008 Shen Liren SSRF Control group shen@sinap. ac. cn 2008 -3 -12
Control system status • • • The development & runtime environment of hardware/software has been set up(include high level physical application environment): – Control system network & server system – Epics environment – Matlab 2007 a with Accelerator Toolbox (AT) & middle layer Have tested all of device controller: – VME system, PLC, Serial device controller etc. – Prepared, done all related EPICS driver testing. All Subsystem control schema for the machine were confirmed and tested prototype under the control system environment. As yet, All the control system of Linac, Booster & Ring has been finished and used during commissioning. Now was delivered for daily operation and works fine. Control Group SSRF CN, Shanghai, 2008
SSRF Control system overview • EPICS based control system • Connected by 2 G Backbone Ethernet with backbone redundancy for the whole system • For LINAC, Booster, Storage ring control, MPS, Timing System & the Software System • Using Ethernet as fieldbus – Ethernet based PLC – Serial 2 Ethernet translate for serial device – Soft IOC Control Group SSRF CN, Shanghai, 2008
Environment of Control system • The development and runtime environment of control system have been set up and come into use. • Composed with the control system network system, server system and OPI system. • Uniform running and development environment. • Developer and operator can login in on any terminal and share resource of entire environment with one account system. Control Group SSRF CN, Shanghai, 2008
Control System Network • 1000 M Ethernet with 3 layer switcher • backbone reach 2 G. • Control system sub lan by VLAN • Division and recombine • Full Network manage ability and application oriented Qos • Backbone redundancy design to ensure reliability • Remote access and monitor PS system • Sub system division by VALN • 10. 30. X. X/24 • Static 3 layer route table • Access List table for access control • Can be integrated other system easy in future Control Group BI system … Server system OPI SSRF CN , Shanghai, 2008
Development and runtime enviroment • Set up the uniform development environment which base on PC Linux system for development and operations. • All of the OPI and the server system running the fedora 7 system for supply the EPICS development and high level physics application environment. • Using NIS and NFS to manage user account and share resource. As part of runtime environment, the database server, boot server, Soft IOC server and EPICS application server such archive and alarm handler were installed at the server room. Control Group SSRF CN, Shanghai, 2008
Server System • Two kinds of server: – Linux & Windows Server • Integrated with Windows UNIX service 3. 5 – The operation system • Fedora core 7 • Windows 2003 R 2 64 bit & 32 bit • Different application on different type of server – NIS, YUM, PXE, NFS, NTP, Windows AD, Epics Boot, Soft IOC, Archive, Alarm, Database, Web Service, WEB, e-Log etc. • User can log on the any terminal with one set of account • User’s home on one NFS Server Control Group SSRF CN, Shanghai, 2008
Hardware system • Uniform hardware design, as typical implementation of SSRF control system have: – – – Ethernet everywhere VME 64 x System : GE VMIVME-7050 and Motorola MV 5500. PLC system: Yokogawa FM 3, SIEMENS S 300. Serial port server MOXA NPort-5610. The embedded controller: Digital power supply controller VME board: • Timing system: VME-EVG-230, VME-EVR-230, EVR-TTB-200, EVR-OTB-200 • PS control system: VIPC 664 – Linux PC server (Soft. IOC) • Multi IOC running configure • IOC management Control Group SSRF CN , Shanghai, 2008
VME 64 X System VME 64 X crate by Elma 4 U 7 Slot 9 U 12 Sloat • CPU: – Motorola MV 5500 – GE VMIVME-7050 With the crate monitor system with Ethernet or Serial port Support Telnet, Http integrated with EPICS Control Group SSRF CN SSRF Review, CN, Shanghai, 2007 2008
Hardware • Serial 2 Ethernet translate MOXA NPort 5610 -16 MOXA UC Embedded Linux DI/DO PLC System Control Group SSRF CN, Shanghai, 2008
Software System • The SSRF control system running on EPICS base v 3. 14. 8. 2 • OPI – EDM and some Python script • High level physics application – Matlab v 2007 a – MCA/Lab. CA – Accelerator Toolbox (AT) & middle layer was adopted. • Perl/Python, Qt 3 • Code. Gear RAD Studio 2007(Borland C++/Delphi) – EPICS base 3. 14. 8. 2 Control Group SSRF CN, Shanghai, 2008
Online Device test using AT@ Matlab Control Group SSRF CN Review, Shanghai, 2006
Centralize EPICS Develpoment platform • Hardware – HP Rack PC Server 580 GG 4 – Xeon 3. 0 G/8 G RAM/300 G SCSI HD • Software – OS • Linux FC 7/Kernel 2. 6 x/GCC 4. xx – EPICS base • 3. 13. 9/3. 14. 8. 2/3. 14. 7/3. 14. 6/3. 14. 5 – Extensions • Edm/medm/SDDS/Archiver/Sequencer/etc. – Cross-compiler environment • Gcc 2. 8 x/gcc 2. 96 patch • Target – Motorola VME 5500/GE VME 7050/ Motorola VME 2302 Control Group SSRF CN Review, Shanghai, 2006
Centre Database System • Store the machine parameters and reference information for all stage of machine simulation and running. • Access and set various accelerator run time configure parameters, failure report and invalid record of all system. • Store accelerator runtime data using enhance channel archive system. • Integrated with uniform authentication system, uniform database access rule and data integrality. • Remote access from Internet and web based database access also could be applied. Control Group SSRF CN, Shanghai, 2008
Database System • The hardware platform using SAN & database server cluster. • Now we have tested on the MS SQL Server 2005 and will transfer to Oracle 10 g with RAC later. Control Group SSRF CN, Shanghai, 2008
Data archive & analysis tools • Distributed archive engine with center relational database • Native XML data type with xml schema for data storage • Developed a data retrieval system based XML Web Services to access the archived data. • The system included bottom layer interface and interface applicably for accelerator physics as well as client samples exemplifying how to use the interface. • Tools for users that can browse, retrieve and plot data • By the client samples, user can development their own application. • Memo: not be used now, just in test progress Control Group SSRF CN , Shanghai, 2008
Data archive & analysis tools Control Group SSRF CN, Shanghai, 2008
e-Log System • • Based on center database system Using Web 2. 0 Blog system Support RSS Integrated with uniform authentication system Control Group SSRF CN, Shanghai, 2008
SSRF Control System • Three part of control system: – Linac, Booster, Storage Ring – Magnet PS, Vacuum, Modulator, e-gun, Microwave, Transport Line(inject&extract ), Timing, MPS, RF, Software • • • System Power supply Vaccum system MPS system Timing system Control Group device IOC 585 26 730 25 25 3 16 16 PV 60000 23298 16842 540 SSRF CN, Shanghai, 2008
EDM OPI of Linac control system Control Group SSRF CN Shanghai, 2008
PS Control System • Over 550 magnet power supplies are used at SSRF • All magnet PS are digital controlled • 2 types of digital controller used: – SINAP-developed digital PS controller: • served for LINAC, Booster and Transport Lines – PSI-designed digital controllers (Purchased from DLS Co. , Ltd): • served for Storage Ring and the Booster Ramp PS. • Performance of high stability and reliability has been demonstrated since SSRF commission. Control Group SSRF CN, Shanghai, 2008
Digital Power Supply Control system • • Two kinds of system Set up the prototype system All system testing have been done EPICS integrated Control Group SSRF CN, Shanghai, 2008
Digital Power supply control system Control Group SSRF CN , Shanghai, 2008
Statistics Section PS IOC Record Cost(CNY) Linac 50 1 3. 0 K 0. 6 M Linac-to-Booster 21 1 1. 3 K 0. 3 M Booster 58 2 4. 0 K 0. 8 M Booster-to-Ring 25 1 1. 7 K 0. 4 M Storage ring 431 22 50. 0 K 7. 0 M Total 585 27 60. 0 K 9. 1 M Control Group SSRF CN, Shanghai, 2008
PS Control System Control Group SSRF CN, Shanghai, 2008
Booster PS Control System - in house design Control Group SSRF CN, Shanghai, 2008
Vacuum Control System • Device based on serial port • – Vacuum Gauge: VARIAN Multi Gauge – Sputter Ion Pump: JJJvac Sputter Ion Pump Power Supply – VAT – RGA(Residual Gas Analyzer) Vacuum Valve – PLC system Control Group SSRF CN, Shanghai, 2008
Vacuum Control System • Serial Device Server: MOXA Nport 5610 -16 – Total 53 • Gauge Controller: VARIAN Multi. Gauge – Total 72, with 140 BA Gauges • Pump Power Supply: JJJVac IPS & TSPC – Total 406 IPS, with 406 Ion Pumps – Total 229 TSPC, with 229 TSP • Valves: VAT – Total 41 Control Group SSRF CN, Shanghai, 2008
Vacuum Control System OPI RGA Monitor PC/Windows Ethernet IOC PC/Linux Ethernet Serial Device Server: MOXA NP 5610 RS - 232 Pump Power Supply Gauge Controller Contact Signal PLC Related Systems Valve Controller RGA Control Group Pump Gauge Valves I nterlock Signals Thermocouple SSRF CN, Shanghai, 2008
Vacuum Control System Control Group SSRF CN, Shanghai, 2008
Vacuum Control Group SSRF CN, CN Shanghai, Review, 2008 Shanghai, 2006
Vacuum device control with MOXA UC 7400 • • Serial device control with EPICS embedded Create new make files – • make EPICS base support “linux-xscale” target Create new driver API on Monta vista linux – – Protocol converter between BSD socket protocol and proprietary protocol Using non-block mode to solve timeout connections Power supply of Ion pump Control Group Edm GUI SSRF CN , Shanghai, 2008
The event timing system • New event timing system – Structure is simple used broadcasting method – Low Jitter with distributed RF clock – Run on the EPCIS environment, base 3. 14. x – Easy to extend • • • Control Group Compact network based on characteristic event system. All EVRs are placed on timing crates and BI local stations not being triggered devices All trigger outputs integrate with hardware interlocks SSRF CN, Shanghai, 2008
Hardware Schematic Control Group SSRF CN, Shanghai, 2008
Performance • The RMS jitter of gun trigger relative to RF reference is 10. 72 ps, which includes the jitter of e-gun and oscilloscope. • The RMS jitters of other injection and extraction trigger are less the 30 ps. • Performance are satisfied with the requirements of physical design. Control Group SSRF CN, Shanghai, 2008
Timing System Control Group SSRF CN, Shanghai, 2008
MPS System • 3 parts: – – – • Accelerator & beam line device interlock Utility system Safety system Hiberarchy – – Control Group The whole machine layer Linac, boost, ring layer Sub system layer Device layer SSRF CN , Shanghai, 2008
MPS System , Inject&Extract control system Control Group SSRF CN, Shanghai, 2008
The RF System • Turn key system except Linac RF System • Integrated with EPICS system and can remote control at center control room • LLRF system Control Group SSRF CN, Shanghai, 2008
Linac RF Controller RF Devices Interface SSRF Design VME Controller MVME 5500 CPU VMIVME 2536 Digital 32 In/32 Out Ch VMIVME 3125 Analog 32 Ch A/D Isolated Interface SSRF-Design EPICS Driver Control Group SSRF CN , Shanghai, 2008
Booster & Storage Ring RF Display RF Amplifier & Klystron Thales Booster 180 Kw Interlock VME Controller Control Group Storage Ring 300 Kw X 3 Epics IOC MVME 5500 Hytec I/O boards Fully Isolated Interface SSRF CN , Shanghai, 2008
LLRF SYSTEM Powe Meter i. PC Local Interface x 3 SSRF Design FPGA Labview EPICS Soft. IOC LLRF Control Unit x 3 Motor Drive x 3 Control Group SSRF CN, Shanghai, 2008
RF & Timing Event Distribution Master Signal Generater RF Signal Distrubution Unit Timing & Eent Signal Generator Fiber (Om 3 ) Distribution Unit Control Group SSRF CN Review, Shanghai, 2006
RF OPI @ Center Control room Storage Ring Control Group Booster SSRF CN, Shanghai, 2008
Remote manage & debug • Video & Audio system based on network • Device management • Remote monitor: VME , Switch, UPS etc • Network management system • Based on. SNMP • Email、SMS alarm system(Next) Control Group SSRF CN , Shanghai, 2008
IOC Manager Control Group SSRF CN, Shanghai, 2008
Center Control Room • HP 7700 OPI PC( 18 ) in the Control Room • All the OPI run on the Linux Fedora 7 and in ssrf. ac. cn domain. • OPI system running at control system uniform runtime environment. • The edm file store on NFS file server and all the client can access it by a start script. Control Group SSRF CN, Shanghai, 2008
Control Group SSRF CN, Shanghai, 2008
Control Group SSRF CN, Shanghai, 2008
Control Group SSRF CN, SSRF Shanghai, CN, Shanghai, 2008 2007
Conclusion • Set up a distributed controls system based on EPICS. • All device control system had finished system construct, include install, online testing and software development. • The Linac, Booster and Storage Ring control system were finished and used in daily operation. • High level physics application and control system OPI panel can run normally. • The control system was successful during the machine commissioning. In general, most function of control have been reached on design goal. Control Group SSRF CN, Shanghai, 2008
Thanks Control Group SSRF CN, Shanghai, 2008
- Slides: 53