Introduction to mTCA and LLRF review Tom Himel June 4, 2012 1.

Slides:



Advertisements
Similar presentations
Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
Advertisements

26-Sep-11 1 New xTCA Developments at SLAC CERN xTCA for Physics Interest Group Sept 26, 2011 Ray Larsen SLAC National Accelerator Laboratory New xTCA Developments.
SLAC uTCA review 4-5 June 2012 Anders J Johansson Lund University Some slides from Zheqiao Geng and Tom Himel)
HPS MPS OVERVIEW Dan Sexton & the Safety Systems Group JLAB 1.
3U ATCA Shelf October Proprietary and Confidential-
December 6, 2007AIP /02 P Bellomo - QE Magnet Power System Upgrade1 AIP /02 Review LINAC SECTORS 22 AND 23 QE MAGNET POWER SYSTEM UPGRADE.
Stephanie Allison Integration with the SLC Control April 7, 2005 Introduction PNET Receiver VME Module SLC-Aware IOC Existing.
Tom Himel Linac Controls Upgrade Nov SLAC National Accelerator Laboratory 1 Linac Controls Upgrade Status Tom Himel.
1 Tom Himel 1 Status of the Linac Controls Upgrade LCLS FAC review Status of the Linac Controls Upgrade Tom Himel June 8, 2009.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
Hamid Shoaee LCLS FAC Controls June 17, LCLS Control System Personnel Linac & BC2 Controls progress LTU, Dump Controls.
Shelf Management & IPMI SRS related activities
Dayle Kotturi SLC April 29, 2004 Outline Motivation Key Components Status Update SLC / EPICS Timing Software Tasks Hardware.
MUST HAVE SHOULD HAVE COULD HAVE Module # 010. Qi Hardware Objectives Recognize hardware Know how to interface to field equipment Know the 4 different.
Status of MicroTCA LLRF Development Zheqiao Geng On behalf of the LLRF AIP team 6/4/2012.
Network Topologies.
All content in this presentation is protected – © 2008 American Power Conversion Corporation Symmetra ® LX – redundant UPS High performance, redundant.
Status of mTCA Stripline BPM Development June 4-5, 2012 Dan Van Winkle for BPM team: Sonya Hoobler, Tom Himel, Jeff Olsen, Steve Smith, Till Straumann,
LCLS-II Linac LLRF Control System – L1, BC1 Zheqiao Geng Final Design Review May 7, 2012.
Basic Concepts of Computer Networks
LCLS-II Injector LLRF System – MicroTCA Based Design Zheqiao Geng 6/4/2012.
The planned new system Tom Himel Dec 1, Outline Controls has multiple related projects Decided to use mainly µTCA architecture Description of.
SPEAR 3 Upgrade SSRL/SLAC January 2001  Computer Control System  Beam Monitoring and Feedback Systems  Timing System  Machine Protection Systems 
Single Board Computers and Industrial PC Hardware at the CLS
Network Design Essentials. Guide to Networking Essentials, Fifth Edition2 Contents 1. Examining the Basics of a Network Layout 2. Understanding Standard.
Chapter 2 Network Design Essentials Instructor: Nhan Nguyen Phuong.
About Samway Electronic SRL Founded in 2005 in Bucharest, Romania Focused on management and monitoring solutions for telecom/industrial computers Active.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
ILC Electronics Manufacturing Opportunities ILC Industrial Forum at Fermilab September 21-22, 2005 Ray Larsen for SLAC ILC Electronics Group.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
John Dusatko 2012 EPICS Timing Workshop The SLAC Timing System April 24, The Accelerator Timing System at SLAC: Experiences, Ideas & Future Plans.
LCLS-II Linac LLRF Control System – L2, L3 Zheqiao Geng Preliminary Design Review May 7, 2012.
Ethernet Based Embedded IOC for FEL Control Systems J. Yan, D. Sexton, Al Grippo, W. Moore, and K. Jordan ICALEPCS 2007 October 19, 2007 Knoxville Convention.
Intro to Network Design
Zheqiao Geng 6/5/2012 Plan for Evaluating LLRF Deployment Solution at LCLS-II.
Stephen Schuh Vacuum Controls SCR and 16 November 2005 Vacuum Controls System Concept Review and Preliminary Design Review.
21 March 2007 Controls 1 Hardware, Design and Standards Issues for ILC Controls Bob Downing.
Operations, Test facilities, CF&S Tom Himel SLAC.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Issues in Accelerator Control Bob Dalesio, December 23, 2002.
FECC/SAIOC/RTEMS Making Lemonade. FECC “Slow” Code (in PC) –Ported iRMX code –By Bob Sass and Tony –As little hand work as possible –EPICS OSI layer –Dual.
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
SHAPE OF A NETWORK COPYRIGHT BTS TOPOLOGY The way the computers are cabled together Four different layouts Logical topology describes the way data travels.
1 Availability and Controls Tom Himel SLAC Controls GG meeting January 20, 2006.
Latest ideas in DAQ development for LHC B. Gorini - CERN 1.
MTCA use in Linac to replace CAMAC Tom Himel June 4,
1 The Cost & Schedule to Accomplish the Transition Proposed SLAC Controls Upgrade December 1, 2010 Ray Larsen.
The recent history and current state of the linac control system Tom Himel Dec 1,
Managed by UT-Battelle for the Department of Energy SCL Vacuum Control System Upgrade Derrick Williams
Stephanie Allison SLC-Aware April 5, 2005 Introduction Description Issues Progress Plans for 2005 SLC-Aware IOC LCLS Collaboration,
GAN: remote operation of accelerator diagnosis systems Matthias Werner, DESY MDI.
LIGO-G9900XX-00-M LIGO II1 Why are we here and what are we trying to accomplish? The existing system of cross connects based on terminal blocks and discrete.
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
Timing System R+D for the NLC Josef Frisch. NLC and PEPII Phase and Timing Requirements (approximate)
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
MicroTCA Development and Status
Chapter 1: Introduction to the Personal Computer
BaBar Transition: Computing/Monitoring
SLAC I&C Division / EE Department
The SLAC Instrumentation and Control Platform
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
New xTCA Developments at SLAC
AIP /02 P Bellomo - QE Magnet Power System Upgrade
Instructor Materials Chapter 1: Introduction to the Personal Computer
LLRF and Beam-based Longitudinal Feedback Readiness
Low Level RF Status Outline LLRF controls system overview
LLRF Control System Outline Scope Requirements Design Considerations
Report on ATF2 Third Project Meeting ATF2 Magnet Movers ATF2 Q-BPM Electronics Is SLAC ILC Instrumentation Group a good name?
LLRF Control System Outline Scope Requirements Options considered
Low Level RF Design Outline Scope Requirements Options considered
Presentation transcript:

Introduction to mTCA and LLRF review Tom Himel June 4,

Outline History of the mTCA projects at SLAC History of the SLAC control system Phase I of the upgrade for LCLS Decision to use µTCA architecture for new development Description of µTCA Advantages of µTCA Pros and Cons and our decision making process Summary 2

Brief History of SLAC mTCA projects (1 of 4) In 2008 as LCLS construction was being completed, started an upgrade of the SLC control system which still ran the linac. –This replaces VMS Alpha mainframe, multibus micros and a proprietary network with linux servers, VME micros (IOCs) and EPICS –Still leaves 1980’s era CAMAC modules –This upgrade is complete except for a couple of loose ends. 3

Brief History of SLAC mTCA projects (2 of 4) In 2010 started project to develop hardware to replace CAMAC in linac –Idea was to upgrade the middle 10 sectors that FACET now uses 4 months per year and LCLS-II will use full time in 2018 when it is complete. Developed things for which we had no existing solution we were happy with –First LLRF for which only the CAMAC solution existed –Then stripline BPM where we were unhappy with the LCLS solution 4

Brief History of SLAC mTCA projects (3 of 4) Decided to use mTCA for physics form factor Had review in Dec to aid in this decision. –Their report is at _2012/Published_Documents_2010/SLACLinacUpgradeReviewReport. pdf _2012/Published_Documents_2010/SLACLinacUpgradeReviewReport. pdf –Their main recommendation was “Revisit MicroTCA for Physics Decision after Installation of Prototype System MicroTCA for Physics is a very attractive technology for the sophisticated applications discussed in the upgrade proposal. However there are few COTS products currently available for use by the upgrade group. Therefore the upgrade group should set a threshold for what they consider a viable number of COTS products and suppliers necessary in order to determine that the MicroTCA for Physics standard has sufficient commercial support to remain a viable standard for the foreseeable future. The final decision to proceed with this standard for the production run of the linac upgrade should only be made if that threshold is met or exceeded at the end of the current year when the prototype unit has been completed.” –That is why we are here today 5

Brief History of SLAC mTCA projects (4 of 4) It has become clear that all AIP money in next 5 years will be used for LCLS and LCLS-II improvements, not for upgrading the CAMAC hardware. Some new hardware for LCLS-II can be done with the mTCA electronics we have developed. Upgrading the linac would then be done later. Some would like to do this to avoid installing still more of the old style hardware and as a path to the future upgrade. Others are concerned about the budget and schedule risk to LCLS-II this path incurs. This is a second reason for this review. 6

A few facts There is more than one way to upgrade the CAMAC and equip LCLS that will work. –This is a third reason you are here. If there were only one workable solution the decision would be easy. We chose our upgrade path some time ago. So many of the following slides and decision considerations are old as we have not kept revisiting the decision. 7

The history of the SLAC control system Reason for describing the history: –You need to know what we are upgrading from and what we could clone if we chose to. –It helps to know what we are upgrading to see if we have chosen the right solution 8

In the beginning God created the heavens and the earth … On the eighth day (AKA early 1980’s) he created the SLC control system. God looked at everything he had made, and he found it very good[1]. 9 [1] after hundreds of person-years of effort by descendents of those created on day five.

Block diagram of SLC control system 10 VMS host Multibus I micro: LI00 Multibus I micro: LI30 Multibus I micro: CW01 … CAMAC crate … … Video screens SLCnet Serial CAMAC

Description of SLC control system Central host VMS system runs all high level apps, operator consoles, and has central fast DB. Multibus-I micros (originally 8086 CPUs, upgraded to 386 and 486) control everything in their sector. Above connected with SLCnet, a proprietary polled network with cable TV as its physical media and the VMS interface as the master polling device. Ethernet was young and did not work well enough at that time. 11

Description of SLC control system Each micro controls several CAMAC crates via a proprietary serial CAMAC link. Both commercial and proprietary CAMAC modules readout and control all hardware –32 channel autoranging ADC for thermocouples, small magnet readout etc. –16 channel DACs for small magnet control, profile monitor lamp brightness etc. –1 channel Power supply controller couple to external chassis for analog and interlock control of large power supplies –BPM modules (several flavors) –16 channel Programmable delay units for triggers –32 channel digital input and output modules –1 channel Klystron controller with 8088 CPU coupled to external chassis (MKSU). 12

Expansion to PEP-II Mainly expanded the SLC control system with some upgrades –New micros communicated with VMS via ethernet –New more precise power supply controllers got digital information from the micro via bitbus New types of functionality (longitudinal feedback and CW RF) were implemented in EPICS Cross-system SLC high level apps (correlation plots, multi-knobs, configs, history plots …) were made to handle EPICS items 13

LCLS All new devices are controlled with EPICS New high level applications were written (mainly in Matlab) to control all the new EPICS devices and extended to control most of the old SLC linac devices LI20-30 linac magnets and BPMS were upgraded to EPICS hardware as AIP projects after LCLS project completion Klystrons, timing, vacuum, analog and digital status are all still in the SLC control system. 14

Upgrading of the SLC control system As previously mentioned in 2008 we decided to upgrade the old control system –Was significant source of downtime –Virtually everyone knowledgeable in VMS, FORTRAN or CAMAC had retired or been laid-off. Decided to do it in two phases: –Phase I gets rid of VMS, SLCnet and the micros and is software dominated. –Phase II replaces CAMAC with modern hardware and is hardware dominated Phase I is virtually complete for last 10 sectors (LCLS) Phase II module design is well advanced and being proposed for use in new LCLS-II installations before replacing existing linac hardware. 15

Controls downtime causes 16

Controls downtime causes There is about an even split between micro and CAMAC downtime. The timing downtimes are with the old timing system, not the EVG/EVR system. We’ve also had significant (multi-hour) downtimes due to SLCnet interface to the VMS computer and the old MPS system that luckily occurred during scheduled MD or maintenance and so don’t count in above statistics. Can’t count on luck. Need to fix. 17

Phase I upgrade block diagram 18 Cmlog server Multibus I micro: LI00 Multibus I micro: LI19 … CAMAC crate … … Ethernet Serial CAMAC Archiver server … VME IOC: LI20 VME IOC: LI30 … CAMAC crate … … Serial CAMAC Operator console SLCnet VMS host

Phase I upgrade Add 1 VME EPICS IOC per sector connected with new Ethernet network Build VME serial CAMAC interface (PSCD) that uses commercial hardware serial IO card with our firmware Produce all necessary CAMAC drivers, device support, EPICS DB, displays, and high level apps Test it all without impacting LCLS Switch over on a maintenance day 19

Status of Phase I upgrade Phase I upgrade is complete in LI –These linac SLCNET micros have not been used for LCLS for months. –The 360 Hz timing information is now distributed via the new EVG/EVR system, but the nanosecond level timing still comes from the old distribution and PDUs. –Still have CAMAC. This and timing and PPS are largest contributors to controls downtime. –The EPICS VME system to replace the single SLCNET micro used as the Master Pattern Generator is awaiting final testing by operations. Sectors 0-19 (and Damping rings and e+ source) are still using SLC control system and actively being used to run FACET four months a year. 20

Why upgrade the linac CAMAC? If that isn’t obvious to you after the last talk, we have invited the wrong reviewers. Want better reliability and maintainability Want components for which we can get repair parts Want mostly commercially available components Want to use modern technology that new people are willing to support 21

The architecture choice In 2010 we have spent considerable time and many group meetings deciding on the architecture to use. Decided on µTCA Will first describe µTCA to you Then explain its advantages Then share the pros and cons matrix that went into our decision making process 22

Genealogy of µTCA ATCA (Advanced TeleCommunications Architecture) is a standard developed for the telecommunications industry. – Emphasis was on high availability and high bandwidth. –There are many commercial modules available –Modules are physically large (~fastbus size) Connections to smaller daughter boards are part of the standard. 23

Genealogy of µTCA These daughter boards are called AMC (Advanced Mezzanine Cards). –Several can be mounted on an ATCA carrier card. –Often the carrier card must be customized for the particular AMCs used to route in the necessary I/O from the cables that go to the RTM (Rear Transition Module) attached to the ATCA card. Some small projects can be done with ONLY AMC cards. 24

Genealogy of µTCA This led to first the µTCA standard and then to the µTCA for physics standard. –The physics standard is twice the size of the minimum sized µTCA (AMC) card and has a connector for an RTM. It is backplane compatible with a standard µTCA card and simply defines the use of some spare lines on the backplane. It is the µTCA for physics we plan to use and it will hereafter be referred to simply as µTCA. The µTCA standard was developed as an international industry/lab committee under the auspices of PICMG. A small but growing number of commercial products are available. Ray will elaborate in his talk 25

µTCA features IPMI: Standard out-of-band network to monitor temperatures, fan speeds, voltages of both crates and modules. Allows remote control of power to individual modules. Standard software available to implement all of this. Redundant hot-swappable fans allowing this most commonly failing component to be replaced without program interruption Ability to have redundant power supplies and network hubs Timing distribution provided on backplane 26

µTCA features Truly hot swappable modules and Rear Transition Modules (RTMs). –Allows bad modules to be swapped without added degradation of the control system. –This in turn allows more modules to be in a crate and hence fewer crates without degrading system availability. –Can even put multiple systems in a crate (e.g. BPM and LLRF) Split between AMC and RTM allows an AMC module to be used for several purposes by having different relatively simple RTM cards. E.g put the ADC on the AMC module and have RTM cards with different signal shaping for BPMs and toroids. Uses point-to-point communications instead of busses. Allows for high bandwidth and avoids subtle bus problems where a problem in one module causes problems in another. Low noise environment suitable for analog electronics. Solid, well tested mechanical and connector designs. 27

µTCA backplane 28

AMC & µRTM Modules – µTCA.4 29 µRTMAMC Power System Mgmt Keying Standard AMC Connector and Backplane User I/O

Industry Prototypes:6-Payload Shelf 30 µRTM  Development Shelf 6-Slot  Physics Backplane  Non- Redundant MCH, Fans, Power Module

µTCA.4 Development Platform 31  SLAC Linac controls upgrade  6-Slot Prototype Shelf w/ MCH, Processor, Interim Timing System, power module, built-in fans  PMC Event Receiver (EVR) on double µTCA Adapter  Shelf non-redundant  All rear I/O access

12-Payload Shelf 32  Full µTCA.4 Compatibility  Fully redundant MCH, power, fans

Slow I/O can be done with IP cards 33 There is also a PMC carrier that we presently use for our timing card

µTCA summary Scaleable modern architecture –From 5 slot μTCA …full mesh ATCA Gbit serial communication links –High speed and no single point of failure –Standard PCIe, Ethernet communication –PCIe and Ethernet is part of Operating System Redundant system option –Up to % availability Well defined management –A must for large systems and for high availability Hot-swap –Safe against hardware damage and software crashes 34

Our Architecture decision We briefly looked at many standards – 2012/Published_Documents/LCLS%20Next%20Generation%20Control %20System%20platform%20discussion.pptxhttps://slacportal.slac.stanford.edu/sites/ad_public/events/mtca_llrf_jun_ 2012/Published_Documents/LCLS%20Next%20Generation%20Control %20System%20platform%20discussion.pptx Carefully compared network attached devices (rack mounted chassis with Ethernet ports), VME and µTCA. We expect to end up with a mixed system, so really deciding what standard to use for new and improved things. 35

Why not simply clone what we just did for LCLS-I Some parts not done at all (linac LLRF) –Even LCLS klystrons that have new PADs and PACs depend on the old CAMAC system for interlocks and diagnostic data Unhappy with other parts (stripline BPM) – more later We likely will clone some of the parts like PLC system for vacuum and perhaps Beckhoff for temperatures and misc I/O 36

LCLS BPM rack 37 FrontRear

LCLS BPM rear close-up 38

LI20 LCLS network rack 39

BPM chassis Each has: –4 signal cables (unavoidable) –A trigger at beam time cable –A calibration trigger cable –An ethernet port for channel access –An ethernet port used to pass raw data at 120 Hz to a VME IOC for processing as the internal CPU is too slow –A serial connection to a terminal server to allow viewing of the IOC console –A power cable to an ethernet controlled power strip so power can be cycled to perform a remote reset. 40

BPM chassis This was a design kludged together from available parts in 4 months when originally planned design for LCLS failed. Was then propagated to 10 linac sectors as didn’t have time to do a proper redesign and wanted its improved analog performance. It works! Physicists are quite happy. But REALLY don’t want to propagate this again! Needs a design using a crate e.g. µTCA. 41

BPM in µTCA Each module has: –4 signal cables (unavoidable) –A trigger at beam time cable –A calibration trigger cable –An ethernet port for channel access –An ethernet port used to pass raw data at 120 Hz to a VME IOC for processing as the internal CPU is too slow –A serial connection to a terminal server to allow viewing of the IOC console –A power cable to an ethernet controlled power strip so power can be cycled to perform a remote reset. 42 On backplane PCIe on backplane to CPU Only CPU has one IPMI handles this

VME situation VME is almost 30 years old: our system should operate for another years. Number of new developments is decreasing, sales are still constant Bus technology has speed limitations Wide busses create a lot of noise in analog channels No standard management on crate level No management on module level So far no extension bus survived One damaged bus line stops a whole crate Address and interrupt misconfigurations are hard to find 43

Reasons for choosing µTCA Use an industry standard to share with others Redundant fans and hot swappable fans and modules allows for troubleshooting and maintenance during user runs and improving reliability Cable plant reduction compared to network attached devices Systems can share crates with minimal impact 44

Reasons for choosing µTCA Firmware can be remotely loaded (presently we bring each module to the lab for this) Standard system to monitor temperatures and voltages A new standard rather than one nearing retirement Modular so pieces of it can be upgraded Allows use of new technology that allows us to challenge and keep good engineers. 45

Decision spreadsheet The presentation so far has been one- sided, listing the advantages of µTCA and no disadvantages. We were much more balanced in our decision making process. The spreadsheet at the same site as this talk contains the detailed pros and cons list that was a key part of our decision making process. 2/Published_Documents/LLRF%20design%20compare4.xls 2/Published_Documents/LLRF%20design%20compare4.xls 46

More details in later talks Ray will explain more about mTCA and to what extent industry and labs are using it. Qiao will give technical details on the LLRF development Charlie will give the status of the infrastructure hardware and software needed to support our I/O modules Dan will give technical details on the stripline BPM development I will outline the plans for upgrading the linac Qiao will go over the LCLS-II injector LLRF system design including cost and schedule 47

Summary The linac control system clearly needs upgrading. We can use the same technology to build the LCLS-II. µTCA is a good choice for the architecture There are other architecture choices that would also work. Are they enough better than mTCA to warrant us changing? 48