# Presentation: 931641

## ILC Forum

**Controls**
**Margaret Votava**
**(To be temporarily replaced with Sharon Lackey in AD)**

## What are we working on - Globally

**Produce RDR and now EDR at the end of 2009**
**or 2010 or 2011 depending on who you talk to**
**EDR requirements are not well defined**
**Manage/conduct Global R&D plan in units called “Work Packages”. First draft done. **
**Collaboration primarily with ANL and to a lesser extent SLAC**
**Small FNAL effort for RDR/EDR. **
**Steve Wolbers (was Patty), Bakul Banerjee, Margaret Votava, Vince Pavlicek, Mark Bowden, Bill Haynes, Jim Patrick, Sharon Lackey**
**Weekly telecon meetings. **
**Consumes all FNAL FTEs paid for by the GDE**
**RDR “done” except **
**for technical notes that expand details**
**WBS type things like complete basis of estimate**
**Placeholder for other things like controls effort needed for instrumentation R&D**
**Ron/Luciano’s trip(s) to DESY and KEK for HOM BPM Testing**
**Charlie Briegel’s ATCA work for ATCA BPMs at NML**

- CD ILC Forum - Controls

## ATCA

**Advanced Telecommunications Architecture**
**Emerging Standard for High Availability Architectures**
**One of the ILC Controls Challenges. Up time of 99.999**
**Being really pushed by SLAC as part of the architecture for ILC controls.**
**Offers hot swap of boards, redundant power supplies and networking**
**Telecommunications => digital. **
**No commercial  analog boards**
**Commercial plug – ATCA workshop as part of RT conference on Sunday April, 29****th****. **
**Hardware/software tutorials**
**Talks on User Experience and **
**$80 registration**

- CD ILC Forum - Controls

## ILC Overview – from RDR

- Front End

- Middleware
- Services

- User
- Displays

- CD ILC Forum - Controls

## ILC Controls R&D

**High Availability**
**Evaluating ATCA as a standard outside of instrumentation**
**Diagnostic Interface Layer**
**Evaluation of high availability software techniques in all layers **
**Standards, standardization, quality assurance**
**Timing/feedback **
**Precision timing and RF phase distribution**
**Extensive reliance on automation and beam based feedback**
**Controls system studies**
**Conflict Avoidance**
**Fault detection and recovery**
**Scalability**
**R&D  needed to configure/control/monitor a control system as complex as the ILC. **
**Remote operations**
**Provide a framework which is supportive of remote operations R&D such as role based access. **

- CD ILC Forum - Controls

## ILC Controls Work Packages

**Encompasses FY08 and FY09 R&D Funding**
**Not much. $5.6M in FY08. Includes salaries. **
**another $4M for SCRF, but this is really FNAL money**
**Given to ART Global systems leaders on Wednesday.**
**John Carwardine (ANL) and Ray Larsen (SLAC)**
**More than just controls. Includes instrumentation, alignment**
**Work Packages – 1-2 page description**
**High Availability **
**Claude Saunders (ANL) Lead**
**Controls System Architecture **
**Claude Saunders (ANL) Lead**
**ATCA**
**Looking for FNAL work package leader Vince Pavlicek (FNAL) temp lead**
**SCRF**
**Margaret Votava (FNAL) Lead**
**FNAL contribute ~12FTE annually**
**Management**
**EDR, requirements document, and L3 controls leader**
**Looking for Americas L3 Controls Leader**
**We clearly drive SCRF, and are interested in participating in portions of the other packages at 0.5 -> 1.0 FTE level each. **
**Freeing right resources is difficult**

- CD ILC Forum - Controls

## Commercial Break for Glossary	

**SMTF -> ILCTA -> SCRF**
**All are Fermilab centric, i.e., no other lab is building a facility called ILCTA**
**SMTF = Superconducting Module Test Facility. **
**Initially just the work being done at A0**
**ILCTA = ILC Test Accelerator **
**Includes all ILC test areas. A0 (prototype of NML and 3.9 GHz testing program), VTS@IB1, HTS@MDB, and NML**
**SCRF = Superconducting RF**
**Renamed in light of DOE funding request. Didn’t want it to be solely an ILC test facility but allow for all kinds of accelerator R&D. **
**VTS = Vertical Test Stand, VTF. **
**Just one for now, more are planned. Need new cryo system at IB1**
**HTS = Horizontal Test Stand, HTF. **
**Just one for now, more are planned. Will need new klystron**

- CD ILC Forum - Controls

## More Glossary NML/CTF

**NML – SCRF test area with beam**
**DOE Review recommendation was to build a CTF (cryomodule test facility) with no beam. Similar to VTF/HTF, but for cryomodule. **
**FNAL still believes beam area critical. **

- CD ILC Forum - Controls

## SCRF Requests

**Controls R&D is focused in two areas**
**R&D to create stable and robust controls system for SCRF R&D program**
**R&D for ILC Controls **
**DOE request address only the SCRF R&D program**
**Want to make ourselves available for ILC Controls R&D**
**Control system is recognized critical for ILC success**
**NML is strong site for controls R&D**
**Running with ILC beam parameters **
**Conveniently located near institutions involved in global controls effort (ANL, FNAL)**
**Close collaborators with others (DESY, SLAC). **
**Not much recommended GDE funding in near term, but will come.**

- CD ILC Forum - Controls

## SCRF Control Goals

**Provide an operationally stable system for the automatic procedures needed for cavity and cryomodule testing **
**Provide a consistent controls infrastructure for all the facilities: VTS, HTS, NML. **
**VTS controls in the SNS package. Interface to  common electronic logbook/data management systems.**
**Provide an infrastructure that can readily integrate components developed at collaborating institutions **
**Provide a work area conducive ILC Controls R&D**
**These goals are not always compatible.**** **
**Balance needs to be found**

- CD ILC Forum - Controls

## SCRF Focus 

**Infrastructure support**
**Core controls system(s) support, development, and configuration management including code packaging and distribution**
**Controls systems include EPICS, DOOCS and diagnostic systems such as LabView and MatLab**
**Develop cavity data management system**
**Additional component support including system management, electronic logbook, cavity data management system **
**Test area specific**
**NML specific development**
**Develop timing and clock system that are required for first beam operation**
**Develop interfaces for new components for instrumentation and control **
**Develop controls interface for ATCA BPMs**
**Develop/configure NML application software**
**HTS/VTS ongoing support – updating processes, and user interfaces as more experience with the cavities is gleaned. **

- CD ILC Forum - Controls

## Controls Resources Needed

**Labor - ~12 FTE annually**
**Infrastructure support**
**NML specific support**
**HTS/VTS support**
**Cavity Data Management Development (1 year only)**
**Details later**
**CD: Ron, Luciano, Margaret, New Hire, Bakul, Rob Kutschke, Connie/Troy**
**AD: Mike Kucera (SCRF Controls Deputy Head), Sharon Lackey (Head while Margaret gone), Dennis Nicklaus, Jerry Firebaugh, Jimmy Wu, Michele McCusker-Whiting**
**PPD: Geoff Savage, Vladimir Sirotenko**
**UofI contract – Micheal Davidsaver**
**M&S: ~ $950K**
**Gigabit network infrastructure**
**RF interlocks**
**Event clock/timing system**
**Data acquisition and control (IOCs)**
**Local consoles, archiving, logbook..**
**Control room outfitting**

- CD ILC Forum - Controls

## Annual Labor Details

**About 8.5 FTEs identified spread over 25 people in 4 divisions (bulk in AD and CD)**
**Connie/Troy starting sys admin support**
**In processing of hiring new full time person. **
**In process of establishing collaboration with UofI**

| NML Specific Software Development | 3 FTE |
| --- | --- |
| NML Specific Hardware Engineering | 2 FTE
 |
| New instrumentation interfaces | 0.5 FTE, increases over time |
| Network Switch installation | 0.2 FTE |
| Data Management Development  | 2.5 FTE, decreases over time |
| ILCTA infrastructure | 3.5 FTE  |
| HTF Support  | 0.5 FTE
 |
| VTS Support | 0.25 FTE |

- CD ILC Forum - Controls

## NML M&S Details

**FY07 - $315K**
**$115 Crates and electronics - VME Crates, processors, cathode system interface, IOCs and hardware, digitizer boards, timing modules, controls interface to the safety system, CM1 motor controls, UPS for some network switches and cryo consoles, and wireless network. **
**$52K Network switches**
**$45K RF interlock**
**$35K Control room outfitting**
**$23K Control room consoles – a few machines**
**$20K Test system**
**$15K Event Clock System**
**Rest – few commodity CPUs**
**FY08 - $468K**
**$150 RF Interlocks - CM1 and injector**
**$110K Crates and electronics - Interfaces for instrumentation and MPS**
**$80K miscellaneous**
**$62K Computing – control room**
**$36K Software floating licenses**
**$20K Test Rack**
**Rest – small networking and commodity computing purchases**
**FY09 - $162K**
**$100K  miscellaneous**
**$40K Crates and electronics**
**Rest – small commodity computing, electronics purchases, license renewals, etc**

- CD ILC Forum - Controls

## Cavity Data Management

**Tracks all data about the cavity from processing through testing**
**Scope creep (explosion). First FNAL only -> now worldwide. Cut back to  North America. **
**EDMS issue, but has been in controls WBS**
**Team established last summer to evaluate alternatives, make recommendations, and develop system**
**Peter Kasper (lead), Jerzy Nogiec, Joe Ozelis, Jamie Blowers, Claude Saunders (ANL), Marc Paterno, Janice Nelson (SLAC)**
**Major options**
**DESY system – data centric**
**JLAB system – process centric**
**Commercial solution - costly**
**Roll our own**
**External requirements review last Friday**
**Went well – report expected by Thursday**
**Included DESY and and JLAB**
**Proposal review to come shortly (couple of weeks)**

- CD ILC Forum - Controls

## Global Infrastructure

**Establishing EPICS installation layout**
**Epics has it’s own build system that is different than the FNAL/CD standard way. **
**Primarily paths are hardcoded, not determined via environment variables. This has a large implication on build and distribution strategies. **
**Proposal next week**
**Naming convention for EPICS variables**
**Proposal in AD Doc database**
**http://beamdocs.fnal.gov/AD-public/DocDB/ShowDocument**
**Consistent for HINS and ILC**
**Make data transition between DOOCS and EPICS easier**
**ILC Official Document database**
**Not well configured yet (IMHO)**
**Documents can only have one “topic”**
**No topic/subtopic organization for ILCTA**
**Will get summer student to relocate things from the docdb demo/plone site to here. **
**System Management**
**Connie/Troy helping here (Thanks!)**
**Custom kernels, many behind AD firewall, in remote locations, etc. **
**CRL installed and in use**

- CD ILC Forum - Controls

## VTS

**Not much to say**
**Controls system in LabView. Provided by JLab as part of MOU. **
**Needs to interface to CRL and cavity data management system. **

- CD ILC Forum - Controls

## MDB Controls Overview

**...**

**LabView App**
**(Diagnostics)**

**MatLab App**
**(Diagnostics)**

**EPICS APP**
**(State Machine)**

**Electronic**
**Logbook (CRL)**

**Data **
**Management**

** ****1G Ethernet**

**...**

**EPICS APP**
**(Archiving)**

- CD ILC Forum - Controls

## HTF/CC2

**Primarily EPICS, but LLRF in DOOCS**
**Todo list**
**LLRF Controller is SPARC board. It’s old and problematic. Working on replacing it with an X86 running Linux.**
**Still includes ACNET for RF interface**
**New interlock crates with additional digitizers will fix this**
**Want to Alarm/Archive in EPICS**
**Get Doocs2Epics interface running. **
**Upgrade DOOCS Driver with new server (firmware has changed)**
**Automation, Automation, Automation**
**Dennis Nicklaus away at LHC for summer May -> September. **
**Documentation**

- CD ILC Forum - Controls

## MDB with Electronics

- CD ILC Forum - Controls

## MDB Cryo - EPICS

- CD ILC Forum - Controls

## More MDB Cryo - EPICS

- CD ILC Forum - Controls

## CRL at MDB

- CD ILC Forum - Controls

## A0

**Prototype of many pieces of equipment moving to NML**
**Photoinjector**
**OTR devices**
**BPMs**
**Strictly DOOCS**
**Many devices came from DESY**
**New beamline to be installed for this summer**
**PhD student working on thesis**
**Personnel Overloaded**
**Getting contract help from UofI**
**Start of possible collaboration with UofI on controls**
**Todo List**
**New equipment for testing**
**Replace old parts – all cobbled together**
**Performance issues**
**Automation, automation, automation**
**Documentation**

- CD ILC Forum - Controls

## A0 Layout

- CD ILC Forum - Controls

## DOOCS Display of A0

- CD ILC Forum - Controls

## Overall NML Status

**Lower priority than other ILCTA areas (HTF/VTS/A0)**
**=> suffers in schedule delay because personnel often the same. **
**Instrumentation effort has discovered that Ron (and Luciano) are great at integration.**
**ILCTA controls effort estimated at ~12 FTEs. Jan efforts reports show 3.5 and February 3.1. **
**UofC magnets moved, building cleaned and painted**
**Beam line chalked in on the floor**
**Control room ceiling being retiled, carpeting scheduled. CPUs about ready to order**
**Building big enough for 1-2 cryomodule (8 cavities). **
**1 ILC RF station has 3 cryomodules**
**First arrivals unclear**
**CC2 Move from MDB**
**Photocathode prep and injection system from INFN in the fall**
**1****st**** cryomodule**

- CD ILC Forum - Controls

## NML Controls Work

**Weekly status meetings**
**Monthly report (all of ILC controls activity)**
**Requirements document started**
**MS Project Plan started**
**Control room outfitting in progress, equipment being ordered**
**Cosylab Epics embedded IOC ordered and tested. **
**Cryo components being brought online**
**Would like website to help document**

- CD ILC Forum - Controls

## NML Beam Instrumentation

- beam-line for advanced beam instrumentation, e.g. EOS, Laser-wire, OTRI, cavity BPM’s,...

**NML Beam Instrumentation**

- RF-gun

- booster cavities1 & 2

- 3.9 Ghz cav

- doublet

- triplet

- quads

- beam
- trans.

- bunch compressor

- dipole

- low energy
- injector dump

***ILC Module 1***

- O

- O

- T

- S

- S

- O

- B

- O

- C

- B

- Y

- F

- T

- B

- T

- O

- Y

- O

- O

- S

- O

- T

- PS

- O

- O

- C

- S

- P

- T

- S

- Y

- O

- S

- O

- S

- S

- O

- T

- doublet

- S

- O

- B

- T

- O

- S

- O

- S

- S

- O

- T

- high energy intensity dump

- triplet

- doublet

- dog leg test beam-line (TBD)

- B

- C

- HOM couplers

- T

- Beam current / bunch charge (T:toroid)
- Time-of-flight or beam phase monitor
- Synchrotron light bunch length monitor
- BPM (B:button, S:stripline, C:cavity, PS:perp. stripline)
- Screen monitor (Y:YaG, O:OTR, C:CTR, S:slit, F:F-cup)

- S

- S

- S

- doublet

- dipole

- dipole

- CD ILC Forum - Controls

## NML Controls Overview

**Electronic**
**Logbook (CRL)**

**Data **
**Management**

** ****1G Ethernet**

**...**

- CD ILC Forum - Controls

## NML Before

- CD ILC Forum - Controls

## NML Now

- CD ILC Forum - Controls

## NML Cryo -EPICS

- CD ILC Forum - Controls

## More NML Cryo

- CD ILC Forum - Controls

## Light Reading

**Rob Kutschke’s cartoon view of accelerators. **
**http://docdb.fnal.gov/ILC-public/DocDB/ShowDocument?docid=392**
**Workpackage list**
**Not yet in a database ********. **
**Monthly Status**
_**[http://docdb.fnal.gov/ILC-public/DocDB/ShowDocument?docid=401](http://docdb.fnal.gov/ILC-public/DocDB/ShowDocument?docid=401)**_
**http://docdb.fnal.gov/ILC-public/DocDB/ShowDocument?docid=390**

- CD ILC Forum - Controls