Download cPCI EPICS IOC - Amazon Web Services

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Status of TPS Control System
Yung-Sen Cheng
Instrumentation and Control Group
NSRRC, Hsinchu, Taiwan
EPICS Collaboration Meeting Fall 2012 @PAL
1
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
EPICS Collaboration Meeting Fall 2012 @PAL
2
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
EPICS Collaboration Meeting Fall 2012 @PAL
3
EPICS/OPI
Consoles
and
Servers
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.
PC/Linux
Intranet
Router
EPICS
IOC
Control Ethernet
cPCI EPICS IOCs
(Input
Output
Controller)
Signal
Conditioning
Private
Ethernet
Beamline Network,
Network Attached
EPICS Devices
(e.g. EPICS
Oscilloscope,
… etc.)
Timing
Field Devices
(Power Supply, Motion Controller,
LXI Instruments, …etc.)
EPICS Collaboration Meeting Fall 2012 @PAL
Miscellaneous
EPICS IOCs
PLC-IOC
Standard cPCI EPICS IOCs
- Intel CPU/Linux (fully preemptive kernel )
- High volume I/O
- High speed serial connection (GbE, … etc.)
Miscellaneous EPICS IOCs
Safety Type
- Pentium/XScale/ARM/PPC Linux
System
- Soft real-time system
- RS-232/422/485 Devices
- CCD camera server
- PLC (safety type system)
- Bunch-by-bunch feedback system interface
- Special applications
4
TPS Control Network Infrastructure
172.20.xx.xx
TPS Control Network
NSRRC Intranet
10 G Dual Speed swutches
SFP+ (48 ports)
TPS Control System
Computer Room
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
48 ports Gigabit
Switch
with 10 G Uplink
140.110.202.xx
TLS Control Network
48 Ports
48 Ports
48 Ports
E3143
Fiber Link
CIA Switch
CIA x 24 sets
48 Ports
48 Ports
EPICS Collaboration Meeting Fall 2012 @PAL
M230
5
Control Interface for Beamlines and Experimental Stations
xxx.yyy.1.z
Router,
Switch?
Beamline 1
SR Clock,
Top-up Gating Signals
EPICS IOC
EPICS
Gateway
Timing
Interlock Related Signals
NSRRC
Intranet
xxx.yyy.48.z
Router,
Switch?
Beamline N
EPICS IOC
Machine
Control
Network,
Timing
Network
EPICS
Gateway
Timing
Responsibility of
Information Office
Responsibility of
Beamline Group
EPICS Collaboration Meeting Fall 2012 @PAL
Control System and Timing Interface
6
IP Address Planning
TPS Control Network
One Class B Network
172.20.xx.xx/16
IP address inherent node locations
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
….
172.20.24.x
172.20.25.x
172.20.26.x
CIA#2 (SR PS Control IOC, Temperature Monitoring…)
......
CIA#24 (SR PS Control IOC, Temperature Monitoring…)
Grouping IOCs (BPM, …etc.)
Control System Servers, Control Consoles
Multiple Class C Network 172.21.xx.xx/24 Private Network
172.21.0.x
172.21.1.x
172.21.2.x
….
172.21.24.x
172.21.25.x
172.21.26.x
172.21.27.x
172.21.28.x
172.21.29.x
172.21.30.x
….
EPICS Development
CIA#1 Private Network (SR Dipole、Quadrupole & Sextupole PS)
Network-attached Instruments and Devices
CIA#2 Private Network (SR Quadrupole & Sextupole PS)
......
CIA#24 Private Network (SR Quadrupole & Sextupole PS)
Spare RF IOC ?
Booster Ring Private Network (Booster Dipole & Quadrupole PS)
BPM Electronics Private Network
Storage Ring Private Network (GigE Vision, ... )
IP Camera & IP Phone Private Network
SNMP Devices Private Network
......
EPICS Collaboration Meeting Fall 2012 @PAL
7
TPS Control Network Infrastructure
Control Room
Control System Computer Room
Control EPICS Control Database
Consoles
Servers
Servers
Internet
…
Remote
MultiDisplay
Rack
Rack
NSRRC
Intranet
Rack
Control System Lab
Core Switch 48port SFP+
Control
Computer
Network
Fiber Cables
Edge
Switches
48-port
Switch
EdgeSwitch
…
IOC
Local
Private
Switches
48-port
Switch
24-port
Switch
IOC
Private
Network
Switch
…
PS
EdgeSwitch
…
…
IOC
24-port
Switch
IOC
Private
Network
Switch
CA Gateway
PS
…
PS
CA Gateway
BL Control
BL Control
Front Vacuum
End
CIA-13, CIA-12,
CIA-03,
CIA-02
EPICS Collaboration
Meeting…Fall
2012 @PAL
48-port
Switch
EdgeSwitch
…
IOC
24-port
Switch
IOC
Private
Network
Switch
…
…
PS
Front Vacuum
End
Core Switch
…
PS
48-port
Switch
…
EdgeSwitch
…
IOC
24-port
Switch
Private
Network
Switch
…
PS
CA Gateway
PS
…
PS
CA Gateway
BL Control
Front Vacuum
End
IOC
BL Control
Front Vacuum
End
CIA-01, CIA-24, … CIA-15, CIA-14
…
8
Network Layout for TPS Control System
NSRRC
Network
Control System
Core Switches
TPS Control System
Server & Network
Equipment Room
Router
Image IOC
SR BPM Switches
BR BPM Switches
Image Switches
SR BPM Group IOC
BR BPM Group IOC
Orbit Feedback
Optical fiber
patch Panel
From cell # N-1
To cell N+1
Timing
GigE
Vision
Camera
48-port
Switch
BPM Grouping Link
48 Ports
IOC network
172.20.x.x
Timing IOC and
CAGW
…
IOC
(cPCI)
24-port
Switch
IOC
(CPSC)
IOC
PS
PS
(CPSC)
IOC
(CPSC)
IOC
(CPSC)
Timing, power supply,
IOC
(PLC)
SRM IOC
IOC
(cPCI)
2nd floor
IOC
BPM
BPM
MPS
Timing,
Modbus/TCP
(Vacuum,Front-end)
EPICS Collaboration Meeting Fall 2012 @PAL Beamline interface
SR Corrector x 3,
temp monitor, …
Local private network
Skew Quad,
172.21.1.x ~ 172.21.24.x
BR Corrector
BPM
SR
BPM Network
172.21.26.11/12~241/242
Beamline
172.21.27.11,21,~241
network
Global private network
9
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
EPICS Collaboration Meeting Fall 2012 @PAL
10
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)
EPICS Collaboration Meeting Fall 2012 @PAL
11
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
EPICS Collaboration Meeting Fall 2012 @PAL
12
Subsystem Interface – Still in Progress (Subject to Change)
Subsystem
Control Interface
Connectivity to TPS Control Network
Responsibility
EPICS IOCs
Direct
Control team
Linac control EPICS IOC
Direct
Linac’s vendor
Timing IOC
Direct
Control team
Pulsed magnet pulsers
EPICS IOC
Direct
Control ream
Magnet power supply
EPICS IOC
Direct
Control team
Diagnostics
EPICS IOCs
Router, Grouping EPICS IOCs, (BPM has its
own private network)
Control team
RF group’s own EPICS IOCs
EPICS Gateway
RF group
EPICS IOCs (LLRF interface)
Direct
Control team
Cryogenics
Cryogenic own EPICS IOC
EPICS Gateway
Cryogenic group
Vacuum system
Vacuum group’s EPICS IOC
EPICS Gateway
Vacuum group
EPICS IOC
Direct
Control team
Front-end own’s EPICS IOC
EPICS Gateway
Front-end
Girder owns’s EPICS IOCs
EPICS Gateway
Girder system
Utility group own’s EPICS IOC
EPICS Gateway
Utility
Safety own system
EPICS Gateway
?
Beamline group own EPICS
IOCs
EPICS Gateway
Beamline and
experimental stations
Timing system
Linac
RF system
Insertion devices
Front-end
Girder system
Utility
Radiation safety
Beamline and
experimental stations
EPICS Collaboration Meeting Fall 2012 @PAL
13
Booster Main Power Supply Control Interface (Subject to Change)
EPICS IOC
ADLINK cPCI CPU
EVR (CPCI6U-EVR-300)
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
Trigger Fanout
Ramp Trigger
Trigger
BR frev clock
3 Hz
Power supplies trigger
TPS
Control
Network
EPICS IOC
ACQ164CPCI
24 bits ADC, 32 ch, GbE
Current
Waveform
Ethernet Switch
Sextupole
SD, SF PS
Current
Waveform
Booster
Booster
Booster
Dipole PS
QF PS
Q1 PS
(IE Power) (IE Power) (IE Power)
EPICS Collaboration Meeting Fall 2012 @PAL
Two Options:
Embedded waveform generator
EPICS IOC supply waveform
from MPS Interlock
Ethernet Interface:
On/Off control
Status readback
Interlock reset
Waveform download
Waveform upload
Ramp Trigger
Booster
Booster
Q2PS
QM PS
(IE Power) (IE Power)
14
Solution for External Waveform for Booster Synchrotron Dipole Power Supply
Hytec IP DAC, 18 bits (20 bits?), 16 channels,
IP-DAC-8415
(Register Mode)
Register
DC component Setting
(0 ~ 600 A ?)
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
Trigger
Logic
Waveform
Memory
EPICS Collaboration Meeting Fall 2012 @PAL
DAC
Waveform Setting
(0 ~ 1100 A ?)
15
Booster Corrector Power Supply Control Environment (12 stations)
TPS Control network
CIA 2F
cPCI EPICS IOC
48 Ports CIA Edge Switch
EPICS Access
CPU Module
EVR (CPCI6U-EVR-300)
CIA 1F
Corrector
Power Supply
Controller
(CPSC)
Trigger
EPICS IOC
20 bits DAC
24 bits ADC
Booster Correctors
16 corrector PSs/Booster Cell
2 PS sub-racks/Booster Cell
EPICS Collaboration Meeting Fall 2012 @PAL
Odd CIA
cPCI EPICS IOC
(12 sets,96 PS
modules)
±10 Amp Power Supplies
16
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
Orbit Feedback Setting
CIA 2F
(10 kHz rate)
48 Ports CIA Edge Switch
cPCI EPICS IOC
CPU Module
Corrector
Power
Supply
Controller
(CPSC)
EPICS Access
(10 Hz rate)
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
Quad (10), Sextupole (7), Dipole Control (1 or 0)
(Ethernet Interface)
EPICS Collaboration Meeting Fall 2012 @PAL
SR Slow Correctors
SR Fast Correctors
SR Skew Quads
BR Correctors
±10 Amp Power Supplies
17
Quadrupole and Sextupole Power Supplies for One Cell Prepared for Test
Sextupole PS
All quadrupole magnets and sextupole
magnets of the storage ring are powered by
independent power supply
Quadrupole PS
EPICS Collaboration Meeting Fall 2012 @PAL
18
Performance Measurement of Quadrupole Power Supply
70mA
1
A
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.
EPICS Collaboration Meeting Fall 2012 @PAL
19
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.
EPICS Collaboration Meeting Fall 2012 @PAL
20
20 uV step change observation at DVM
Current (mA)
1998.8
1998.7
1998.5
40
Current (mA)
DVM CH1: reading
1998.6
50
60
70
80
90
100
110
120
1999.7
2000.58
1999.6
2000.57
2000.56
1999.5
DVM CH2: reading
1999.4
40
50
60
70
80
90
2000.55
100
110
120 2000.54
2000.53
Current (mA)
2000.6
2000.52
2000.5
2000.51
2000.4
DVM CH3: reading
2000.5
2000.3
40
50
60
70
80
90
100
110
120 2000.49
70
1999.9
Current (mA)
19 bit (20 bits – 1 sign bit)
performance achieve!
75
80
85
90
95
1999.8
DVM CH6: reading
1999.7
1999.6
40
50
60
70
80
Time (sec)
EPICS Collaboration Meeting Fall 2012 @PAL
90
100
110
120
21
External
Clock
Input
Internal 10 kHz Clock Generator
Up to 10 kHz Fast Setting Clock)
DO (LEMO connector, for timing measurement), Trigger out, Package received
Fast
Setting Buffers
SFP Port
Setting
Ethernet Interface
Ports (GbE,
Rx
(Hardware
UDP Stack)
UDP/IP),
Tx
Through
Heartbeat Register
Port
Fast
Rx
AURORA
Setting Port,
Through
Tx
Heartbeat Register
Port
(AURORA)
Sequencer
~8 x 64 k x 32 bit
Trigger (3 Hz)
Waveform Memory
Data Acquisition 10 kHz clock
Slow Setting
Trigger input
Buffer
Slow Trigger
4 ways, 8 Ch, 20 bit DAC
8 ch adder
+
Precise
digital
temperature
sensors
(on demand, may not necessary)
Control and Status Registers
Slow Access (~ 10 Hz)
Gigabit
Ethernet
Individual
Channel
Enable/Disable?
10 kHz rate
waveform
10 Hz rate data
Single Board Computer
(Linux, EPICS IOC)
96 pin
DIN61412
Connectors x 2
8 ch, 24 bit ADC
(10 kHz Sampling)
Waveform Memory
Free running
Or Pre/Post Trigger
24 ch, 16 bit ADC
Slow Access
(~ 10 Hz)
Control and
Status Registers
EPICS Collaboration Meeting Fall 2012 @PAL
Status Registers
8 bit DI
Write Registers
8 bit DO
+/- 15 V
+5V
22
Ambient Temperature Effects
50 mA/div
-1000.55
DVM ch1  =0.015087 mA
mA
-1000.6
-1000.65
DVM Measurement
-1000.7
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
4
x 10
mA
-999.4
-999.42
-999.44
-999.46
DVM ch2  =0.0029109 mA
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
4
x 10
mA
-999.3
DVM ch3  =0.0057079 mA
-999.35
-999.4
-999.45
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
4
x 10
mA
-999.28
DVM ch4  =0.0070323 mA
-999.3
-999.32
-999.34
0
0.5
1
1.5
2
2.5
Time (sec)
3
3.5
4
4.5
4
x 10
Temperature of PS module
Temp ch1  =0.4331 degree C
30
29
31
30
28
27
1oC/div
29
0
1
2
3
4
5
28
Temp ch2  =0.44406 degree C
0
1
2
3
4
4
x 10
30
32
29
31
28
30
Temp ch3  =0.41642 degree C
27
0
1
2
3
4
5
29
Temp ch4  =0.41911 degree C
0
1
2
3
4
4
x 10
32
32
30
30
5
4
x 10
34
28
Temp ch5  =0.43215 degree C
28
5
4
x 10
0
1
2
3
Temp ch6  =0.43551 degree C
4
5
26
0
1
2
3
4
4
30
5
4
x 10
x 10
32
Temp ch8  =0.48194 degree C
29
30
28
Temp ch7  =0.46221 degree C
27
0
1
2
3
4
5
4
x 10
EPICS Collaboration Meeting Fall 2012 @PAL
28
0
1
2
3
Time (sec)
4
5
4
x 10
23
Pulse Magnets’ Pulser Control Interface
Timing Network
TPS Control Ethernet
Pulse Magnet PS
Timing EPICS IOC
Booster injection septum
x1
Booster injection kicker
x1
Booster extraction septum
x1
Booster extraction kicker
x2
Storage ring injection septum x 1
Storage ring injection kicker x 4
Storage ring pinger
x2
CompactPCI
(Linux)
Pulse Magnet PS Control EPICS IOC
PLC-IOC
Kicker #1
Pulser
PLC-IOC
Kicker #4
Pulser
EPICS Collaboration Meeting Fall 2012 @PAL
cPCI CPU board
Event Receiver
cPCI-EVR-300
Electrical/Optical Fanout
PLC-IOC
Pulse Magnet PS
Wavefrom EPICS
IOC
Ethernet Switch
Scopes
Septum
Power
Supplies
24
Pulse Magnets’ Power Supply Control Interface – cont.
Pulse magnets
pulser control EPICS IOCs
Booster injection septum
x1
Booster injection kicker
x1
Booster extraction septum x 1
Booster extraction kicker
x2
Storage ring injection septum x 1
Storage ring injection kicker x 4
Storage ring pinger
x2
Waveform
Acquisition
EPICS Collaboration Meeting Fall 2012 @PAL
Timing
25
Insertion Devices Control – Hardware Environment
EPICS
Gateway
TPS Control Ethernet
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
MOXA N-Port
RS-232/422/485
Serial Device Servers
cPCI CPU board
128 Bits DI/DI
POE
Ethernet Switch
200 update/sec
RS-232/422/485 Based
Devices
Limit
Switches
IP DAC
IP ADC
16 channels, 18 bits 16 channels, 24 bits
ICPDAS
RTD/TC
(POE)
Galil DM-404x
Motion Controller
Beamline
monochromator
synchronization
link ?
Beamline control
system
Local Compensation
Interlock
Logic
Encoder Signals
(SSI/Incremental) to
Beamline
“On-the-fly” support
Wiring Adapter
Motor Drivers
(Stepper or Servo)
EPICS Collaboration Meeting Fall 2012 @PAL
Encoders
(SSI,
Incremental)
Temperature
RTD/TC
Vacuum
Ion-Pump,
BA Gauge
Power
Supplies
26
TPS Insertion Devices Control Environment
On-the-fly scan enable
EPICS CA access
U50 gap information ~ up to 200 Hz rate
To beamline
(CaLib, caget, camonitor, …etc)
Gateway, router
GUI clients,
Global compensation clients
(orbit, coupling, tune, …etc.)
Computers
Encoder
interface
(SSI read only
and/or
quadrature
signals)
Gap/Phase
information
EPICS IOC
Status update
every 5 msec
AO
Motion Controller
Optical encoders
EPICS Collaboration Meeting Fall 2012 @PAL
AI
Setting update
every 5 msec
DO
DI
Local compensation
power supplies
27
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
EPICS Collaboration Meeting Fall 2012 @PAL
28
Storage Ring RF System Interface
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
(@ RF #2 & RF# 3, total 2 sets)
TPS Control Network
172.20.xx.yy
172.20.15.40
EPICS Gateway
EPICS IOC (172.20.15.41, 172.20.17.41)
EVR (CPCI6U-EVR-300)
RF Network
128 Bits DI/DO
Timing Network
64 Channels ADC (172.20.15.42 , 172.20.17.42)
IP Carrier
BRF #1
SRF #1
SRF #2
SRF #3
Landau Cavity
CIA #12
(RF #1) CIA #14
(RF #2) CIA #15
(RF #3) CIA #17
(RF #4) CIA #18
16 channels, 18 bits
IP-DAC-8415
EPICS IOC (ACQ196)
EPICS IOC (ACQ196)
EPICS IOC (ACQ196)
EPICS IOC (ACQ196)
EPICS IOC
Transmitter
ACQ196 (transition, non-EPICS)
Siemens S7-300 PLC
(Thales)
Trigger
Cryogenic
Electronics
RF Group
Storage ring RF system
LLRF
EPICS Collaboration Meeting Fall 2012 @PAL
RF
Transmitter
(Thales)
29
Vacuum System、Front-end system、Beamline Control System Interface
1. Readback via EPICA gateway:
Vacuum gauge reading
IP current
Front-end
Gate valve information
Various status (pressure、temperature、flow rate、…) Beamline N-1 front-end
PAC cRIO Controler + ADAM 5000
2. Setting: => further discussion is needed
Beamline enable
Gate valve On/Off Coontrol
Missing items …
Beamline
Beamline N-1 Control System &
End-station
Accelerator Control System
Timing, EPICS Gateway
EPICS CA
Channel
Front-end Network
Cell N-1 Vacuum Control
PAC cRIO Controller + ADAM 5000
Vacuum Network
Cell N Vacuum Control
PAC cRIO Controller + ADAM 5000
Storage Ring
Cell N+1 Vacuum Control
PAC cRIO Conmtroller + ADAM 5000
Abort Beam Request
Hardwired (handshake)
Vacuum System PC
(1 or more)
Vacuum System PC
Windows+
(1 or more)
LabView+
Windows+
EPICS IOC
LabView+
1~2 update/sec
EPICS IOC
EPICS Collaboration Meeting Fall 2012 @PAL
Accelerator Control System
Machine Protection System
Accelerator
Control System
EPICS gateway(s)
TPS Control Network
172.20.xx.xx
30
Machine Protection System Network
TPS Accelerators
24 Control Instrument Areas
BL
Front-end
cell #N+1
Vacuum
Orbit Interlock
Interlock
Signals
Input
Circuitry
(Contact,
Voltage,
Opencollector)
Event System
cell #N-1
RF
PS
Fibre
Link
SLOW
PLC Remote I/O
FAST
Event Receiver
Output
Circuitry
(Contact,
Voltage)
Actuators
Transient Capture
EPICS IOC
TPS
Control Network
Post-mortem Diagnostics
EPICS Collaboration Meeting Fall 2012 @PAL
31
Machine Protection System Test
Slow MPS test bed
(8 msec response time guarantee)
EVG
Fast MPS test bed
2
MPS-Trip Out
EVR1
5 m(fiber)
FOUT-CT
(5 msec response time guarantee)
MPS-Trip
(Decode Uplink Event)
Delay of uplink:2.45 μs
Delay of uplink and downlink:4.42 μs
10 m(fiber)
FOUT-CT
Uplink
MPS-Trip In
310 m
(fiber)
1
MPS-Trip Out (EVR1)
MPS-Trip Out (EVR2)
< 5 μs response time
2
3
FOUT-CT
10 m(fiber)
3
EVR2
1
MPS-Trip In
Out
EPICS Collaboration Meeting Fall 2012 MPS-Trip
@PAL
32
GUI Development – TPS Launching Main page (EDM based)
EPICS Collaboration Meeting Fall 2012 @PAL
33
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
EPICS Collaboration Meeting Fall 2012 @PAL
34
GUI Development (EDM based) – cont.
TPS Timing Hardware Configuration Page
EPICS Collaboration Meeting Fall 2012 @PAL
TPS Timing Summary Page
35
GUI Development Conceptual RF Control Main Pages and Vacuum Pressure Distribution
Booster
Storage Ring
Booster
Storage Ring
EPICS Collaboration Meeting Fall 2012 @PAL
36
GUI Development – Matlab Based Screen Monitor Data Analysis
EPICS Collaboration Meeting Fall 2012 @PAL
37
GUI Development - CSS – BOY based
Chroma Sextupole PS Control Page
Windows Version
EPICS Collaboration Meeting Fall 2012 @PAL
Linux Version
38
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
EPICS Collaboration Meeting Fall 2012 @PAL
39
Archiver/Browser Solution
(Ready at 3th Quarter of 2012)
DataBrowser
(Historic Data, Live Data)
2012 Ready
Config.xml
CSS Based OPI
ArchiveConfigTool
PostgreSQL
Configure
SAN Storage
EMC VNX5300
+
Enterprise DB
(PostgreSQL)
EPICS Collaboration Meeting Fall 2012 @PAL
Other tools for
configure &
access: Java,
C/C++, Matlab,
Labview, …
Samples
Archive Engine
EPICS IOCs
40
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
EPICS Collaboration Meeting Fall 2012 @PAL
Simulated
Page
41
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, ….
EPICS Collaboration Meeting Fall 2012 @PAL
42
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
….
EPICS Collaboration Meeting Fall 2012 @PAL
43
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.
EPICS Collaboration Meeting Fall 2012 @PAL
44
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
….
EPICS Collaboration Meeting Fall 2012 @PAL
45
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.
EPICS Collaboration Meeting Fall 2012 @PAL
46
TLS
TPS
Thanks for your attention!
EPICS Collaboration Meeting Fall 2012 @PAL
47
• 國家同步輻射研究中心-營建小組 100.6.29
EPICS Collaboration Meeting Fall 2012 @PAL
48
• 國家同步輻射研究中心-營建小組 100.6.29
EPICS Collaboration Meeting Fall 2012 @PAL
49