Title: Update of Control System Plans for the TPS
1Update 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
2Outline
- Overview of TPS project
- Hardware selection of TPS
- Interface standard
- Some subsystems control interface
- Software environment
- Summary
-
3Taiwan Photon Source Project
Most probably ground breaking late 20092010
TPS Parameters
TLS Storage Ring
TLS Booster Synchrotron
79H2-new
Circumference C (m) 518.4
Energy E (GeV) 3.0
Natural emittance ex0 (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 (a1, a2) 2.410-4, 2.110-3
Natural energy spread sE 8.8610-4
Damping partition Jx/Jy/Js 0.9977/1.0/ 2.0023
Damping time tx/ty/ts (ms) 12.20/ 12.17 / 6.08
Natural chromaticity ?x/?y -75 / -26
Dipole bending radius ?(m) 8.40338
TPS Storage Ring Booster Synchrotron
Utility-III, Guest
Storage Ring Booster
User ADM Center
Scheduled commissioning start in late 2013
4Technical Selection for the TPS Control System
- Control system framework gt EPICS toolkit.
- Commitment to the funding agency and budget
consideration - Acquire as many of parts from local vendors as
possible - gt 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 MRFs 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.
5TPS Control System Infrastructure
PC/Linux
DB Server, Beam Physics Server, Alarm Server, AP
Server, etc.
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.)
6Candidates 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
7Interface 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
8Interface 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
9Power Supply Control Interface
- Large (Digital regulator)
- Ethernet interface
- ENOB gt 18 bits
- Communication protocol is still pending
- Medium power supply
- Ethernet interface
- ENOB gt 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 ?)
10Turnkey 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
11Linac System Control Environment
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
Scope IOCs
Fine delay Fanout (Electrical, Optical)
ACCELs 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
Power Supply
Vacuum Interlock,etc.
Modulator 3
Rf
Modulator 1
Modulator 2
Gun
Linac RF, Diagnostic, etc
12Booster 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 DAC 16 bits, 16 channes IP-DAC-8404
Hytec IP ADC 16 bits, 16 channels IP-ADC-8413
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
13Miscellaneous 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
-
14Post-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.
15Software 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.
16High Level Applications Interface
High Level Matlab Applications (scripts and
functions)
EPICS Client
Matlab Middle Layer
Accelerator Toolbox (AT) (Model)
Matlab to EPICS (LabCA)
MML switch2hw switch2physics
VA EPICS IOC
Channel Access to Accelerator Hardware
EPICS Process Database
Dipole
RF
Quad
BPM
EPICS Process Database
Sext.
Corr.
Dipole
RF
Quad
Sext.
Corr.
BPM
AT
Lattice File
Thanks help form G. Rhem and J. Roland (DLS), G.
Portmann (ALS)
Virtual TPS Storage Ring IOC
17Virtual 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)
18 EPICS Practices at the TLS
TLS Control Network 140.110.202.xx
MatlabLabCA
EPICS OPIs and Clients
Control Console
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)
19Works 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,
20Works in Proceed
EPICS Oscilloscope EDM page
EVG Configuration EDM page
EVR Configuration EDM page
cPCI IOC DAC Waveform Supports
21Summary
- 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 - gt 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!