Presentation is loading. Please wait.

Presentation is loading. Please wait.

Status of TPS Control System

Similar presentations


Presentation on theme: "Status of TPS Control System"— Presentation transcript:

1 Status of TPS Control System
Yung-Sen Cheng Instrumentation and Control Group NSRRC, Hsinchu, Taiwan

2 Outline Introduction Connectivity Control Room layout
Subsystem Interfaces Status of Controls to Subsystems Power Supply Controls Insertion Device Controls RF, Beamline, Vacuum, Front-end Machine Protection System Software Development GUI Development Database Application program interfaces Various applications Summary

3 Control System Infrastructure
EPICS toolkit framework Control system standards development Naming convention Control network infrastructure and IP addressing scheme Operating system Linux as standard operating system for servers, control consoles, EPICS IOCs Hard real-time => FPGA based system A few system are Windows based system User interface standards I/O standards Motion control connectors Coordinate system Various subsystems interface integration

4 Intranet EPICS/OPI Consoles and Servers PC/Linux Control Ethernet
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.)

5 TPS Control Network Infrastructure
NSRRC Intranet xx.xx TPS Control Network TPS Control System Computer Room 10 G Dual Speed swutches SFP+ (48 ports) Router 10 G Switches 1 G Switch Control System Servers Control System Servers Control System Servers NTP server Control Consoles Control Consoles Control Consoles 10 Gigabit Fiber Links 48 Ports xx TLS Control Network 48 Ports 48 ports Gigabit Switch with 10 G Uplink E3143 48 Ports 48 Ports Fiber Link CIA Switch CIA x 24 sets 48 Ports 48 Ports M230

6 Control Interface for Beamlines and Experimental Stations
xxx.yyy.1.z Machine Control Network, Timing Network EPICS IOC Beamline 1 Router, Switch? EPICS Gateway NSRRC Intranet SR Clock, Top-up Gating Signals Timing Interlock Related Signals xxx.yyy.48.z EPICS IOC Beamline N Router, Switch? EPICS Gateway Timing Responsibility of Information Office Responsibility of Beamline Group Control System and Timing Interface

7 IP Address Planning IP address inherent node locations
TPS Control Network   One Class B Network xx.xx/16 x EPICS Development .1 ~ 149 IOCs, Network-attached Instruments and Devices .150 ~ 199 Clients / Users (PC, NB) .200 ~ 229 Servers, Console Workstations .230 ~ 253 Switches, Routers x CIA#1 (SR PS Control IOC, Temperature Monitoring…) .1 ~ 10 IOCs, PS IOC, ACQ164, 2F IOC, ID IOC, PLC IOC, RF IOC ? , … .11 ~ 199 Spare .200 ~ 229 SNMP Devices x CIA#2 (SR PS Control IOC, Temperature Monitoring…) x CIA#24 (SR PS Control IOC, Temperature Monitoring…) x Grouping IOCs (BPM, …etc.) x Control System Servers, Control Consoles Multiple Class C Network xx.xx/24 Private Network x EPICS Development x CIA#1 Private Network (SR Dipole、Quadrupole & Sextupole PS) Network-attached Instruments and Devices x CIA#2 Private Network (SR Quadrupole & Sextupole PS) x CIA#24 Private Network (SR Quadrupole & Sextupole PS) x Spare RF IOC ? x Booster Ring Private Network (Booster Dipole & Quadrupole PS) x BPM Electronics Private Network x Storage Ring Private Network (GigE Vision, ... ) x IP Camera & IP Phone Private Network x SNMP Devices Private Network IP address inherent node locations

8 TPS Control Network Infrastructure
Control Room Control System Computer Room Control Consoles EPICS Control Servers Database Servers Internet Remote Multi-Display NSRRC Intranet Rack Rack Rack Control System Lab Control Computer Network Fiber Cables Core Switch 48-port SFP+ Core Switch 48-port Switch 48-port Switch 48-port Switch 48-port Switch Edge Switches EdgeSwitch EdgeSwitch EdgeSwitch EdgeSwitch IOC IOC IOC IOC IOC IOC IOC IOC Private Network Private Network Private Network Private Network 24-port Switch 24-port Switch 24-port Switch Local Private Switches 24-port Switch Switch Switch Switch Switch PS PS PS PS PS PS PS PS CA Gateway CA Gateway CA Gateway CA Gateway BL Control BL Control BL Control BL Control Front End Vacuum Front End Vacuum Front End Vacuum Front End Vacuum CIA-13, CIA-12, … CIA-03, CIA-02 CIA-01, CIA-24, … CIA-15, CIA-14

9 Network Layout for TPS Control System
NSRRC Network Control System Core Switches TPS Control System Server & Network Equipment Room Router Image IOC SR BPM Group IOC BR BPM Group IOC Image Switches SR BPM Switches BR BPM Switches Orbit Feedback Optical fiber patch Panel From cell # N-1 To cell N+1 Timing GigE Vision Camera BPM Grouping Link 48-port Switch 48 Ports IOC network x.x Timing IOC and CAGW IOC (cPCI) IOC (PLC) SRM IOC 24-port Switch IOC (cPCI) 2nd floor IOC BPM BPM BPM SR BPM Network /12~241/242 ,21,~241 Global private network IOC (CPSC) IOC (CPSC) PS PS MPS IOC (CPSC) IOC (CPSC) Beamline network Timing, power supply, temp monitor, … Local private network x ~ x SR Corrector x 3, Skew Quad, BR Corrector Timing, Modbus/TCP (Vacuum,Front-end) Beamline interface

10 Connectivity Long Distance Links and Fast Speed Links: All Fiber Links Control network : 10/1 Gb/s single-mode fiber network Timing network : 2.5 Gb/s OM3 fiber network BPM fast data network: 6.5 Gb/s OM3 fiber network Fast corrector setting: 2.5 Gb/s fiber link (AURORA) MPS network: 10 Mb/s fiber network BPM and miscellaneous diagnostics RF reference single mode fiber links (500 MHz、low phase noise、drift compensated) Short Distance to Subsystem Links: Copper links Fiber links

11 Accelerator Control System Fiber Network
Control Network Fast Orbit Transfer Network + MPS Network Timing Network From control system network and computer room to all CIAs From CIA #23 to all CIA equal length fibre links E143 (TLS Control System Network and Computer Equipments Room)

12 Control Room Layout (Subject to Change)
Available room space: 23m x 6m Remote multi-display graphics for 24/7/365 environments: - Space Saving - Ergonomics - Noise free - Better Thermal Management - Better Cable Management

13 Connectivity to TPS Control Network Beamline and experimental stations
Subsystem Interface – Still in Progress (Subject to Change) Subsystem Control Interface Connectivity to TPS Control Network Responsibility Timing system EPICS IOCs Direct Control team Linac Linac control EPICS IOC Linac’s vendor Timing IOC Pulsed magnet pulsers EPICS IOC Control ream Magnet power supply Diagnostics Router, Grouping EPICS IOCs, (BPM has its own private network) RF system RF group’s own EPICS IOCs EPICS Gateway RF group EPICS IOCs (LLRF interface) Cryogenics Cryogenic own EPICS IOC Cryogenic group Vacuum system Vacuum group’s EPICS IOC Vacuum group Insertion devices Front-end Front-end own’s EPICS IOC Girder system Girder owns’s EPICS IOCs Utility Utility group own’s EPICS IOC Radiation safety Safety own system ? Beamline and experimental stations Beamline group own EPICS IOCs

14 Booster Main Power Supply Control Interface (Subject to Change)
TPS Control Network Two Options: Embedded waveform generator EPICS IOC supply waveform EPICS IOC ADLINK cPCI CPU EPICS IOC ACQ164CPCI 24 bits ADC, 32 ch, GbE EVR (CPCI6U-EVR-300) from MPS Interlock ADLINK 128 Bits DI/DO TEWS TCP201 IP Carrier Hytec IP ADC 24 bits, 16 channels IP-ADC-8417 Hytec IP DAC 18 bits, 16 channels IP-DAC-8415 Current Waveform Ethernet Interface: On/Off control Status readback Interlock reset Waveform download Waveform upload Trigger Fanout Ethernet Switch Ethernet Switch Ramp Trigger Sextupole SD, SF PS Trigger Current Waveform Ramp Trigger BR frev clock 3 Hz Power supplies trigger Booster Dipole PS (IE Power) Booster QF PS (IE Power) Booster Q1 PS (IE Power) Booster Q2PS (IE Power) Booster QM PS (IE Power)

15 + DC component Setting (0 ~ 600 A ?) Waveform Setting (0 ~ 1100 A ?)
Solution for External Waveform for Booster Synchrotron Dipole Power Supply Hytec IP DAC, 18 bits (20 bits?), 16 channels, IP-DAC-8415 (Register Mode) DC component Setting (0 ~ 600 A ?) Register DAC Home-made Circuitry (Differential Output?) To Power Supply + Hytec IP DAC, 18 bits (20 bits?), 16 channels, IP-DAC-8415 (Waveform Mode) Clock Sequence Control Logic Waveform Memory DAC Trigger Waveform Setting (0 ~ 1100 A ?)

16 Corrector Power Supply Controller
Booster Corrector Power Supply Control Environment (12 stations) TPS Control network CIA 2F 48 Ports CIA Edge Switch CIA 1F cPCI EPICS IOC Corrector Power Supply Controller (CPSC) EPICS Access CPU Module EVR (CPCI6U-EVR-300) Trigger EPICS IOC 20 bits DAC 24 bits ADC Booster Correctors Odd CIA cPCI EPICS IOC (12 sets,96 PS modules) 16 corrector PSs/Booster Cell 2 PS sub-racks/Booster Cell ±10 Amp Power Supplies

17 Corrector Power Supply Controller
Storage Ring Power Supply Control Environment (24 stations) Number of PS/Cell 14 slow corrector PS 8 fast corrector PS 4 skew quad PS 3~4 corrector PS – Booster Synchrotron? TPS Control network CIA 2F Orbit Feedback Setting (10 kHz rate) 48 Ports CIA Edge Switch Corrector Power Supply Controller (CPSC) EPICS Access (10 Hz rate) cPCI EPICS IOC CPU Module EVR (CPCI6U-EVR-300) Trigger (Timing System) Dipole PS Control (at one of CIA) EPICS IOC 20 bits DAC 24 bits ADC CIA 1F Ethernet Switch Dlink DES-1026G SR Slow Correctors SR Fast Correctors SR Skew Quads BR Correctors Quad (10), Sextupole (7), Dipole Control (1 or 0) (Ethernet Interface) ±10 Amp Power Supplies

18 Quadrupole and Sextupole Power Supplies for One Cell Prepared for Test
Sextupole PS cPCI EPICS IOC IOC Test Rack All quadrupole magnets and sextupole magnets of the storage ring are powered by independent power supply Quadrupole PS

19 Performance Measurement of Quadrupole Power Supply
Transient waveform acquisition shows the current stability of quadrupole power supply is about ±1mA. Transient waveform acquisition shows the overshot variation when quadrupole power supply current changed. The difference between setting and reading current when setting current is from 1A to 250A with 1mA step. 19

20 Performance improvement
Corrector Power Supplies Control Interface Prototype Test Works in proceed Performance improvement Software development That's one small step for man, one giant leap for mankind.

21 20 uV step change observation at DVM
19 bit (20 bits – 1 sign bit) performance achieve!

22 Setting Ports (GbE, UDP/IP), Setting Port, Through Port (AURORA)
External Clock Input Internal 10 kHz Clock Generator Up to 10 kHz Fast Setting Clock) 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 Rx Ethernet Interface (Hardware UDP Stack) 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

23 Ambient Temperature Effects 50 mA/div
DVM Measurement Temperature of PS module 1oC/div

24 Pulse Magnets’ Pulser Control Interface
Timing Network TPS Control Ethernet Booster injection septum x 1 Booster injection kicker x 1 Booster extraction septum x 1 Booster extraction kicker x 2 Storage ring injection septum x 1 Storage ring injection kicker x 4 Storage ring pinger x 2 Pulse Magnet PS Timing EPICS IOC Pulse Magnet PS Wavefrom EPICS IOC CompactPCI (Linux) cPCI CPU board Event Receiver cPCI-EVR-300 Electrical/Optical Fanout Ethernet Switch Pulse Magnet PS Control EPICS IOC PLC-IOC PLC-IOC PLC-IOC Scopes Kicker #1 Pulser Kicker #4 Pulser Septum Power Supplies

25 Pulse Magnets’ Power Supply Control Interface – cont.
Pulse magnets pulser control EPICS IOCs Booster injection septum x 1 Booster injection kicker x 1 Booster extraction septum x 1 Booster extraction kicker x 2 Storage ring injection septum x 1 Storage ring injection kicker x 4 Storage ring pinger x 2 Waveform Acquisition Timing

26 (SSI/Incremental) to Beamline
Insertion Devices Control – Hardware Environment TPS Control Ethernet EPICS Gateway Beamline control system Global Compensation Private Ethernet Or Gap/Phase information to beamline (UDP/IP ~ 200 update/sec) Slow Access (Command and Data) 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 N-Port RS-232/422/485 Serial Device Servers POE Ethernet Switch ICPDAS RTD/TC (POE) Local Compensation 200 update/sec Encoder Signals (SSI/Incremental) to Beamline “On-the-fly” support Galil DM-404x Motion Controller Interlock Logic RS-232/422/485 Based Devices Beamline monochromator synchronization link ? Wiring Adapter Limit Switches Motor Drivers (Stepper or Servo) Encoders (SSI, Incremental) Temperature RTD/TC Vacuum Ion-Pump, BA Gauge Power Supplies

27 EPICS IOC Motion Controller AO AI DO DI
TPS Insertion Devices Control Environment EPICS CA access U50 gap information ~ up to 200 Hz rate (CaLib, caget, camonitor, …etc) On-the-fly scan enable To beamline Gateway, router GUI clients, Global compensation clients (orbit, coupling, tune, …etc.) Computers Gap/Phase information Encoder interface (SSI read only and/or quadrature signals) EPICS IOC Status update every 5 msec Motion Controller AO AI DO DI Setting update every 5 msec Local compensation power supplies Optical encoders

28 ID Controls (2012-2013) 1 M APU testbed (Done, 2012)
U50 Rebuild , re-build controls to EPICS (Done, ) U90 Rebuild , re-build controls to EPICS (Plan, 2013~2015) EPU46 (Current control environment is in TLS system, re-build to EPICS is scheduled in 2013.) EPU48 x 2 sets (in construction, 2013) IU22 ( 2m) x 2 sets (late 2012~early 2013) IU22 ( 3m) x Single servo motor IUT22 (3 m) x 1 Two servo motors

29 Storage Ring RF System Interface (@ RF #2 & RF# 3, total 2 sets)
LLRF SRF Transmitter Digital Input x x (EPICS) Digital Output x x 16 ADC x x 400 DAC x x 16 TPS Control Network xx.yy EPICS IOC ( , ) EPICS Gateway EVR (CPCI6U-EVR-300) RF Network 128 Bits DI/DO EPICS IOC (ACQ196) Timing Network 64 Channels ADC ( , ) EPICS IOC (ACQ196) EPICS IOC (ACQ196) EPICS IOC Transmitter EPICS IOC (ACQ196) IP Carrier 16 channels, 18 bits IP-DAC-8415 BRF # CIA #12 SRF # (RF #1) CIA #14 SRF # (RF #2) CIA #15 SRF # (RF #3) CIA #17 Landau Cavity (RF #4) CIA #18 ACQ196 (transition, non-EPICS) Siemens S7-300 PLC (Thales) Trigger RF Group Cryogenic Electronics Storage ring RF system LLRF RF Transmitter (Thales)

30 Vacuum System、Front-end system、Beamline Control System Interface
1. Readback via EPICA gateway: Vacuum gauge reading IP current Gate valve information Various status (pressure、temperature、flow rate、…) 2. Setting: => further discussion is needed Beamline enable Gate valve On/Off Coontrol Missing items … Beamline Beamline N-1 Control System & End-station Front-end Beamline N-1 front-end PAC cRIO Controler + ADAM 5000 Accelerator Control System Timing, EPICS Gateway EPICS CA Channel Front-end Network Cell N-1 Vacuum Control PAC cRIO Controller + ADAM 5000 Cell N+1 Vacuum Control PAC cRIO Conmtroller + ADAM 5000 Cell N Vacuum Control PAC cRIO Controller + ADAM 5000 Vacuum Network Storage Ring Abort Beam Request Hardwired (handshake) Vacuum System PC (1 or more) Windows+ LabView+ EPICS IOC Accelerator Control System Machine Protection System Vacuum System PC (1 or more) Windows+ LabView+ EPICS IOC Accelerator Control System EPICS gateway(s) 1~2 update/sec TPS Control Network xx.xx

31 24 Control Instrument Areas
Machine Protection System Network TPS Accelerators 24 Control Instrument Areas BL Front-end Vacuum Orbit Interlock Event System cell #N+1 cell #N-1 RF PS Fibre Link Fibre Link Fibre Link SLOW PLC Remote I/O Input Circuitry (Contact, Voltage, Open-collector) Output Circuitry (Contact, Voltage) Interlock Signals Actuators FAST Event Receiver Transient Capture EPICS IOC cell #N TPS Control Network Post-mortem Diagnostics 31

32 (5 msec response time guarantee) (8 msec response time guarantee)
Machine Protection System Test Fast MPS test bed (5 msec response time guarantee) Slow MPS test bed (8 msec response time guarantee) MPS-Trip Out 2 MPS-Trip (Decode Uplink Event) EVG EVR1 5 m(fiber) FOUT-CT Delay of uplink:2.45 μs Delay of uplink and downlink:4.42 μs 10 m(fiber) FOUT-CT Uplink MPS-Trip In 1 < 5 μs response time 310 m (fiber) MPS-Trip Out (EVR1) 2 MPS-Trip Out (EVR2) 3 FOUT-CT 10 m(fiber) 3 EVR2 1 MPS-Trip In MPS-Trip Out 32

33 GUI Development – TPS Launching Main page (EDM based)

34 GUI Development (EDM based)
Single PS Control Page SR all PS launch page Degaussing Control Page Single Pass BPM Kicker Pulser Control TPS LTB Test Page

35 GUI Development (EDM based) – cont.
TPS Timing Summary Page TPS Timing Hardware Configuration Page

36 Conceptual RF Control Main Pages and Vacuum Pressure Distribution
GUI Development - Conceptual RF Control Main Pages and Vacuum Pressure Distribution Storage Ring Booster Booster Storage Ring

37 GUI Development – Matlab Based Screen Monitor Data Analysis

38 GUI Development - CSS – BOY based
Chroma Sextupole PS Control Page Linux Version Windows Version

39 Database Solution Store machine parameters
Store configuration parameters Store runtime data Uniform authentication, uniform data access, good data integrality Remote access RDB : PostgreSQL => ITER, KEK, …increase popularity recently => Archive data storage => Lattice and parameter management

40 Archiver/Browser Solution (Ready at 3th Quarter of 2012)
DataBrowser (Historic Data, Live Data) 2012 Ready Config.xml CSS Based OPI Other tools for configure & access: Java, C/C++, Matlab, Labview, … ArchiveConfigTool PostgreSQL Configure Samples Archive Engine SAN Storage EMC VNX5300 + Enterprise DB (PostgreSQL) EPICS IOCs

41 Machine Status Web Page
E-Log Study Several E-Log solution are in study: weblogs PSI ELOG DESY Olog (FRIB/NSLS-II) Zlog (KEKB) Tlog (in-house development, still in study) ? Machine Status Web Page Web based machine status Accelerator operation status ID status Beam current vs. lifetime Simulated Page

42 Application Programming Interface
EPICS CA Clients (C/C++, Matlab, JAVA, Python, LabVIEW, …) High Level Physics Applications => Depend upon preference of Machine Physicists Diagnostics related applications C, C++, Matlab, … Technical system support C, C++, Matlab, LabVIEW, JAVA, Various scripting languages, … Miscellaneous applications JAVA, PHP, Python, ….

43 Commissioning and Operation Related Applications
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 ….

44 Commissioning and Operation Related Applications - Examples
EPICS IOCs house keeping Network traffic monitoring and diagnostics Subsystem cold start, warm up, processing, …., shutdown Magnet degaussing Save/restore for subsystems Lattice management Save/restore, … LTB, BTS, Booster Synchrotron, Storage Ring, …etc. Booster synchrotron ramping waveform management Editing Measurement Correction Trend display Timing control Waveform display: Pulse magnet current waveform、RF waveform, beam waveform、… Image display: screen monitor, synchrotron radiation monitor, streak camera, …etc.

45 Commissioning and Operation Related Applications – Examples (cont.)
Injection control Bucket addressing Injection mode: 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. Feed-forward table management Orbit feedback supports Alarm checking Archiver and browser Safety system status Beamline related applications Machine status web page ….

46 Summary Infrastructure are frozen.
Major procurements are in proceeding. Last chance to revised all major items. All difficult technology are addressed. Installation and commissioning without beam are expected during 3th and 4th quarters of 2013.

47 Thanks for your attention!
TLS TPS Thanks for your attention! 47

48 國家同步輻射研究中心-營建小組

49 國家同步輻射研究中心-營建小組


Download ppt "Status of TPS Control System"

Similar presentations


Ads by Google