1 / 49

Status of TPS Control System Yung-Sen Cheng Instrumentation and Control Group

Status of TPS Control System Yung-Sen Cheng Instrumentation and Control Group NSRRC, Hsinchu, Taiwan. Outline. Introduction Connectivity Control Room layout Subsystem Interfaces Status of Controls to Subsystems Power Supply Controls Insertion Device Controls

megan
Download Presentation

Status of TPS Control System Yung-Sen Cheng Instrumentation and Control Group

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 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. 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. EPICS/OPI 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 172.20.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 140.110.202.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 172.20.xx.xx/16 172.20.0.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 172.20.1.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 .230 ~ 253 Switches, Routers 172.20.2.x CIA#2 (SR PS Control IOC, Temperature Monitoring…) …. ...... 172.20.24.x CIA#24 (SR PS Control IOC, Temperature Monitoring…) 172.20.25.x Grouping IOCs (BPM, …etc.) 172.20.26.x Control System Servers, Control Consoles Multiple Class C Network 172.21.xx.xx/24 Private Network 172.21.0.x EPICS Development 172.21.1.x CIA#1 Private Network (SR Dipole、Quadrupole & Sextupole PS) Network-attached Instruments and Devices 172.21.2.x CIA#2 Private Network (SR Quadrupole & Sextupole PS) …. ...... 172.21.24.x CIA#24 Private Network (SR Quadrupole & Sextupole PS) 172.21.25.x Spare RF IOC ? 172.21.26.x Booster Ring Private Network (Booster Dipole & Quadrupole PS) 172.21.27.x BPM Electronics Private Network 172.21.28.x Storage Ring Private Network (GigE Vision, ... ) 172.21.29.x IP Camera & IP Phone Private Network 172.21.30.x SNMP Devices Private Network …. ......

  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 Core Switch 48-port SFP+ Control Computer Network Fiber Cables Core Switch 48-port Switch 48-port Switch 48-port Switch 48-port Switch EdgeSwitch EdgeSwitch EdgeSwitch EdgeSwitch Edge Switches … … … … … … 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 24-port Switch Local Private Switches 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 Front End Front End Front End Vacuum Vacuum Vacuum Vacuum CIA-01, CIA-24, … CIA-15, CIA-14 CIA-13, CIA-12, … CIA-03, CIA-02

  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 Orbit Feedback BR BPM Switches 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 172.20.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 172.21.26.11/12~241/242 172.21.27.11,21,~241 Global private network IOC (CPSC) IOC (CPSC) PS PS MPS IOC (CPSC) Beamline network IOC (CPSC) Timing, power supply, temp monitor, … Local private network 172.21.1.x ~ 172.21.24.x Timing, Modbus/TCP (Vacuum,Front-end) Beamline interface SR Corrector x 3, Skew Quad, BR Corrector

  10. Connectivity Long Distance Links and Fast Speed Links: All Fiber Links Control network :10/1 Gb/ssingle-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) MPSnetwork: 10 Mb/s fiber network BPM and miscellaneous diagnostics RFreference 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 + MPSNetwork 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. Subsystem Interface– Still in Progress (Subject to Change)

  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 Current Waveform Trigger 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. 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. 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 PSmodules) 16 corrector PSs/Booster Cell 2 PS sub-racks/Booster Cell ±10 Amp Power Supplies

  17. 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. 70mA 1A 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.

  20. 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. 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 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

  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 magnetspulser 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. 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. TPS Insertion Devices Control Environment On-the-fly scan enable EPICS CA access U50 gap information ~ up to 200 Hz rate (CaLib, caget, camonitor, …etc) 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 DO Motion Controller AO AI 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, 2012.08) • 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 4 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 48 x 128 (EPICS) Digital Output x 16 x 16 ADC x 48 x 400 DAC x 16 x 16 TPS Control Network 172.20.xx.yy 172.20.15.40 EPICS IOC (172.20.15.41, 172.20.17.41) EPICS Gateway EVR (CPCI6U-EVR-300) RF Network 128 Bits DI/DO EPICS IOC (ACQ196) Timing Network 64 Channels ADC (172.20.15.42 , 172.20.17.42) EPICS IOC (ACQ196) EPICS IOC Transmitter EPICS IOC (ACQ196) EPICS IOC (ACQ196) IP Carrier 16 channels, 18 bits IP-DAC-8415 BRF #1 CIA #12 SRF #1 (RF #1) CIA #14 SRF #2 (RF #2) CIA #15 SRF #3 (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 valveOn/Off Coontrol Missing items … Beamline Beamline N-1 Control System & End-station Front-end Beamline N-1 front-end PAC cRIOControler+ ADAM 5000 Accelerator Control System Timing, EPICS Gateway EPICS CA Channel Front-end Network Cell N-1 Vacuum Control PAC cRIOController+ ADAM 5000 Cell N+1 Vacuum Control PAC cRIOConmtroller+ ADAM 5000 Cell N Vacuum Control PAC cRIOController+ ADAM 5000 Vacuum Network Storage Ring Abort Beam Request Hardwired (handshake) Vacuum System PC (1 or more) Windows+ LabView+ EPICS IOC Accelerator Control System MachineProtectionSystem Vacuum System PC (1 or more) Windows+ LabView+ EPICS IOC Accelerator Control System EPICS gateway(s) 1~2 update/sec TPSControl Network 172.20.xx.xx

  31. 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

  32. Machine Protection System Test Fast MPS test bed (5 msec response time guarantee) Slow MPS test bed (8 msec response time guarantee) 2 MPS-Trip Out 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 1 MPS-Trip In < 5 μs response time 310 m (fiber) 2 MPS-Trip Out (EVR1) 3 MPS-Trip Out (EVR2) FOUT-CT 10 m(fiber) 1 EVR2 3 MPS-Trip In MPS-Trip Out

  33. GUI Development – TPSLaunching Main page(EDM based)

  34. GUIDevelopment (EDM based) Single PS Control Page SR allPS launch page Degaussing Control Page Single Pass BPM Kicker Pulser Control TPS LTB Test Page

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

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

  37. GUI Development – Matlab Based Screen MonitorData Analysis

  38. GUIDevelopment - CSS – BOY based Chroma Sextupole PS Control Page LinuxVersion WindowsVersion

  39. Database Solution Store machine parameters Store configuration parameters Store runtime dataUniform authentication, uniform data access, good data integralityRemote 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. 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 waveformmanagement 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. TLS TPS Thanks for your attention!

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

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

More Related