1 / 34

Status of the TPS Control System

Status of the TPS Control System. Kuo-Tung Hsu On-behalf of the TPS Control Team NSRRC, Hsinchu, Taiwan June 13, 2011. Strategic for TPS Control System Development. TPS control system frameworks => EPICS toolkit. Most successful and largest collaboration for control system project

bonnie
Télécharger la présentation

Status of the TPS Control System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Status of the TPS Control System Kuo-Tung Hsu On-behalf of the TPS Control Team NSRRC, Hsinchu, Taiwan June 13, 2011

  2. Strategic for TPS Control System Development • TPS control system frameworks => EPICS toolkit. Most successful and largest collaboration for control system project • Development strategic for new EPICS site like TPS project Work first, then pursue work well Learning by doing Learn from EPICS community • Focus on hardware and software of data source layer at this moment. Standardization and minimized requires resources • Middle layer and presentation layer will be focus in next step. • Co-operative development to integrated EPICS and non-EPICS system Some subsystems controls have their special requirements and preferences It need time to clarify between EPIC (poem, computer form factor, …) and EPICS (Experimental Physics and Industrial Control System) for a new comer! • Goal: Meet system integration and commissioning and machine fine tune schedule in 2013~2014 and requirements for future development.

  3. Our Aspiration A Chivalrous Sword-Man Jia Dao (779-843 A.D.) Spend 10-year sharpening my sword, The frost-bright blade has never tested. Let me show it to you today Have you anything unjust to say? 劍客 賈島(779-843 A.D.) 十年磨一劍,霜刃未曾試。 今日把示君,誰有不平事? Essay by Peter Norvig: Teach Yourself Programming in Ten Years After thesword (skill) is sharpen - Hope we can contribute something to the EPICS community in future!

  4. TPS Control System Development Phase Phase I Phase II 2010 2011 2012 2013 2014 2015 Phase I: Minimized type of EPICS IOC Minimized type of platform, OS and software versions EPICS IOC Nodes cPCI IOCs ~ 70 nodes Corrector PS control IOCs ~ 120 nodes BPM IOCs ~ 72 nodes Special IOCs ~ 30 nodes Servers ~ 20 nodes Control console ~ 10 nodes Basic software for system integration, commissioning and operation Basic software development management … Phase II : Complex and sophisticated applications EPICS extension … Machine Commissioning and Tuning

  5. Control System Infrastructure EPICS/OPI File and Name Server, Gateway, Archivers, Beam Physics Server (Modeling System), Display Managers, Database Server, Alarm Server, AP Server, Boot Server, Monitoring Services, Storage Server … etc. Consoles and Servers PC/Linux Intranet Router Control Ethernet PLC-IOC Miscellaneous EPICS IOCs cPCI EPICS IOCs EPICS IOC (Input Output Controller) • Standard cPCI EPICS IOCs • - Intel CPU/Linux (fully preemptive kernel ) • High volume I/O • High speed serial connection (GbE, … etc.) • Miscellaneous EPICS IOCs • - Pentium/XScale/ARM/PPC Linux • - Soft real-time system • - RS-232/422/485 Devices • - CCD camera server • - PLC (safety type system) • - Bunch-by-bunch feedback system interface • - Special applications Beamline Network, Network Attached EPICS Devices (e.g. EPICS Oscilloscope, … etc.) Signal Conditioning Private Ethernet Safety Type System Timing Field Devices (Power Supply, Motion Controller, LXI Instruments, …etc.)

  6. EPICS IOC Hardware Building Blocks CompactPCI IOC (Linux) Special IOC D-Tacq Custom Designed Corrector Power Supply Controller IOC (~ 20 bit DAC) I-Tech BPM IOC (Intel CPU, Linux) ADLINK cPCI Crate D-Tacq Intel IOP + ADC ADLINK cPCI CPU board Dimtel Bunch-by-Bunch Feedback and Diagnostic IOC YEC PLC IOC ADLINK 128 Bits DI/DI TEWS cPCI IP carrier MRF cPCI Event System Modules Applicaion Specific SoftIOC Middle Layer IOC (JavaIOC ?) D-Tacq 18 bits DAC Hytec 18/20/24 bits DAC/ADC IP Modules Ethernet/LXI devices Power Supplies Oscilloscopes MOXA Serial Server MODBUS/TCP Devices 64 Nodes of cPCI Platforms in Test BI, BO, AI, AO, Timing, Network attached devices

  7. Control, Timing and Intra-CIA Fiber Network Control fiber network Intra-CIA fiber link Control and Timing fiber network Control System Computer Room to CIAs CIA #24 to Control System Computer Room and all CIAs To TLS Control System Computer Room

  8. TPS Control Network Infrastructure –Baseline Design (ready in late 2012) NSRRC Intranet CIA24 Network Rack TPS Control System Computer Room NSRRC Intranet ~ 32 SFP+ 10 GbE dual speed ports Ethernet Switch Ethernet Switch NTP server 10 Gigabit Fiber Links Edge Switch 24 GbE + 4 SFP + 2 SFP+ Ethernet Switch Ethernet Switch Ethernet Switch Ethernet Switch E3143 (TLS Control System Computer Room) CIA Switch 24 sets Pulse magnet PS x 1 set Ethernet Switch Ethernet Switch 1 Gigabit Fiber Link Ethernet Switch M230 (Laboratory)

  9. EPICS Controls Hardware Standard Ethernet and LXI compliant devices Power supply Diagnostics Electronics instruments Environment monitoring (temperature, vibration, pressure, …) Motion control Ethernet based motion controller Fast waveform capture Oscilloscope and soft-IOC Camera GigE Vision Interlock PLC embedded EPICS IOC Ethernet/LXI Miscellaneous Interface … etc. cPCI modules - CPU modules - 6 U cPCI EVG/EVR - 32/64/96 channel 16 bits AI 32/64 channel 24 bits AI (transient signal capture capability) - 32 channel, 18 bits AO - 128 bit DI, 128 bit DO - EVG, EVR in 6U cPCI form factor - IP carrier and IP modules 16 channel/24 bits ADC 16/8 channel 18/20 bits DAC - In house design modules Filedbus Ethernet (> 95%) Raw ASCII/LXI/VXI-11 /Modbus-TCP, …. RS-232/422-485 devices Serial device server => Ethernet … etc.

  10. Timing System Hardware Ru87 Fibre + Transceiver Fan-Out Concentrator cPCI-EVG-300 Universal I/O TTL Interlock Input ModuleUniversal I/O TTL Input UNIV-TTLIN Universal I/O TTL Output UNIV-TTL Universal I/O TTL Output Module w/ Delay Tuning Universal I/O NIM Output UNIV-NIM Universal I/O LVPECL Output Module Universal I/O LVPECL Output Module with Delay Tuning Universal I/O HFBR-1414 Output UNIV-HFBR-1414 Universal I/O HFBR-1528 Output UNIV-HFBR-1528 In-house made fanout cPCI-EVR-300 cPCI-EVRTG-300 (e-Gun Trigger) Fanout module GUN-RC-203/300

  11. Power Supply Control Interface Storage ring dipole power supply, booster dipole power supply and quadrupole power supplies were awarded to the IE Power. Control interface is similar as CLS. Booster dipole power supply and quadrupole power supply will build in waveform generator and/or external reference input (cPCI EPICS IOC + IP Carrier Module + Hytec 18/20 bits DAC IP module). Storage ring quadrupole、sextupole power supplies and transport line dipole 、quadrupoles power supply were contracted to Chroma ATE Inc. All power supply equip with Ethernet/LXI interface with NSRRC specify control functionality.

  12. Booster Main Power Supply Control Interface TPS Control Network EPICS IOC ADLINK cPCI CPU EPICS IOC ACQ164CPCI 24 bits ADC, 32 ch, GbE EVR (CPCI6U-EVR-300) ADLINK 128 Bits DI/DO Interlock PLC IOC TEWS TCP201 IP Carrier Hytec IP ADC 24 bits, 16 channels IP-ADC-8417 Hytec IP DAC 18 bits, 16 channels IP-DAC-8415 Ethernet Interface: On/Off control Status readback Interlock reset Trigger Fanout Ethernet Switch Ramp Trigger Sextupole SD, SF PS Trigger BR frev clock 3 Hz Power supplies trigger Booster Dipole, QF, Q1, Q2, QM PS (IE Power Inc.) Two Options: Analogue Reference Input (Waveform) or Embedded Waveform Generator

  13. Power Supply Control in one Cell TPS Control network Orbit Feedback Setting (10 kHz rate) Corrector Power Supply Controller (CPSC) Cell Power Supply Control cPCI IOC EPICS Access (10 Hz rate) CPU Module EVR (cPCI-EVR-300) EPICS IOC 20 bits DAC 24 bits ADC (D-Tacq) CLK/Trigger Ethernet Switch ±10 Amp Power Supplies (ITRI) Dipole PS (IE Power) x 1 Quad (10), Sextupole (7) (Chroma ATE Inc.) x 24 SR Slow Correctors 168 (H) +168 (V) SR Fast Correctors 96 (H) + 96 (V) Skew Quadrupole 96 BR Correctors 60 (H) + 36 (V)

  14. Corrector Power Supply Controller (CPSC) SR corrector PS (fast + slow), skew quad, BR correctors 10 kHz Clock Generator Up to 10 kHz (Fast Setting Clock) External Clock Input 4 ways, 8 ch adder 8 Ch, 20 bit DAC DO (LEMO connector, for timing measurement), Trigger out, Package received Fast Setting Ports (GbE, UDP/IP), Through Port Setting Buffers SFP Port Ethernet Interface (Hardware UDP Stack) Rx Tx Heartbeat Register Fast Setting Port, Through Port (AURORA) Rx AURORA + Tx Heartbeat Register Precise digital temperature sensors Trigger (3 Hz) Sequencer 10 kHz clock ~8 x 64 k x 32 bit Waveform Memory Data Acquisition Trigger input Slow Setting Buffer Slow Trigger (on demand, may not necessary) 96 pin DIN61412 Connectors x 2 Control and Status Registers Individual Channel Enable/Disable? Slow Access (~ 10 Hz) 10 kHz rate waveform 8 ch, 24 bit ADC (10 kHz Sampling) Waveform Memory Free running Or Pre/Post Trigger Single Board Computer (Linux, EPICS IOC) 10 Hz rate data Gigabit Ethernet 24 ch, 16 bit ADC Slow Access (~ 10 Hz) Control and Status Registers Status Registers 8 bit DI +/- 15 V + 5 V Write Registers 8 bit DO

  15. Orbit Feedback Environment within for one Cell BPM Grouping Links (2.5~3.125 Gb/s) TPS Control Network Cell’s Edge Switch Fast Setting GbE link To Cell N-1 Group 14*Magnet output CPSC for slow horizontal corrector 7 AURORA repeater CPSC for slow vertical corrector 7 I-Tech Solution Group 8*Magnet output CPSC for fast horizontal and vertical corrector 4 + 4 AURORA CPSC for Skew quad 4 (or more) To Cell N+1 Add XBPM in IOFB or local feedback are feasible.

  16. Accelerator Control System and Vacuum and Front-end PAC System Storage ring Beamline N-1 Control System and Experimental Station Front-end Beamline and Experimental Station Beamline N-1 front-end cRIO PAC Beamline & End-Station Hardwired handshake Front-end Status Fanout Ethernet Vacuum & Frontend Control System EPICS CA Channel Cell N Vacuum System cRIO PAC Cell N-1 Vacuum System cRIO PAC Cell N+1 Vacuum Syustem cRIO PAC MODBUS/TCP 1. Vacuum and front-end: Vacuum gauge reading IP current Valves information Various status (pressure、temp、flow rate、…) 2. Limited setting functionality Accelerator Control System CIA #N-1 EPICS IOC Machine Protection System EPICS CA gateway

  17. TPS Phase I ID Plans (10 IDs) IU22 3 M x 3 IU22 (1+1) x 2 EPU48 (1+1) x 1 (U50, EPU48 ?) x 1

  18. Insertion Devices Control Environment TPS Control Ethernet EPICS Gateway Beamline control system Global compensation UDP/IP (~ 200 update/sec) EPICS OPI Insertion Devices IOC (Linux, EPICS) CompactPCI cPCI CPU board 128 Bits DI/DI IP DAC 16 channels, 18 bits IP ADC 16 channels, 24 bits MOXA RS-232/422/485 Serial Device Servers Ethernet Switch ICPDAS RTD/TC (POE) 200 update/sec Galil DM-404x Motion Controller RS-232/485 Based Devices Local compensation Interlock Logic Beamline monochromator synchronization link ? Wiring Adapters Limit Switches Motor Drivers (Stepper (IU22) or Servo (EPU) Encoders (SSI, Incremental) Temperature RTD/TC Vacuum Ion-Pump, BA Gauge Power Supplies

  19. ID Global Compensation Solution EPICS CA access ~ 10 Hz rate Gap/Phase information broadcast every 5 msec Quadrupole control ~ 10 update/sec (via standard EPICS channel) StreamDevice Clients (Global orbit/tune/coupling correction, , …) Soft real-time applications are supported (~ 5 msec) EPICS IOC Setting update every 5 msec Status update every 5 msec Correctors & skew quads Fast Setting Real-time Ethernet (up to 10 kHz rate) Local Compensation Power Supplies Motion Controller

  20. TPS Storage Ring DCCT IOC EPICS Ethernet (3 Hz rate) Excitation OFF DCCT OK NPCT Power Loss EPICS IOC ADLINK cPCI CPU EVR (cPCI-EVR-300) 2 mA TEWS TCP201 IP Carrier Hytec IP ADC 24 bits, 16 channels IP-ADC-8417 Hytec IP ADC 24 bits, 16 channels IP-ADC-8417 BPM VLAN SUM signals from several BPM @ 10 Hz rate For Beam Current Safety Check DCCT Failed Heartbeat Detector Trigger 3 Hz @ TZERO To Machine Protection System Beam Trip Detector Stop Injection Trigger: Current achieve target value DCCT failed EPICS IOC failed Orbit Interlock Threshold Lock-in Amplifier Threshold Relay 2 mA, 5 kHz Tone Loop 10 kHz sampled data averaged into 3 Hz rate Lifetime calculation updated in 3 Hz rate I Tau I x Tau Accumulated I x Tau Transfer efficiency form booster synchrotron to storage ring Storage Ring DCCT

  21. Turnkey System Interface • Turnkey systems compliant with EPICS included: • Linac (EPICS ready) • RF transmitter • … etc. • Turnkey EPICS devices included: • BPM electronics, feedback processor, oscilloscope, … • Measures to minimize amount of workload for integration supports and maintenance • Standard components should be chosen to get consistency of • hardware • EPICS development environment and documentation on the TPS application development process

  22. RI’s Linac – EPICS Enable Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Controller (PLC, ..etc.) Local Control Panel Local Control Panel Local Control Panel Local Control Panel Timing Network TPS Control Network EPICS OPI Linac Timing IOC (Linux) TPS Control Environment Lianc Timing and IOC (Timing, LTB PS, LTB Diagnostics, Oscilloscopes, GigE Vision Camera,… etc.) + cPCI IOC cPCI CPU board + + Event Receiver EVR CPCI-EVR-300, cPCI-EVRTG-300 RI’s EPICS Soft-IOC Trig Signal Optical Fiber Gun grid pulser, Klystron Current/ Voltage, RF, Faraday Cup, Current Transformer, … etc. Linac Control Ethernet Switch Gun Trigger Linac RF, Diagnostic, …etc Local Controller (PLC, ..etc.) LTB Devices RF Vacuum Interlock …etc. Power Supply Gun Modulator #1 Modulator #3

  23. Others Subsystem Interface • Vacuum system and Beamline Front-end (responsive by Vacuum Group) • Connect to cRIO based PAC System via MODBUS/TCP links • Diagnostics • BPM electronics: Embedded EPICS • Image: GigE Vision camera • Miscellaneous controls: Motor, BI, BO, AI, AO, counter • RF (responsible by RF group) => Transmitter, LLRF, Cryogenic Electronics EPICS CA interface • Machine protection • => Dedicated PLC system with fast link • PLC Embeded EPICS IOC • Safety system (responsible by Radiation Safety Group) • Ethernet to control system.

  24. Others Subsystem Interface – cont. • Feedback system interface Orbit control – embedded with power supply control Bunch-by-bunch feedback Tune feedback Filing pattern feedback • Environment monitoring: Vibration, Temperature, … Raw TCP LXI MODBUS/TCP • Post-mortem supports Many devices support this functionality Trigger by event system • …

  25. Injection Control Two injection control options: Matlab scripts running on control console (3 Hz injection rate tested) EPICS record processing (in consider) E V G Linac E V R Gun E V R Uplink E V R Timing Master IOC E V R CA access CA access Timing Fanout Booster Main PS Timing IOC NPCT IOC (Beam current, Beam lifetime, …) Gun Timing, Linac Timing, Timing Diagnostic Injection Control IOC Filling Pattern IOC (Bunch current, Bunch lifetime, …) E V R Injection and Extraction Timing IOC

  26. Software Infrastructure Control system framework: EPICS toolkit Development focus on V3 V4 and extension are in study High level physics framework (responsible by Beam Dynamic Group) : Matlab/Accelerator Toolkit/Matlab Middle Layer Applications interface and Operation related applications: Define Implementation Many items are still in study RDB E-log Archiver and retriever Documentation … etc.

  27. Commissioning and Operation Related Applications Check List (2012-2014) Intensity monitor Storage ring DCCT Current and lifetime stream data Booster synchrotron DCCT Current waveform LTB/BTS FCT Stream data Injection efficiency Filling pattern monitor Storage ring Bunch current (or charge) Bunch purity monitor for isolated bunch Booster synchrotron Bunch current BPM related Configuration tools LTB/BTS single pass BPM Booster BPM display Ramping orbit Storage ring BPM (A, B, C, D, X, Y, Q, SUM, I, Q) First tune data Turn-by-turn 10 kHz steam data 10 Hz stream data Orbit (in waveform – array format) Spectrum for turn-by-turn data Spectrum for 10 kHz data Spectrum for 10 Hz data Bunch-by-bunch data Bunch phase oscillation data Bunch oscillation data Tune Booster ramping tune Storage ring tune …. Real-time beam loss monitor Screen monitor Actuator control Image acquisition Image analysis Synchrotron radiation monitor Booster synchrotron Optical control Timing control Image acquisition Image analysis Storage ring Optics control Image acquisition Image analysis Bunch-by-bunch data Bunch phase oscillation data Bunch oscillation data Waveform data …. …. …. • Basic EPICS environment • Subsystem control Device supports and device drivers User interface (control and status monitoring) Cold start, warm up, shutdown, operation check Save and restore • Subsystem application programs Gun processing Power supply performance check BPM system diagnostic EPICS IOCs house keeping Network monitoring … etc. • High level applications • Beam diagnostic related • …. • Special operation applications • EPICS IOC housekeeping • Network traffic • Magnet degaussing • Sybsystem warm-up, processing • Save/restore • Lattice management • Save, restore, … • LTB, BTS, Booster Synchrotron, Storage Ring, …etc. • Booster synchrotron: ramping waveform management • Injection control • Bucket addressing • Injection • Top-up injection • Filling pattern control and feedback • Multi-bunch • Single bunch • Multiple single bunch (Isolated bunch) • Exotic filling pattern - Camshaft mode, Repeat Camshaft mode, …. Etc. • Special operation applications – cont. • Timing control • Pulse magnets current waveform monitoring • Alarm checking • Archiver and browser • Machine status web page • Safety system status • Beamline related applications • Feed-forward table management • Orbit feedback supports • Machine status web page • …. Plan based on priority and delivery schedule

  28. Developed Simple Applications Single PS GUI TPS Synoptic Page TPS LTB GUI Timing Master Prototype E-Gun Trigger Module Test Screen Monitor

  29. Developed Simple Applications – cont. Profile Analysis TPS Timing Modules Configuration Page Kicker Pulser Control Single Pass BPM TPS Timing Summary Control Page FCT Waveform

  30. Virtual Accelerator EPICS IOC • 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 on AT/MML environment. Virtual TPS Storage Ring (EPICS) TPS Storage Ring (Lattice provided by BD Group)

  31. Current Efforts • Major procurements are in proceed. • Plans for installation. • Learn how to deal with EPICS system development and management. • Infrastructure of the software system. • TODO list for the software components. • Familiar with subsystem for applications development. • Explore EPICS new developments: For middle layer applications For API interface and another applications • Solutions for archiver and retriever, RDB, E-Log, … etc. • Plan a realistic schedule and set priority.

  32. Summary • Implementation of the TPS control system is under way. • Standard hardware are specified. • Standardization of software components and tools are the current focus. • High level applications and EPICS extensions will be the next focus issues. • Reinforce collaboration with EPICS community. Help from the EPICS community are essential!

  33. Thank You for Your Attention!

  34. Announcement • Name list for Taipei visit is posted on the bulletin board. Please check its correctness! If you name is missing, please contact information desk. • NSRRC offer to buy insurance for your stay in Taiwan this week. If you are still interest and not provide your information, please contact information desk. • The 3rd floor meeting room is available for your lunch also. • Tour of TPS Linac and TLS – please gather on the front gate of this building at 13:00.

More Related