dayle kotturi lcls diagnostics and commissioning workshop [email protected] september 23, 2004...

22
Dayle Kotturi LCLS Diagnostics and Commissioning Workshop [email protected]. edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004 Control System Architecture Control System Delivery Schedule for commissioning High level applications (including data acquisition) Areas of concern Outli ne

Post on 21-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

LCLS Controls and Data Acquisition

September 23, 2004

Control System Architecture

Control System Delivery Schedule for commissioning

High level applications (including data acquisition)

Areas of concern

Outline

Page 2: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

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

Page 3: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Integration with the SLC Control System

SLCAlpha

All HighLevelApps

KISNet (fast closed loop control data)PNet (Pulse ID / User ID)

MPG

SLC Net (Data Communication)

micro

CamacI/O

RF reference clock

XtermXtermXtermXterm

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICS WSDistributedHigh Level

Applications

Ethernet (EPICS Protocol)

I/OC(SLC-aware)

EVG

Microemulator

Design Provides:SLC Data available to EPICSEPICS data available to SLCPNET timing info into EPICS

PNETRCVR

Page 4: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Global Buses Meet LCLS Requirements

CPU

EVG

Beam Code + EPICS Time + EPICS Events

LLRF

16 triggers

CPU

EVR

Diag

16 triggers

IOC IOCEVR

HPRFI/O

Boards

CPU

EVR

PowerSupply

Ctrl

IOC

Channel Access over Ethernet

SLCAlphaApps

XtermXtermXtermXterm

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICS WSDistributedHigh Level

Applications

CPU

VacuumCtrl

SLC-Net over Ethernet

Fast Feedback

Machine Protection

DriveLaserOff

Single Bunch Beam

Dumper

IOCPNETRCVR

Page 5: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Delivery Schedule 2006

May RF Conditioning start – injector Timing LLRF Vacuum Gateway operational from SLC to EPICS Data Archiving RF Automatic Conditioning of Cavities? Personnel Protection – Injector Area

August First UV on cathode

Power Supply Control BPMs and Profile Monitors Machine Protection System (To laser)

Page 6: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Delivery Schedule 2007

May First Beam on Linac Axis SLC high level applications (SLC-aware IOC) Wire Scanners

Page 7: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

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?

Page 8: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

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

Page 9: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Generic diagnostic packagesBeam orbit displayWire scanner user interfaceProfile monitor user interface

Generic tuning packagesMultiknob facilityDeterministic correlation plot packageBuffered data acquisition

Specialist tuning packagesTransverse emittance reconstructionBeta matchingBunch length measurementSlice emittance measurement

Beam line online modelingPower steering Linac energy management

High Level Applications

Page 10: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Related softwareFast feedback systemConfiguration control (needs RDB)Data archiver – enhanced version of the history plot

packageArchive data viewer – 1 access to data from any

archiveError loggingAlarm handling - watchdog facility to scan and

determine severity of out-of-tolerance devices. Image analysis and fitting package

High Level Applications

Page 11: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Closer look at data archiver3 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?

Page 12: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Areas of Concern 1

Matlab vs XALMatlab is needed for physicists to create on-the-fly 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

Page 13: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

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

Page 14: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

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.

Page 15: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

ConclusionsThe 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).

Page 16: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Timing

CPU

EVG

Beam Code + EPICS Time + EPICS Events

LLRF

16 triggers

CPU

EVR

Diag

16 triggers

IOC IOCEVR

HPRFI/O

Boards

CPU

EVR

PowerSupply

Ctrl

IOC CPU

VacuumCtrl

Machine ProtectionDriveLaserOff

SLC micro

476 MHz RF Reference

Master PatternGenerator128 bit beam code@ 360 Hz

FIDO119 MHz w/ 360 Hz fiducial

Nsec resolution on the timing gates produced from the Event Rcvr20 psec jitter pulse to pulseEvent generator passes along beam code data from SLCEvent generator sends events to receivers including:

360 Hz, 120 Hz, 10 Hz and 1 Hz fiducials (per subsys)last beam pulse OKMachine modeEPICS time stamp

Event receivers produce to the IOCinterrupts on eventsdata from the event generator in registers16 triggers with configurable delay and width

Single Bunch Beam

Dumper

PNETRCVR

Page 17: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

SLC Net “Micro” Communication

CPU LLRF

CPU

EVR

DiagIOC IOCE

VR

HPRFI/O

Boards

CPU

EVR

PowerSupply

Ctrl

IOC

SLCAlphaApps

XtermXtermXtermXterm

CPU

VacuumCtrl

SLC-Net over Ethernet

Provides data to SLC Applications from EPICS

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?

PNETRCVR

EVG

IOC

Page 18: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Channel Access

CPU

EVG

LLRF

CPU

EVR

DiagIOC IOCEVR

HPRFI/O

Boards

CPU

EVR

PowerSupply

Ctrl

IOC

Channel Access

SLCAlphaApps

XtermXtermXtermXterm

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICSW/S

DistributedApplications

EPICS WSDistributedHigh Level

Applications

CPU

VacuumCtrl

A channel access server in SLC provides data from existing SLC micros to EPICS applicationsAll IOCs have both a channel access server to allow access and a client to have accessChannel 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.

PNETRCVR

IOC

Page 19: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Global Communication

CPU

EVG

LLRF

CPU

EVR

DiagIOC IOCE

VR

HPRFI/O

Boards

CPU

EVR

PowerSupply

Ctrl

IOC CPU

VacuumCtrl

Fast Feedback

Fast feedback is required to run at 120 HzValues will be transmitted from RF and selected diagnostics to Power Supply and RF IOCsThe communication needs to be reliable, verifiable, and have a well thought out degradationThe entire time budget to read, transmit, commute, control, and settle is 8.3 msecFirst estimates are that the control system can use 2 msecs to transmit and receive the dataCan this be done over a common Ethernet with adequate bandwidth – or is a dedicated one needed?

PNETRCVR

Page 20: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Machine Protection

CPU

EVG

LLRF

CPU

EVR

DiagIOC IOCE

VR

HPRFI/O

Boards

CPU

EVR

ParSupply

Ctrl

IOC CPU

VacuumCtrl

Machine Protection

DriveLaserOff

Machine protection is used here to define faults requiring global mitigationResponse time is under 8 msecThere are two mitigation devices:

Single Beam Dumper - which prohibits the beam from entering the undulatorDrive 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.

SingleBeam

Dumper

PNETRCVR

IOC

Page 21: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

Controls Commissioning in WBS

Global Controls Commissioning 16,045

RF Conditioning Controls Commissioning 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

Page 22: Dayle Kotturi LCLS Diagnostics and Commissioning Workshop dayle@slac.stanford.edu September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004

Dayle Kotturi

LCLS Diagnostics and Commissioning Workshop [email protected]

September 23, 2004

SLC Micro Software ArchitectureSLC Alpha

DBEX Server

SLCDatabase

DB MainSLC Micro n

Micro n

SCP

SLC Linux ProxyTCP/IP

TCP/IP

Micro n

SCPSCP

MSG Main

Func* Main

Msg QMsg QMsg Q1

Func* MainFunc1 Main

CAMAC Modules

DB MsgsRequestsReplies

Error Server

Error Hndlr…

Errlog

Users