1 / 47

NSRL Control System

NSRL Control System. NSRL Control System Presented by Li, Chuan National Synchrotron Radiation Lab oratory. N ational Synchrotron Radiation Lab oratory Hefei Light Source. Hefei Light Source (HLS): second generation dedicated synchrotron light source 200MeV electron linac

rufus
Télécharger la présentation

NSRL 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. NSRL Control System NSRL Control System Presented byLi, Chuan National Synchrotron Radiation Laboratory

  2. National Synchrotron Radiation Laboratory • Hefei Light Source

  3. Hefei Light Source (HLS): second generation dedicated synchrotron light source • 200MeV electron linac • Beam transport line • 800 MeV electron storage ring

  4. Old control system Problems: • No connection between subsystems • Software function was simple • No database, only parameter backup in some subsystems • Hardware components were out of date and maintenance becomes more and more difficult

  5. Phase II project of NSRL started in April 1999 formally. • Design Philosophy for new control system • Adopting distributed architecture • Applying standard hardware interfaces: Sun workstation, Industrial PC, PLC • Cost-performance should be considered

  6. OPI LAN IOC I/O Equipment • New control system: based on EPICS • Operator Interface, OPI • LAN • Input/Output Controller, IOC Fig. Basic hardware structure of control system based on EPICS

  7. Upgrade process in Phase II Project • May 1999: set up a prototype system • June 2000: the first subsystem(storage ring main magnet power supply control system)was commissioning. • Oct. 2003: the last subsystem(storage ring octupole magnet power supply control system)was commissioning. • Upgrade process after Phase II Project • upgrade EPICS base version to R3.13.10 • Continually add or update subsystem: New transport line magnet power supply control system New wiggler main power supply control system Magnet temperature monitor system Ring Vacuum SIP monitor system ……

  8. Hardware platform • 1 Sun Ultra 1 • 3 Sun Ultra 10 • 1 Sun E250 • 18 PC(Linux,Windows) • A large number of Industrial PC (IPC) • Others: such as PLC, single-chip microcomputer

  9. Software environment: • OPI:Solaris7/8; Red Hat7/9; WindowsXP/2003 • IOC:vxWorks 5.3.1 • Local controller: vxWorks 5.3.1, Windows, etc. • EPICS base: 3.13.10 • Program language: C, SNL, tcl/tk, PHP • EPICS tools: dct, MEDM, sddstoolkit • Database: Oracle 8i, SQL server

  10. Hardware in HLS Control System

  11. Topological structure of the dedicated control LAN

  12. 8 subsystems: • Power supply: • Ring main magnet PS; Ring corrector magnet PS; Ring octupole magnet PS; Skew quadrupole mag. PS • Transport line magnet PS; Linac magnet PS • Klystron focusing coil PS • Injection system pulse PS; Linac modulator pulse PS • Wiggler main PS; Wiggler compensation PS • RF • Vacuum • BPM,PBPM • Interlock • Flag • Temperature • Linac Temperature; RF Cavity Temperature • Magnet Temperature; Water Temperature; Environment Temperature • SoftChannel

  13. 23 OPI • 5 Sun Ultra (Solaris7/8) • 4 PC (Linux7.0/9.0) • 14 PC (WindowsXP/Windows2003 Server) • 25 IOC • IPC (with flash disk diskonchip 2000) • 180Local controller • 56IPC (with flash disk diskonchip 2000) • 16 PLC • Others, 108 • 100M dedicated LAN, 5 switches

  14. Current regulating PS control • Current regulating PS:199 • Ring main mag. PS (12) ; Ring corrector mag. PS (32); Ring octupole mag. PS (1); Skew quadrupole mag. PS(2) • Transport line mag. PS (80); Linac mag. PS (30) • Klystron focusing coil PS(42) • IOC: • IPC with diskonchip 2000 • 8 port serial board (MOXA,C168P) • Local controller: • IPC with diskonchip 2000; • 12/16b ADC/DAC board, Relay/DI board; optical isolation • Communication: • RS232 over fiber; RS422 with optical isolation • point to point

  15. BPM: done by beam measurement group • VXI • LabView + ActiveX • 48 bpm Channels • 6 pbpm in use

  16. The count of local controllers based on IPC↑(Increase) → The reliability of whole control system ↓(Decrease) • Failure Reason: • CPU fan • Memory bank • The communication protocol between IOC and local controller is too simple to deal with all kinds of errors because it is designed by ourselves.

  17. A new kind of PS local controllers based on Agilent34970A Data Acquisition/Switch Unit RS232/GPIB To IOC Agilent34970A Addressing Communication IPC Bus AD DA DI DO

  18. Advantage: • Higher reliability • SCPI Communication Protocol • No CPU Board on IPC BUS • Higher measurement precision • 16 bit AD → 22 bit AD • No need program for local controllers

  19. Software in HLS Control System

  20. Software development for IOC • Record: ~3000 • Record type: Ai, Ao, Bi, Bo, Mbbi, Mbbo, MbbiDirect, MbboDirect, Subroutine, subOut and maio. subOut and maio are new record types we development. • device support/device driver development • Create db using DCT • SNL(State Notation Language)and sequencer

  21. Record statistics

  22. Software of OPI • MEDM : edit and manage most of man-machine interface • Tcl/Tk + SDDS toolkit: complicated control, such as ramping control • Matlab: matrix calculation,such as closed orbit correction • PHP: Web page, such as machine status online

  23. Beam ramping • Ramping table calculation • E-B relation, B-I curve ,I-D curve • C, Tcl/Tk • Rampingcontrol: • No dedicated hardware • Ramping, ramping down, tune ramping

  24. A typical operation mode: • Injection 200MeV electron from linac; • Ramping it to 800MeV; • Tunning lattice,decrease emittance from 160nmrad to 80nmrad; • Compensation Lattice while charge Wiggler Main PS; • Running closed orbit correction.

  25. Beam closed orbit correction Corrector Mag BPM BPM Corrector Mag Beam Power Supply BPM Monitor IOC Corrector IOC the dedicated control LAN Orbit correction OPI

  26. Matlab Applications Matlab to EPICS (MCA,) Channel Access to Accelerator Hardware • Beam closed orbit correction • Hardware: • 24 BPMs along storage ring, 48 channels • 32 corrector magnet PS • Matlab on WindowsXP • response matrix calculation • Requirement: • |⊿y|<30µm (σx: 0.45~1.87mm,σy:0.13~0.43mm)

  27. 2006.9.23 8:00-18:00 All vertical BPMs (No feedback)

  28. 2007.1.20 8:00-18:00 All vertical BPMs (Feedback)

  29. BQ6EV

  30. BQ1NV

  31. Status Online and Database in HLS

  32. Machine Status online and History Database • Hardware platform: PC(Linux), PC(Windows) double network cards, connect to dedicated control LAN and NSRL LAN • Software development: SDDS toolkit, Tcl/Tk, PHP Channel Archiver, perl, CGI • Interface: B/S (browser/server) • Classification: All users / NSRL users

  33. Hardware structure

  34. Machine Status online interface

  35. History data query interface (channel archiver)

  36. History data query interface (SDDS)

  37. Summary • A distributed control system based on EPICS • Multiplicate units,such as Industrial PC, PLC,and data acquisition meter are used • Cost-effective and high reliability

  38. Thank you!

More Related