Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hamid Shoaee LCLS Facility Advisory Committee October 2006 1 Control System Overview Hamid Shoaee for the LCLS Controls Group.

Similar presentations


Presentation on theme: "Hamid Shoaee LCLS Facility Advisory Committee October 2006 1 Control System Overview Hamid Shoaee for the LCLS Controls Group."— Presentation transcript:

1 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 1 Control System Overview Hamid Shoaee for the LCLS Controls Group

2 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 2 Two Control Systems For the next few years the control system will consist of two architectures: The legacy linac/PEP-II system based on VMS, Alpha, CAMAC, Multibus (SCP) The new LCLS Controls based on EPICS, VME, etc. SCP has a rich set of applications which are essential but expensive to re-write (>1M LOC) The EPICS system is more modern which is easier to distribute over many servers, support a large variety of data acquisition hardware and is internationally supported by many sites

3 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 3 Bridge Across the Two Systems SLC-aware IOC provides a link from EPICS to the SCP system All magnet data will be available transparently through both system In addition one can acquire beam synchronous data in SCP applications from the VME/EPICS controls modules AIDA is a data transport and communication package that provides data access from any source to any destination: e.g. from SCP to MATLAB. Provides modeling data to high level applications

4 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 4 MCC, Networks, Servers, & Workstations Production Systems Delivered Networks at S20 RF Hut & MCC: physical and wireless LCLSDMZ, LCLS private, wireless MCC infrastructure built: power & racks First group of LINUX RHEL4 Servers: 2 applications, 2 EPICS archiving engines Control Room Linux Workstation – 4 (24-inch) monitor & 2 monitor configurations Control Room Stations S20 Laser Room is actively in use to commission laser Main Control Center (MCC) Control Room space is allocated, installing 3 Workstations & laptop work areas MCC Foyer: space for SUNray & laptop work areas

5

6 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 6 Control Room Infrastructure Data archiving Alarms, summary displays, Error Logs Artemis problem reporting system Operations and Physics E-logs created Cyber Security Protection Program (CSPP) Update Completed – MCC enclave included LCLS accelerator controls AIP network upgrade at MCC for gigabit traffic to support digital control room

7 Power supply racks - Injector, Sector 21 and BC1 Field test 6 new Intermediate and 96 new MCOR systems

8 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 8 Magnet Controls SW EPICS Databases HW set points, read backs, I->B, B->I conversions, limit checking Feedback - Magnet configurations: individual, magnet strings Polynomials – partially complete and in progress (P. Emma) Magnet Functions – Sequencer Perturb, Trim, Reset, PS On/Off, Standardize, Undo, Save - tested Calibration, Degauss, multi-select

9 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 9 Magnet Controls SW SLC-aware magnet control and monitor provides interface between magnet devices and the legacy control system Displays SCP – Done EPICS EDM Many control and diagnostic screens in use IN20 and LI21 in progress Magnet Power Supply API published for physicist usage

10 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 10 Magnet Control Display

11 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 11 The injector laser stabilization system includes two feedback loops The first loop includes two mirrors, each with two actuators and one camera. It stabilizes laser traveling through a 10-meter tube The second loop includes one mirror with two actuators and adjusts the laser position on the cathode. The IOC reads the image from camera, calculates the laser’s position error and applies a correction to the actuators. The loop operates @ 1 Hz, and the camera is synced to 120Hz. The prototype of the first loop has been tested for several months and works well. Injection Laser Control System

12 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 12 The first loop Actuator A1 Camera A Laser Actuator A2 Actuator B1 Actuator B2 Camera B Spiricon

13 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 13 Motion: Newport XPSC8 Motion Controller Pentium 4 PC based vxWorks powered Support up to eight motors Ethernet control interface Digital I/O and analog I/O built-in

14 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 14 Image Acquisition PULNiX TM-6710CL camera CCD:1/2” Shutter: Full Frame UV option:Yes Resolution:648x484 Progressive:Yes External Trigger:Yes Full scan:120Hz Analog Output:Yes Cameralink:Yes EDT PMC DV C-Link Cameralink compatible 32bit/66MHz PCI

15 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 15 Snapshot EDM screen of two cameras

16 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 16 OTR/YAG systems We have a total of 21 OTR/YAGs of which 14 are needed for commissioning The equipment consists of UniqVision UP900CL-12B camera EDT PMC Cameralink ® interface EDT RCX Cameralink ® /Fiber converter Profile Monitor Controller is built in SLAC to handle pneumatic, filter, lens and bulbs Acromag Digital I/O module IP445/440 are used in IOC to interface with Profile Monitor Controller.

17 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 17 Toroid/Faraday Cup We have a total 14 Toroids and 2 Faraday cups of which 6 Toroids and 2 Faraday cups are needed for commissioning Beam Charge Monitor Chassis is built in SLAC to handle signal conditioning, integration and MPS interface. Acromag IP330 ADC is used in IOC to interface with Beam Charge Monitor Chassis. Since the existing EPICS driver did not match our requirement, a brand new driver developed. 4-Channel fast ADC is built at SLAC to image dark current for FC01, FCG1 and IM01, IM02(optional).

18 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 18 Bunch Length Monitor There are 2 Bunch Length Monitors needed for commissioning BL11, BL12 The amplifier is built in SLAC to handle signal conditioning. 4-Channel fast ADC is built in SLAC to read the signal. A Solenoid Controller is built in SLAC to handle filters and pneumatic actuators. Acromag Digital I/O module IP445/440 are used in IOC to interface with Solenoid Controller.

19 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 19 Wire Scanner Detector Locations 7 Wire Scanners for Injection Commissioning Hardware Assembled, Tested (without beam), Calibrated, and currently being installed Require further testing of PMTs and Ion Chambers for acquisition of Wire data

20 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 20 Injection Wire Scanners after Assembly

21 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 21 Wire Scanner Operator Displays Scanner Control Options

22 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 22 There are 23 BPMs in the Injector area (Beam Test) 100 machine pulses Effective beam charge 0.35 nC  y = 2.5 microns

23 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 23 30 400 5  m @ 200pC Resolution vs. Charge Measured with beam in machine Tightest machine requirement: 5 micron resolution @ 200 pC Achieve 4 micron resolution @ 200 pC Resolution scales like 1/Q for the three measured bunch charges, as expected

24 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 24 Stability Test Compare 2 channels of analog front end Digitized by Echotek Clock frequency 105 MHz Signal source Rhode&Schwarz generator At 140 MHz 20 ns pulse modulation i.e. ~ 3 cycles of carrier Synchronized with Echotek trigger Analyze with “energy” algorithm sum of squares of (ADC-pedestal) Assume BPM radius of 12 mm Observe ~2 micron rms resolution ¼ full scale peak signal

25 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 25 Memorial Day Weekend Stability Test RMS 0.9 micron 7 micron peak-peak See A/C cycling in afternoons

26 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 26 High Level Applications High Level Applications required for Injector Commissioning Interface Diagram Activity since March Screen Shots Task list for the HLA group

27 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 27 Required High Level Applications Correlation Plots Buffered Acquisition Orbit Applications Multiknob Image Management Emittance, Slice Emittance, Beta Matching Energy Spread and Slice Energy Spread Bunch Length Measurement On-line model Configuration management

28 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 28 Example Procedures I.Centering laser beam on cathode: Actuators: laser beam steering mirrors SOL1 current Detectors: BPM2 X and Y position IM01 RF gun phase RF gun amplitude Laser energy diode Virtual cathode (X and Y position) a.Launch electron beam at 30 degrees relative to zero-crossing phase b.Measure beam X and Y position on BPM2 vs. SOL1 current c.Move laser beam on cathode until there is no electron beam motion at BPM2. II.Verify electron beam is on gun axis: Actuators:Gun rf amplitude Detectors:BPM2 IM01 RF gun phase RF gun amplitude Laser energy diode Virtual cathode (X and Y position) a.After completing I. above, vary amplitude of gun rf and measure electron beam X and Y position with BPM2. b.Plot BPM2 vs. RF gun amplitude to determine steering by gun rf fields.

29 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 29 Applications provided by the SCP Correlation Plots Buffered Acquisition Orbit Applications Multiknob On-line model Configuration management The slc-aware IOC allows the SLC to control and readback all new magnets, and provides beam synchronous data to Buffered Acquisition and Correlation Plots from: BPMs, BLEN, PMTs, LLRF, Faraday Cups, Toroids, some Laser devices

30 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 30 Correlations Plot An application for performing data acquisition experiments Ability to step 1 or 2 independent variables, e.g. magnet set point, RF phase, etc., while sampling hundreds of variables Ability to fit data to various models Bad data point rejection Selecting the optimum value

31 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 31 Online Model of LCLS Injector

32 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 32 Orbit Correction

33 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 33 BPM Data and Model Fit to Data

34 Archive Data Viewer

35 Archive Data Flow

36 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 36 Archive data to MATLAB VIA AIDA

37 Online Model Data Flow

38 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 38 History Correlations

39 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 39 Applications provided in MATLAB Image Management Bunch Length Measurement Emittance and Energy Application These applications are developed in MATLAB because they require an interface to wires and screens (OTRs / YAGs). The slc-aware IOC does not support the wire and screen devices; they are not available to the SLC applications.

40 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 40 Interface Diagram

41 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 41 MATLAB Programmer’s Guide Describes interface libraries that communicate with IOCs and the SLC on-line model. Gives examples for getting device data and model parameters Gives examples for monitoring devices Gives examples for controlling devices Lists and describes general use MATLAB scripts developed for LCLS.

42 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 42 MATLAB Image Management

43 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 43 MATLAB Bunch Length Measurement

44 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 44 Correlation Plots PriorityInjector Devices to be Scanned by Correlation Plots 1 Magnet settings (BDES) XCOR, YCOR, SOLN, QUAD, BEND, BTRM, LGPS 1RF phase settings (PDES?) for gun, L0a, L0b, L1, Lx, and TCAV0 1RF amplitude settings (VDES?) for gun, L0a, L0b, L1, Lx, and TCAV0 1Drive-laser x, y pointing on cathode (or feedback set-point)? 1Drive-laser oscillator ref phase 2BC1 chicane-mover setting 2BC1 collimator (CE11) jaw settings 2Feedback set-points (SETP?), if possible 2Drive-laser energy 2gun water temp set point 2Wire-scanner motion control (WS01, 02, 03, 04, 11, 12, 13)

45 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 45 Correlation Plots cont. Prio rity Injector Devices to be Sampled by Correlation Plots 1 Magnet readbacks (BACT) XCOR, YCOR, SOLN, QUAD, BEND, BTRM, LGPS 1 RF phase readings (PHAS?) for gun, L0a, L0b, L1, Lx, and TCAV0 1 RF amplitude readings (VACT?) for gun, L0a, L0b, L1, Lx, and TCAV0 1 BPM position and intensity readback (X, Y, TMIT) 1 Toroid readback (TMIT) 1 drive laser energy diode

46 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 46 LCLS Feedback Global Feedbacks required for commissioning Feedback Prototypes in MATLAB Status Feedback Diagram Screen Shots

47 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 47 Global Feedbacks for Commissioning Drive Laser Pointing (part of Laser subsystem) Bunch Charge - first one, due Mar 29, 2007 DL1 Energy, Spectrometer Energy, and BC1 Energy & Bunch Length Injector Launch Injector Transverse Deflector (part of the Bunch Length Measurement) L0 gun L3L2 X DL1BC1 BC2 DL2 L1 z1z1z1z1 1111 1111 V1V1V1V1 z2z2z2z2 2222 2222 V2V2V2V2 3333 V3V3V3V3 0000 V0V0V0V0

48 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 48 Feedback Prototypes in MATLAB Goals for MATLAB prototypes To evaluate feedback algorithms for use during commissioning We hope for a better than 1Hz feedback rate using MATLAB To learn more about the LCLS feedback requirements in order to design and implement an IOC based fast feedback subsystem in 2007.

49 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 49 Feedback Diagram

50 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 50 Feedback Prototype Status A feedback framework in MATLAB has been completed A machine simulator IOC has been completed generates data at 10Hz The three Energy feedbacks are near completion Injector Launch feedback in progress Bunch Charge not started

51 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 51 MATLAB Feedback

52 Hamid Shoaee LCLS Facility Advisory Committee hamid@slac.stanford.edu October 2006 52 Feedback EDM Display


Download ppt "Hamid Shoaee LCLS Facility Advisory Committee October 2006 1 Control System Overview Hamid Shoaee for the LCLS Controls Group."

Similar presentations


Ads by Google