LCLS Controls and Data Acquisition September 23, 2004 Outline Control System Architecture Control System Delivery Schedule for commissioning High level applications (including data acquisition) Areas of concern September.

Download Report

Transcript LCLS Controls and Data Acquisition September 23, 2004 Outline Control System Architecture Control System Delivery Schedule for commissioning High level applications (including data acquisition) Areas of concern September.

LCLS
Controls and Data Acquisition
September 23, 2004
Outline
Control System Architecture
Control System Delivery Schedule for commissioning
High level applications (including data acquisition)
Areas of concern
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Introduction
Control system will evolve with machine needs
Control system commissioning needs to be
incorporated in the schedule
Need to prioritize control system needs
Which devices need to be read/controlled
Which application packages
How much automation needed in a measurement
Flexibility to adopt applications from SLC and
other labs
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Integration with the SLC Control System
SLC
Alpha
All High
Level
Apps
Xterm
Xterm
Xterm
Xterm
EPICS
EPICS
EPICS
W/S
EPICSWS
W/S
EPICS
W/S
Distributed
W/S
Distributed
Distributed
Distributed
Applications
Distributed
Applications
High Level
Applications
Applications
Applications
SLC Net (Data Communication)
KISNet (fast closed loop control data)
PNet (Pulse ID / User ID)
MPG
Ethernet (EPICS Protocol)
micro
RF reference clock
Camac
I/O
E
V
G
P
N
E
T
R
C
V
R
Micro
emulator
I/OC
(SLC-aware)
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Design Provides:
SLC Data available to EPICS
EPICS data available to SLC
PNET timing info into EPICS
Dayle Kotturi
[email protected]
Global Buses Meet LCLS Requirements
SLC
Alpha
Apps
EPICS
EPICS
EPICS
W/S
EPICSWS
W/S
EPICS
W/S
Distributed
W/S
Distributed
Distributed
Distributed
Applications
Distributed
Applications
High Level
Applications
Applications
Applications
Xterm
Xterm
Xterm
Xterm
Fast Feedback
SLC-Net over Ethernet
Channel Access over Ethernet
IOC
C
E
P
V
U
G
P
N
E
T
R
C
V
R
HPRF
E
I/O
V LLRF
Boards
R
IOC
C
P
U
E
V
R
Diag
16 triggers
Drive
Laser
Off
IOC
C
P
U
E Power
V Supply
R Ctrl
IOC
16 triggers
Single
Bunch
Beam
Dumper
Machine Protection
Beam Code + EPICS Time + EPICS Events
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
C
P Vacuum
U
Ctrl
Dayle Kotturi
[email protected]
Delivery Schedule 2006
May
August
RF Conditioning start – injector
Timing
LLRF
Vacuum
Gateway operational from SLC to EPICS
Data Archiving
RF Automatic Conditioning of Cavities?
Personnel Protection – Injector Area
First UV on cathode
Power Supply Control
BPMs and Profile Monitors
Machine Protection System (To laser)
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Delivery Schedule 2007
May
First Beam on Linac Axis
SLC high level applications (SLC-aware IOC)
Wire Scanners
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Delivery Schedule 2008
June
Start Undulator Commissioning
Fast Feedback
Personnel Protection – LTU and Undulator Area
Machine Protection System (To kicker and laser)
What tools are needed for X-ray Transport?
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
High Level Applications
The controls software used by physicists and
accelerator operators to:
will be EPICS control panels (edm)
keep the beam running stably in the optimized
state
tune or optimize the beam
monitor performance for long-term optimization
diagnose problems with machine performance
detect, prioritize and notify of fault conditions
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
High Level Applications
Generic diagnostic packages
Beam orbit display
Wire scanner user interface
Profile monitor user interface
Generic tuning packages
Multiknob facility
Deterministic correlation plot package
Buffered data acquisition
Specialist tuning packages
Transverse emittance reconstruction
Beta matching
Bunch length measurement
Slice emittance measurement
Beam line online modeling
Power steering
Linac energy management
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
High Level Applications
Related software
Fast feedback system
Configuration control (needs RDB)
Data archiver – enhanced version of the history plot
package
Archive data viewer – 1 access to data from any
archive
Error logging
Alarm handling - watchdog facility to scan and
determine severity of out-of-tolerance devices.
Image analysis and fitting package
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Closer look at data archiver
3 types of data to archive
signals from BPM and other gated devices (N scalers with
timestamp). N=160 BPMs*3 + 9 toroids + 19 wire scanner readout
devices + other devices (beam loss monitors and ion chambers)
video data (15 frames/sec of 1 Mpixel data), 1 camera at a time
machine parameters and ambient conditions (10K channels with
timestamp, once a minute)
What is needed here?
160 BPMs synchronously at some rate? Forever. 1Hz, 10Hz, 20 Hz?
What about archive viewing?
Any need to keep circular buffers and trigger them on some event?
Like an MPS trip?
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Areas of Concern 1
Matlab vs XAL
Matlab is needed for physicists to create on-thefly applications. Direct access to control system
parameters with time stamps will be provided.
Which operator applications might be done in
Matlab or XAL? Who should participate in the
decision? When do we need to decide?
Chris Allen (LANL) giving presentation
“Automated Charged Particle Beam Steering”
(XAL) Thurs. Sept.30, 2-4 p.m. SSRL 3rd floor
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Areas of Concern 2
What are we using for a relational database
(RDB)?
Needed for configuration control and online
modeling
We are late getting started on this
There is still no money to start it
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Areas of Concern 3
The Control System needs time for
Commissioning!!
Make subsystem schedules with time for this
Provide support for operating the equipment to
ensure proper operation through the control
system.
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Conclusions
The control system architecture supports the requirements.
Information is needed from the project regarding the dates
the equipment is required.
To support commissioning tools, we must get some
resources to support RDB and determine a platform for
these tools.
Information is needed to ensure that data acquisition
system supports the requirements
Subsystem engineers must include time to commission the
control system.
Information is needed from the physicists regarding what
tuning scenarios they will need so that the appropriate
application software is avail (e.g slice emittance msmt).
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Timing
Nsec resolution on the timing gates produced from the Event Rcvr
20 psec jitter pulse to pulse
Event generator passes along beam code data from SLC
Event generator sends events to receivers including:
360 Hz, 120 Hz, 10 Hz and 1 Hz fiducials (per subsys)
last beam pulse OK
Machine mode
EPICS time stamp
Event receivers produce to the IOC
interrupts on events
data from the event generator in registers
16 triggers with configurable delay and width
476 MHz RF Reference
SLC
micro
Master
Pattern
Generator
128 bit beam
code
@ 360 Hz
FIDO
119 MHz w/
360 Hz fiducial
P
IOC
N
C
EE E
HPRF
P
T
V R V LLRF
I/O
U
C
GV R
Boards
IOC
C
P
U
E
V
R
IOC
Diag
C
P
U
E Power
V Supply
R Ctrl
C
P Vacuum
U
Ctrl
R
16 triggers
Drive
Laser
Off
16 triggers
Single
Bunch
Beam
Dumper
Machine Protection
Beam Code + EPICS Time + EPICS Events
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
SLC Net “Micro” Communication
Provides data to SLC Applications from EPICS
Xterm
Xterm
Xterm
Xterm
SLC
Alpha
Apps
Operates at 10 Hz (not beam synched)
Requires significant development in the IOC to emulate SLC “micro” in the IOC
On an application by application basis we will evaluate what functions to provide
LIST HERE WHAT IS ON?NOT ON THE LIST?
SLC-Net over Ethernet
IOC
C
E
P
V
U
G
P
N
E
T
R
C
V
R
HPRF
E
I/O
V LLRF
Boards
R
IOC
C
P
U
E
V
R
Diag
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
IOC
C
P
U
E Power
V Supply
R Ctrl
IOC
Dayle Kotturi
[email protected]
C
P Vacuum
U
Ctrl
Channel Access
SLC
Alpha
Apps
EPICS
EPICS
EPICSWS
W/S
EPICS
W/S
W/S
Distributed
Distributed
Distributed
Distributed
Applications
High Level
Applications
Applications
Applications
Xterm
Xterm
Xterm
Xterm
Channel Access
P
IOC
N
C
EE E
P
T
V R V LLRF
U
G VC R
HPRF
I/O
Boards
IOC
C
P
U
E
V
R
Diag
IOC
C
P
U
E Power
V Supply
R Ctrl
IOC
C
P Vacuum
U
Ctrl
R
A channel access server in SLC provides data from existing SLC micros to EPICS applications
All IOCs have both a channel access server to allow access and a client to have access
Channel access provides read/write by all clients to all data with a server.
All EPICS high level applications are channel access clients that may or may not have a server.
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Global Communication
Fast feedback is required to run at 120 Hz
Values will be transmitted from RF and selected diagnostics to Power Supply and RF IOCs
The communication needs to be reliable, verifiable, and have a well thought out degradation
The entire time budget to read, transmit, commute, control, and settle is 8.3 msec
First estimates are that the control system can use 2 msecs to transmit and receive the data
Can this be done over a common Ethernet with adequate bandwidth
– or is a dedicated one needed?
Fast Feedback
IOC
C
E
P
V
U
G
P
N
E
T
R
C
V
R
E
HPRF
V LLRF
I/O
R
Boards
IOC
C
P
U
E
V
R
Diag
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
IOC
C
P
U
E Power
V Supply
R Ctrl
Dayle Kotturi
[email protected]
C
P Vacuum
U Ctrl
Machine Protection
Machine protection is used here to define faults requiring global mitigation
Response time is under 8 msec
There are two mitigation devices:
Single Beam Dumper - which prohibits the beam from entering the undulator
Drive Laser Off – which prohibits beam from entering the cavity
Action must also be taken to reduce the repetition rate of the beam
This new design is required to interrupt the beam before the next beam pulse.
P
IOC
N
C
EE E
P
T
V R V LLRF
U
G VC R
HPRF
I/O
Boards
IOC
C
P
U
E
V
R
Diag
IOC
C
P
U
E
Par
V Supply
R Ctrl
IOC
C
P Vacuum
U Ctrl
R
Drive
Laser
Off
Single
Beam
Dumper
Machine Protection
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
Controls Commissioning in WBS
Global Controls Commissioning
RF Conditioning Controls Commissioning
16,045
8/10/2006
10/12/2006
SL_CP
Hrs
315
RF Gun Ops with Beam-Controls Comissioning-A
3/9/2007
6/8/2007
SL_CP
Hrs
455
RF Gun Ops with Beam-Controls Comissioning-B
3/9/2007
3/28/2007
SL_CP
Hrs
98
L0-1&L0-2 Controls Commissioning
3/29/2007
6/28/2007
SL_CP
Hrs
455
L0&SAB Controls Commissioning
4/24/2007
5/25/2007
SL_CP
Hrs
520
DL1 Controls Commissioning
4/11/2007
5/18/2007
SL_CP
Hrs
520
Injector Controls Optimization Commissioning
10/2/2007
9/25/2008
SL_CP
Hrs
4,220
L1-BC1 Controls Commissioning
10/16/2006
11/22/2006
SL_CP
Hrs
320
L1-BC1 Controls Commissioning
10/16/2006
11/22/2006
SL_CE
Hrs
120
L2-BC2-L3 Controls Commissioning
9/17/2007
11/2/2007
SL_CP
Hrs
480
L2-BC2-L3 Controls Commissioning
9/17/2007
11/2/2007
SL_CE
Hrs
200
LTU + Dump Controls Commissioning
6/28/2007
8/21/2007
SL_CP
Hrs
320
LTU + Dump Controls Commissioning
6/28/2007
8/21/2007
SL_CE
Hrs
160
Linac Controls Optimization Commissioning
10/2/2007
9/25/2008
SL_CP
Hrs
6,926
Controls Commissioning
10/3/2006
8/2/2007
SL_CP
Hrs
440
Controls Commissioning
10/3/2006
8/2/2007
SL_CE
Hrs
496
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]
SLC Micro Software Architecture
SLC Alpha
Users
SLC
Micro n Database
Errlog
SCP
SCP
SCP
Error Server
DBEX Server
TCP/IP
SLC Linux Proxy
Replies
Requests
SLC Micro n
TCP/IP
MSG Main
Error Hndlr
DB Main
Msg
Q Q
Msg
Msg Q1
…
DB Msgs
Micro n
Func1 Main
Func* Main
Func* Main
CAMAC Modules
September 23, 2004
LCLS Diagnostics and Commissioning Workshop
Dayle Kotturi
[email protected]