Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Update of Control System Plans for the TPS C. Y. Wu, C.H. Kuo, Jenny Chen, C.J. Wang, P.C. Chiu, K.H. Wu, Y.S. Cheng, K.T. Hsu Reported by Chun-Yi Wu TPS Control Team NSRRC, Hsinchu, Taiwan The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 Outline Overview of TPS project Hardware selection of TPS Interface standard Some subsystems control interface Software environment Summary The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 2 Taiwan Photon Source Project Most probably ground breaking: late 2009~2010 TPS Parameters 79H2-new Circumference C (m) 518.4 Energy E (GeV) 3.0 TLS Booster Synchrotron TLS Storage Ring TPS Storage Ring & Utility-III, Guest Natural emittance εx0 (nm-rad) 1.6 Revolution period (ns) 1729.2 Revolution frequency (kHz) 578.30 Radiofrequency (MHz) 499.654 Harmonic number h 864 SR loss per turn (dipole) (MeV) 0.85269 Betatron tune νx/νy 26.18 /13.28 Momentum compaction (α1, α2) 2.4×10-4, 2.1×10-3 Natural energy spread σE 8.86×10-4 Damping partition Jx/Jy/Js 0.9977/1.0/ 2.0023 Damping time τx/τy/τs (ms) 12.20/ 12.17 / 6.08 Natural chromaticity ξx/ξy -75 / -26 Dipole bending radius ρ(m) 8.40338 Booster Synchrotron Storage Ring Booster User ADM Center Scheduled commissioning start in late 2013 The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 3 Technical Selection for the TPS Control System Control system framework => EPICS toolkit. Commitment to the funding agency and budget consideration: Acquire as many of parts from local vendors as possible => Adopt cPCI/PXI, AdvancedTCA, and other embedded solutions for IOC layer. Borrow available resources from other labs. Goals of 2009: Refine control system planning and design. EPICS IOC test bed. Timing testbed: MRF’s cPCI EVR/EVR solution Simemns S7/300 PLC testbed: turnkey from EU (Siemens or VIPA) Yokogawa M3R PLC testbed with embedded EPICS IOC Prototype OPI Database planning Work out on EPICS driver/devices support for selected hardware Cultivate EPICS peoples. The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 4 TPS Control System Infrastructure Consoles and Servers DB Server, Beam Physics Server, Alarm Server, AP Server, … etc. PC/Linux Storage Server Intranet Control Ethernet Router cPCI IOC aTCA IOC Soft IOC PLC-IOC IOC (Input Output Controller) Soft IOCs Signal Conditioning - Pentium/XScale/ARM/IXP/IOP Linux Hard IOCs - cPCI, aTCA IOCs - Intel CPU/Linux (fully preemptive kernel ) - Hard real-time - High volume I/O - High speed serial connection (GbE, … etc.) - Soft real-time system - GPIB/IEEE-488 Instruments Safety - RS-232/422/485 Devices Type - CCD camera server System - PLC (safety type system) - Bunch-by-bunch feedback system interface - Special applications Network attached EPICS Devices (e.g. EPICS oscilloscope, … etc.) The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 5 Candidates of EPICS IOC - Hardware Building Blocks CompactPCI IOC (Linux) cPCI CPU board ACQ IOC (Linux) aTCA IOC (Linux) Intel IOP + ADC, DAC Compute Blade PLC Embedded EPICS IOC CompactRIO EPICS IOC Switch Blade 128 Bits DI/DO 128 Bits DI/DO Carrier Blade ADC/DAC Libera IOC (Intel XScale. Linux) BI, BO, AI, AO EVG (in study) EVR BI, BO, AI, AO, Timing, Network attached devices Adapter Network attached devices Scope IOC (8. 12. 14 bits) + Power Supply Controller The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 6 Interface Standard cPCI I/O modules 32/64 channel 24 bits ADC (with transient signal capture capability, D-tACQ)) 16/32 channel 18 bits DAC (D-tACQ) 128 bit DI, 128 bit DO (ADlink) EVG, EVR (cPCI & PMC form factor, MRF) In house designed electrical/optical fanout, patch panels aTCA crates system Network attached devices Fast feedback Main power supply control interface GbE interface, waveform support for the booster synchrotron main power supply Small power supply control interface Analogue interface Support feedback interface Booster energy ramping support (optional) Timing Event system based upon cPCI EVG/EVR The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 7 Interface Standard – cont. Fast waveform capture Scope IOC Camera GigE Vision Ethernet and LXI Compliant devices Power supply Diagnostics Electronics instruments, DMM, temperature monitor, .. Motion control Ethernet based motion controller Interlock PLC with embedded EPICS IOC RS-232C/422/485 devices Ethernet to RS-232/422/482 serial device servers or IOC Software EPICS toolkits Miscellaneous Interface … The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 8 Power Supply Control Interface Large (Digital regulator) Ethernet interface ENOB > 18 bits Communication protocol is still pending Medium power supply Ethernet interface ENOB > 18 bits Communication protocol is still pending Booster synchrotron large and medium power supply Ethernet interface with waveform capability Small power supply (analogue power supply) Analog interface (18 or 24 bits bits) cPCI 18 bits DAC (D-TACQ ?) The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 9 Turnkey System Interface Many of turnkey systems compliant with EPICS based controls. Possible turnkey systems included: Linac (contracted out in December 2008) RF transmitter (2 sets contracted out in December 2008) Outsource insertion devices Monochromator and other beamline components ………. etc. Possible turnkey EPICS devices included: BPM electronics, Scope IOC, Motion control solution, … Minimize workload of integration and maintenance Standard components should be chosen to get consistency of hardware Provide EPICS development environment and documentation Follow TPS PV name convention The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 10 Linac System Control Environment Timing Network TPS Control Network EPICS OPI TPS Control Environment Linac Timing IOC (Linux) Diagnostic IOCs (Transient Digitizer, GigE Vision Camera,… etc.) + cPCI IOC Event Receiver + Scope IOCs + ACCEL’s EPICS Soft-IOC Trigger Signal Local Control Panel Local Controller (PLC, ..etc.) Gun cPCI CPU board Fine delay + Fanout (Electrical, Optical) Linac Control Ethernet Switch Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Modulator #1 Modulator #2 Modulator #3 Gun grid pulser, Klystron Current/ Voltage, RF, Faraday Cup, Current Transformer, … etc. Local Controller (PLC, ..etc.) Power Supply Local Controller (PLC, ..etc.) Rf Local Controller (PLC, ..etc.) Vacuum Interlock,…etc. The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 Optical Fiber Gun Trigger Linac Timing Box Linac RF, Diagnostic, …etc 11 Booster Synchrotron Control Environment Control Network 6 cPCI crates for the TPS booster synchrotron, One cPCI for one period of the booster lattice Booster Repetition Rate: 3 Hz EPICS IOC ADLINK cPCI CPU ADLINK 128 Bits DI/DO TEWS TCP201 IP Carrier Hytec IP ADC 16 bits, 16 channels IP-ADC-8413 Interlock PLC IOC Hytec IP DAC 16 bits, 16 channes IP-DAC-8404 Trigger Ethernet Switch register mode Protocol: MODBUS/TCP or ? or waveform mode Remote I/O solution: MODBUS/TCP Galil RIO-47120 Pocket PLCs Booster Correctors for one Cell Power Supply Crate Hor: 10 sets Vert: 6 sets (waveform capability) Miscellaneous Control (Vacuum, ambient parameters, …) The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 QM PS Dipole PS Q2 PS QF PS Q1 PS 12 Miscellaneous System Interface Vacuum system BI, BO, AI, AO, serial links, ..etc. Diagnostics BPM electronics: Ethernet. BI, BO, AI, AO, counter Machine protection Dedicated PLC system with fast link Ethernet to control system. Personnel protection Dedicated PLC system with fast link Ethernet to control system. Feedback system interface … The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 13 Post-mortem Diagnostic Supports BPM electronics: Post-mortem buffer (turn-by-turn) Dedicated fast data capture nodes to capture for more than 5 seconds at 10 kHz rate. cPCI ADC module with post-mortem buffer: Up to 10 msec time resolution for more than 5 seconds. Transient and waveform diagnostic: High timing resolution (~ nsec) with segmented sweep multiple-trigger capability Beam trip trigger is planned to distribute via event system. The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 14 Software Environment Control system framework: EPICS toolkits High level physics applications: Matlab/Accelerator Toolkit/Matlab Middle Layer Setup virtual accelerator to support high level application development is underway Many items are still in study Relation database Technical system interface Documentation, E-log Machine status broadcasting: web, IPTV …etc. The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 15 High Level Applications Interface High Level Matlab Applications (scripts and functions) EPICS Client Matlab Middle Layer Matlab to EPICS (LabCA) Accelerator Toolbox (AT) (Model) MML switch2hw switch2physics VA EPICS IOC Channel Access to Accelerator Hardware EPICS Process Database Dipole Quad EPICS Process Database Dipole Quad Sext. Corr. BPM Sext. Corr. BPM RF RF Thanks help form G. Rhem and J. Roland (DLS), G. Portmann (ALS) Lattice File AT Virtual TPS Storage Ring IOC The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 16 Virtual Accelerator for Applications Development and Training To enable early testing of applications through the control system, a virtual accelerator has been implemented to give simulation of the accelerators though the intended EPICS PV interface. Prototype was set up by the help from DLS. Current version is AT/MML version. Virtual booster and linac are also possible near future! Many facility have such kinds activities: SNS, KEK, J-PARC, DLS, … many others! Virtual TPS Storage Ring TPS Storage Ring (Lattice designed by BD Group) The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 17 EPICS Practices at the TLS Control Console Control Console Control Console EPICS OPIs and Clients TLS Control Network 140.110.202.xx broadcast EPICS Hor FOFB Vert FOFB Corrector Corrector Control Control Gateway ILC10 to TLS ILC database RM Network Data Acq Node #1 GigE Link Diagnostic Node GigE Link Libera Brilliance X 59 R1 BPM (10) ILC12 VME RM Slow Corrector Control Node Matlab LabCA ILC ILC ILC Router TPS Control System Development Network EPICS CSPI Interface SA Ethernet Switch 192.168.1.xx + Superconducting IDs post-mortem digitizer (EPICS) (Multi-Gigabit Link) iGP EPICS interface R2 BPM (10) R3 BPM (11) R4 BPM (10) R5 BPM (10) R6 BPM (8) The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 18 Works in Proceed Cultivate EPICS peoples. Define standard hardware, work out on EPICS Device/driver supports. Define software standard (EPICS toolkit). Planning for various issues (name convention, networking, …). Setup testbed in 2009: Training system BPM system for TLS (gateway to TLS control system) Transient and waveform IOC Scope IOC GigE vision supports Various EPICS clients applications RDBMS OPI Work out a solid plans for the TPS control system: Procurement schdeule Development schedule Priority Limited budget, limited manpower, … The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 19 Works in Proceed EPICS Oscilloscope EDM page cPCI IOC DAC Waveform Supports EVG Configuration EDM page EVR Configuration EDM page The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 20 Summary The design of the TPS control system is on going. All major components for control system are in intensive study. Standardization hardware and software are the current focus. EPICS toolkit training - a series training activities will be arranged. Set up EPICS test-bed Single kind of operating system solution for IOCs and consoles are preferred => Linux. Economic design without scarify performances and reliability are the goals. Select possible outsourcing items Learn experiences from other labs Thank you for helps from EPICS community! The Spring 2009 EPICS Meeting, Vancouver, B.C., Canada, April 30-May 2, 2009 21