210 likes | 362 Vues
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. Outline. Overview of TPS project Hardware selection of TPS Interface standard
E N D
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
Outline • Overview of TPS project • Hardware selection of TPS • Interface standard • Some subsystems control interface • Software environment • Summary
Taiwan Photon Source Project Most probably ground breaking: late 2009~2010 TPS Parameters TLS Booster Synchrotron TLS Storage Ring TPS Storage Ring & Booster Synchrotron Utility-III, Guest Storage Ring Booster User ADM Center Scheduled commissioning start in late 2013
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.
TPS Control System Infrastructure Signal Conditioning DB Server, Beam Physics Server, Alarm Server, AP Server, … etc. PC/Linux Storage Server Consoles and Servers Intranet Control Ethernet Router cPCI IOC aTCA IOC Soft IOC PLC-IOC IOC (Input Output Controller) • Soft IOCs • Pentium/XScale/ARM/IXP/IOP Linux • Soft real-time system • GPIB/IEEE-488 Instruments • RS-232/422/485 Devices • CCD camera server • PLC (safety type system) • Bunch-by-bunch feedback system interface • Special applications • Hard IOCs • - cPCI, aTCA IOCs • - Intel CPU/Linux (fully preemptive kernel ) • Hard real-time • High volume I/O • High speed serial connection (GbE, … etc.) Safety Type System Network attached EPICS Devices (e.g. EPICS oscilloscope, … etc.)
Candidates of EPICS IOC - Hardware Building Blocks ACQ IOC (Linux) aTCA IOC (Linux) CompactPCI IOC (Linux) PLC Embedded EPICS IOC Intel IOP + ADC, DAC cPCI CPU board Compute Blade CompactRIO EPICS IOC Switch Blade 128 Bits DI/DO 128 Bits DI/DO Carrier Blade (in study) ADC/DAC Libera IOC (Intel XScale. Linux) BI, BO, AI, AO Adapter EVG EVR Network attached devices Scope IOC (8. 12. 14 bits) BI, BO, AI, AO, Timing, Network attached devices + Power Supply Controller
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
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 • …
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 ?)
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
Linac System Control Environment Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) TPS Control Network Timing Network EPICS OPI Linac Timing IOC (Linux) TPS Control Environment Diagnostic IOCs (Transient Digitizer, GigE Vision Camera,… etc.) + cPCI IOC Event Receiver + Fine delay + Fanout (Electrical, Optical) Scope IOCs + ACCEL’s EPICS Soft-IOC cPCI CPU board Trigger Signal Local Control Panel Gun grid pulser, Klystron Current/ Voltage, RF, Faraday Cup, Current Transformer, … etc. Optical Fiber Linac Control Ethernet Switch Gun Trigger Linac Timing Box Vacuum Interlock,…etc. Power Supply Modulator #3 Rf Gun Modulator #1 Modulator #2 Linac RF, Diagnostic, …etc
Booster Synchrotron Control Environment 6 cPCI crates for the TPS booster synchrotron, One cPCI for one period of the booster lattice Booster Repetition Rate: 3 Hz Control Network EPICS IOC ADLINK cPCI CPU ADLINK 128 Bits DI/DO TEWS TCP201 IP Carrier Interlock PLC IOC Hytec IP ADC 16 bits, 16 channels IP-ADC-8413 Hytec IP DAC 16 bits, 16 channes IP-DAC-8404 Ethernet Switch Trigger register mode or waveform mode Protocol: MODBUS/TCP or ? QM PS Dipole PS Booster Correctors for one Cell Power Supply Crate Hor: 10 sets Vert: 6 sets (waveform capability) Remote I/O solution: MODBUS/TCP Galil RIO-47120 Pocket PLCs QF PS Q2 PS Miscellaneous Control (Vacuum, ambient parameters, …) Q1 PS
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 • …
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.
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.
High Level Applications Interface High Level Matlab Applications (scripts and functions) EPICS Client Matlab Middle Layer Matlab to EPICS (LabCA) Accelerator Toolbox (AT) (Model) VA EPICS IOC MML switch2hw switch2physics Channel Access to Accelerator Hardware EPICS Process Database RF Dipole EPICS Process Database Quad BPM Sext. Corr. Dipole RF Quad Sext. Corr. BPM Lattice File AT Thanks help form G. Rhem and J. Roland (DLS), G. Portmann (ALS) Virtual TPS Storage Ring IOC
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)
EPICS Practices at the TLS TLS Control Network 140.110.202.xx MatlabLabCA Control Console EPICS OPIs and Clients Control Console Control Console ILC EPICS ILC broadcast ILC Hor FOFB Corrector Control Vert FOFB Corrector Control Gateway ILC10 to TLS ILC database Router TPS Control System Development Network RM Network EPICS ILC12 VME RM Slow Corrector Control Node CSPI Interface Diagnostic Node Data Acq Node #1 + SA Ethernet Switch Superconducting IDs post-mortem digitizer (EPICS) GigE Link GigE Link 192.168.1.xx Libera Brilliance X 59 (Multi-Gigabit Link) iGP EPICS interface R1 BPM (10) R2 BPM (10) R3 BPM (11) R4 BPM (10) R5 BPM (10) R6 BPM (8)
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, …
Works in Proceed EPICS Oscilloscope EDM page EVG Configuration EDM page EVR Configuration EDM page cPCI IOC DAC Waveform Supports
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! Thank You for Your Attention!