Download presentation
Presentation is loading. Please wait.
2
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 1 NSRL Control System Presented by Li, Chuan National Synchrotron Radiation Laboratory
3
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 2 National Synchrotron Radiation Laboratory Hefei Light Source
4
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 3 Hefei Light Source (HLS): second generation dedicated synchrotron light source 200MeV electron linac Beam transport line 800 MeV electron storage ring
5
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 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
6
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 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
7
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 6 New control system: based on EPICS Operator Interface, OPI LAN Input/Output Controller, IOC OPI LANIOCI/OEquipment Fig. Basic hardware structure of control system based on EPICS
8
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 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 ……
9
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 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
10
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 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
11
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 10 Hardware in HLS Control System
12
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 11 Topological structure of the dedicated control LAN
13
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 12
14
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 13 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
15
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 14 subsystemIOCLocal controllerOPI IPC PLCOthersSUNPC (Linux) PC (Windows) Ring main mag. PS312 54 14 Ring corr. Mag.PS18 Ring vacuum4 54 Ring Flag 1 Injection system 3 RF2121 Temperature system3 6 RFKO1 2 Ring octupole mag. PS1 Transport line mag. PS420 Switch mag. PS1 1 Kly. focusing coil PS16 Analysis Mag. PS 1 Linac vacuum2 32 Linac mag. PS18 Flag1 2 interlock 2 Linac Modu. pulse PS 6 sum2556161085414 251802323
16
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 15 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) 180 Local controller 56 IPC (with flash disk diskonchip 2000) 16 PLC Others, 108 100M dedicated LAN, 5 switches
17
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 16 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
18
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 17 BPM: done by beam measurement group VXI LabView + ActiveX 48 bpm Channels 6 pbpm in use
19
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 18 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.
20
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 19 A new kind of PS local controllers based on Agilent34970A Data Acquisition/Switch Unit Agilent34970A RS232/GPIB To IOC AD IPC Bus DADIDO Addressing Communication
21
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 20 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
22
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 21
23
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 22 Software in HLS Control System
24
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 23 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
25
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 24 Record statistics
26
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 25 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
27
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 26
28
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 27
29
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 28
30
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 29
31
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 30 Beam ramping Ramping table calculation E-B relation, B-I curve , I-D curve C, Tcl/Tk Ramping control: No dedicated hardware Ramping, ramping down, tune ramping
32
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 31
33
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 32 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.
34
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 33
35
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 34 Beam closed orbit correction BPM Monitor IOC Power Supply Corrector IOC Orbit correction OPI Beam Corrector Mag BPM the dedicated control LAN
36
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 35 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 ) Matlab Applications Matlab to EPICS (MCA,) Channel Access to Accelerator Hardware
37
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 36 2006.9.23 8:00 - 18:00 All vertical BPMs ( No feedback )
38
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 37 2007.1.20 8:00 - 18:00 All vertical BPMs ( Feedback )
39
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 38 BQ6EV
40
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 39 BQ1NV
41
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 40 Status Online and Database in HLS
42
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 41 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
43
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 42 Hardware structure
44
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 43 Machine Status online interface
45
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 44 History data query interface(channel archiver)
46
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 45 History data query interface (SDDS)
47
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 46 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
48
Mar. 12, 2008 Li, Chuan: NSRL Control System NSRL 47 Thank you!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.