SLC-Aware IOC LCLS Collaboration Jan 26, 2005 Introduction Functional Data Flow Basic Services – Design Block Diagrams Issues Progress Plans for 2005 January 26, 2005 SLC-Aware IOC Stephanie Allison [email protected].
Download
Report
Transcript SLC-Aware IOC LCLS Collaboration Jan 26, 2005 Introduction Functional Data Flow Basic Services – Design Block Diagrams Issues Progress Plans for 2005 January 26, 2005 SLC-Aware IOC Stephanie Allison [email protected].
SLC-Aware IOC
LCLS Collaboration
Jan 26, 2005
Introduction
Functional Data Flow
Basic Services – Design Block Diagrams
Issues
Progress
Plans for 2005
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
Integration with the SLC Control System
SLC
Alpha
All High
Level CAS
Apps
Xterm
Xterm
Xterm
Xterm
CA Gateway
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 over Ethernet (Data Transfer)
PNet (Pulse ID / User ID)
CA over Ethernet
(EPICS Protocol)
MPG
micro
CAMAC
I/O
P Micro
E
N emulator I/OC
V
E (SLC-aware)
G
T
Micro
emulator
I/OC
(SLC-aware)
Fast Feedback over Ethernet
RF reference clock
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
Introduction: SLC-Aware IOC
Provides data to SLC Apps from EPICS on demand and
periodically
SLC
Alpha
Apps
Xterm
Xterm
Xterm
Xterm
Performs requests by SLC Apps by updating EPICS
Messages over Ethernet no greater than 10 Hz
Requires significant development in the IOC to emulate SLC
“micro” in the IOC
Used by non-LCLS projects too
SLC-Net over Ethernet
IOC
C
P
U
E E
HPRF
V V LLRF
I/O
G R
Boards
January 26, 2005
SLC-Aware IOC
IOC
C
P
U
E
V
R
Diag
IOC
C
P
U
E Pwr
V Supply
R Ctrl
Stephanie Allison
[email protected]
C
P Vacuum
U Ctrl
SLC IOC – What it Will Do
Receive SLC messages and act on them in the same way
as existing SLC micros for the following functions:
BPM-Like Data Acquisition (Gated ADCs) – beam synchronous
Magnet-Like Control and Readback (All Controlled Devices)
PNET Timing Diagnostics
Maintain its part of the VMS SLC database:
Receive the entire SLC database at initialization time
Receive new setpoints at any time from the Alpha
Send readbacks back to the Alpha on request and periodically
Send setpoint changes made by external EPICS applications to the
Alpha
Goal – same amount of network traffic as SLC micros
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
SLC IOC – What it Won’t Do
MPS
BITBUS Power Supply Control
KISNET Communication
Micro-to-Micro Communication via Alpha
SLC-style Analog Signal Monitoring
SLC-style Digital Input/Output
SLC-style Error Logging (use CMLOG instead)
SLC-style Klystron Interface
SLC-style Video Interface
SLC-style Timing Interface (except PNET diagnostics)
Direct Hardware Access (and no support for “virtual CAMAC” commands)
Debugging from VMS
SLC-Style Fast Feedback Interface
Keep static data in the EPICS and SLC database up-to-date
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
SLC Executive Design Block Diagram by Diane Fairley
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
Message Service Design Block Diagram by Diane Fairley
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
Database Service Design Block Diagram by Debbie Rogind
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
IOC CMLOG Design Block Diagram by James Silva
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
SLC IOC Issues So Far
Endian – VMS to/from any possible EPICS platform (64 bit processors
NOT supported)
Memory – LCLS CPUs that support SLC-aware IOC should plan on
>=256MB
Restart SLC tasks without restarting the IOC
Detail diagnostics needed via the IOC shell, a subset via CA
Keeping the EPICS and SLC database in-sync – 2 master problem
Max number of “micros” in the SLC control system may need to be
increased
Possible need for a second proxy in the SLC production control system
Outside the scope of the SLC-Aware IOC:
Changes to VMS SLC control system to support LCLS high-level apps (i.e.
modeling)
Changes to the VMS CA server to support any new LCLS requirements
SLC database generation
Tool to provide for consistent SLC and EPICS databases
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
SLC-Aware IOC Progress
Team in place:
LCLS Controls: Stephanie Allison, Kristi Luchini, Consultants
ESD Software: Diane Farley, Debbie Rogind, Ron MacKenzie, James Silva,
Consultants
Weekly meetings, working web page and task list in place
Basic Services:
Executive, Message, Database, CMLOG Services – Func reqts and design finished
and reviewed with only minor mods left to reflect as-built. Implementation and test in
final phase (2.5 full-time)
Async Utilities and Periodic “Micro” Health Update – Func reqts and design started (1
full-time)
Changes to VMS Programs – done by ESD, new type of “micro” added
Coding standards in place, adopted by all LCLS controls
Development environment in place, shared setup scripts
Application Services:
Device Control and Readback (Magnet) – Func reqts started (1 part-time)
PNET Timing Diagnostics – Func reqts started (1 part-time)
Gated ADC Acquisition (BPM) – no significant progress
Changes to VMS Programs – not yet defined
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
SLC IOC Plans for 2005
Func Reqts Reviews:
Async Utilities and Periodic Health Update – Early Feb
Device Control and Readback – Mid Feb?
PNET Timing Diags – Late Feb
Gated ADC Acq - March
Design Reviews:
Async Utilities and Periodic Health Update – Mid Feb
Device Control and Readback – Late Feb
PNET Timing Diags – March
Gated ADC Acq - April
Implementation:
Basic services – April
Start RTEMS and Linux testing – April or sooner
Device Control and Readback – May
PNET Timing Diags – May
Gated ADC Acq - June
Fully operational prototype by Oct 2005
Ready for first beam in LINAC by May 2007
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
Reference Slides Follow
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
Timing
Nsec resolution on the timing gates produced from the Event Receiver
476 MHz RF 50 psec jitter pulse to pulse
PNET module gets beam code data from Master Pattern Generator
Reference
Beam code data transferred to Event Generator
Event generator sends events to receivers including:
360 Hz, 120 Hz, 10 Hz and 1 Hz fiducials
SLC
MPG
last beam pulse OK
micro
Machine mode
FIDO
EPICS time stamp
Event receivers produce to the IOC
119 MHz w/
interrupts on events
360 Hz fiducial
data from the event generator in registers
128 bit beam
16 triggers with configurable delay and width
code
@ 360 Hz
IOC
C P
E E
P N
V V
U E
G R
T
L
L
R
F
IOC
C
P
U
16 triggers
Drive
Laser
Off
E
V
R
IOC
Diag
C
P
U
E Power
V Supply
R Ctrl
16 triggers
Machine Protection
Beam Code + EPICS Time + EPICS Events
January 26, 2005
SLC-Aware IOC
Stephanie Allison
[email protected]
C
P Vacuum
U
Ctrl