k. luchini lcls week, [email protected] october 26, 2005 magnet controls k. luchini...

14
K. Luchini LCLS Week , SLAC [email protected]. edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling EPICS Injector and BC1 Schedule PS and controllers Construction AC Power Distribution Installation and Turn on Embedded Controllers Items Remaining

Upload: corey-gray

Post on 05-Jan-2016

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Magnet Controls K. Luchini

OverviewHardwareSoftware

SLC Aware IOCDatabaseModelingEPICS

Injector and BC1 SchedulePS and controllersConstructionAC Power DistributionInstallation and Turn on

Embedded ControllersItems Remaining

Page 2: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Overview

MagnetMaster List

Location BEND QUAD XCOR YCOR KICK SOLN Total (N/E)Injector 8 19 15 15 0 2 59 Linac

li21 4 17(9/8) 14(8/6) 14(8/6) 0 0 49 (29/20)li22 0 8 (0/8) 8 (0/8) 8 (0/8) 0 0 24 (0/24)li23 0 8 (0/8) 8 (0/8) 8 (0/8) 0 0 24 (0/24)li24 4 13(4/9) 6 (0/6) 6 (0/6) 0 0 29 (8/21)li25 0 8 (0/8) 9 (0/9) 9 (0/9) 1 0 27 (1/26)li26 0 8 (0/8) 8 (0/8) 8 (0/8) 0 0 24 (0/24)li27 0 8 (0/8) 8 (0/8) 8 (0/8) 0 0 24 (0/24) li28 0 8 (0/8) 8 (0/8) 8 (0/8) 0 0 24 (0/24)li29 0 8 (0/8) 8 (0/8) 8 (0/8) 0 0 24 (0/24)li30 0 7 (0/7) 8 (1/7) 8 (1/7) 0 0 23 (2/21)

BSY 0 7 8 (2/6) 8(2/6) 0 0 23 (11/12)

LTU 8 38 18 19 1 0 84

Undulator 0 33 33 33 0 0 99 Dump 3 3 3 3 0 0 12 Total 27 193(113/80) 162(80/82) 163(81/82) 2 2 549

(305/244)

Page 3: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Overview Cont.

Special Magnets/ Double dutyLinac 21

Q21201- reversible in LCLS mode

Q21301 – off for LCLS mode

Linac 24

Q24201 – Remove Q24601,Q24701,Q24801 & Q24910 from string

Q24601 needs an independent PS

Magnet Correctors with Feedback - Total of 20 w/4 @120HzInjector XC04,YC07,YC004,YC07 10Hz

Linac-L2 XC21402,XC21802,YC21503,YC21900 10Hz

Linac-L3 XC25502,XC25602,YC24900,YC25503 10Hz

LTU XCQT32,XCDL4,YCQT32,YCQT42 120Hz

UND XCUM1,XCUM4,YCUM2,YCUM3 0.1-0.01Hz

Magnet Polarity Conventions PRD by Paul EmmaDescribes the meaning of positive and negative polarity

Describes how connect up magnets

Permanent stickers designate the positive and negative terminals on magnet

http://www.slac.stanford.edu/grp/lcls/controls/global/subsystems/magnet/slaconly/prd/1%201-010-r0-magnet-polarities.doc

Page 4: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

HardwareMagnet Power Supplies

Stability/regulation The power supply stability (long term average signal)

Correctors: 0.1% of the max current (e.g. 10 e-3, 1000 ppm). Bends: 0.05 -0.1% of maximum current

Temperature (affects controllers chosen)Diurnal (temperature) drift must not exceed +/- 15deg. In the Linac expect 30deg C.INJ hut temperature controlled racks that will maintain a temperature of 72 degrees +/1 degreSLAC Ethernet Controller temperature stability – 2ppm/degCMCOR temperature stability – 15ppm/degC (fulfills Linac temp fluxuations)Magnet PRD by P. Emma list temperature stabilities

Existing QE Magnet PS in Linacmeet 0.5% stability requirements - when operated at 10% of PS full scale ratingReplace later

Second TransductorSupplied for large and intermediate psNot supplied for correctors

BulksUsed for correctors and quad trims/boostsReduce Price

PS Families60V,165A,10kW25V,375A,10kW33V,300A,10kW

Redundancy PCD currently developing/designing for MCOR system No redundancy provided for large or intermediate PS

Page 5: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Hardware Cont.

MCOR-12/30A – Small PS Control16 individual bi-polar channel, 1 slot per 12A2-slots required to compose a 30A channel Magnet types

CorrectorsQuads trimsBend trims

Bulks – Rack mountable VME Control and Monitor

IPAC Analog I/O Modules IPAC Digital I/O Modules – Interlock Reset/ On-off Control if available

PS Redundancy – under discussionSpare MCOR channels may be used to provide a switchable form of redundancy

SLAC Ethernet Controller – Intermediate PS Hardware changes to existing magnets – LI21, LI24 (QE) Stability test done on existing PS in Linac and BSY

SCOR’s in Linac - used quads and correctors near end of life / stability and regulation questions answered.Will not be replaced in Phase ILater propose replacement with MCOR system – easy transition.

Page 6: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Page 7: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Hardware Cont.

ProcurementInjector and LI21

Requisitions doneTransductors for Injector in house Order BiRa MCOR System this weekBid on Intermediate PS reived Oct 14th, 2005Order Intermediate & small PS – Oct 25, 2005VME Crate/CPU in-house for InjectorVME Modules – evaluation modules in-house

PS and Controller Estimated Cost by Paul BellomoInjector 253K Linac 275.9KBSY 177.4KLTU 806.7KUndulator 477.7K Note: using LCLS hw and ps used so farDump 110.1KTotal 1847.9K

http://www.slac.stanford.edu/grp/lcls/controls/global/subsystems/magnet/slaconly/Cost%20Estimate.xlshttp://mdweb.slac.stanford.edu/Doc%20Control.Utilities.View%20Images.displayImage.php?img=pdf/Released/3/ei3802010101.pdf

Page 8: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Software

RequirementsPhase I – High level Alpha apps, modeling, steering, correlation plots will be used.

Requires SLC and EPICS db for Injector, Linac LI21-30 and BSYFast feedback (EPICS) from 10Hz to 120HzFor magnets that will do double duty

Hw changes to fulfill LCLS requirements QE in LI21 and LI24. Magnets used in SLC as well.Two loads: connection to on PS in SLC mode and a different PS in LCLS mode. The switching between these two modes, SLC and LCLS must  not exceed 15 minutes.

Must supply a second transductor for intermediate and large power suppliesSLC Software.

Databases – Injector, BSY only (Injector and Sector 21 Dec 2005)Modeling – to begin in January 2006 (M. Woodley)Small micro changes to magnet job (K. Underwood)

SLC Aware IOC – Debbie RogindAllow magnet control/monitoring messages to be passed from the Alpha to EPICSUpdates the SLC database with the latest magnet control/monitor informationControl functions supported: Trim, Calibrate, Standardize, Perturb, Check

Page 9: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

SLC Aware IOC

Page 10: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Software Cont.

EPICSDrivers Support

Analog and Digital VME – EPICS CommunitySLAC Ethernet Controller driver- SPEAR

Device Support - Standard Database

Map SLC db units to EPICS PV’s – Injector, Linac and BC1 onlySLC test database availableInjector and LI21 db – Dec 1, 2005EPICS Db – Nov 2005

Magnet Control and Monitor Functions Sequences:

TrimCalibrateDiagnostic CalibrateStandardizeDegauss

DB: Perturb, Check, PS On/OffExtensions:

EDM DisplaysConfiguration Files: Alarm, Save/Restore, Archiver

Page 11: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Injector and BC1 SchedulePS and controllers:

Specification: July 2005Purchasing: Aug-Oct, 2006Delivery: Jan-Feb 2006

ConstructionInjector hall and vault: Oct 2005–Feb 2006Motor Control Center – AC Services

Defining AC service requirements and PPS control - NowNew specification

How power is shut off to racks – proposal presented for magnet Power usage requirements increased from original best guess - OK

Mark up drawings for subsystems – Bob Fuller, Mario Ortega, Lori ShewchukMagnets – P. Bellomo

Installation: Feb-Mar 2006 Installation of magnets and PS

Integration: Mar-Apr 2006 (Injector)Cables connected - Hookup magnet and PS Turn0n and checkout of magnets

Phase I: Aug-Nov 2006 (4 months) down timeIntegration of LinacInstallation of magnets and ps in BC1Cables connected in BC1 – Hookup magnets and PSTurn-on and checkout Magnets in BC1

Commissioning: Dec 2006-Aug 2007

Page 12: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Embedded Controllers

APS and SNS PS Controllers w/embedded IOCPS provides regulation to fulfill stability requirements in PRDFPGA used to separate out important functionality

Upgrade of SLAC Ethernet Controller Embedded ColdFire processor – upgradeControls one ps or moreProvides ps regulation as well as ps healthLinear & cosine ramp functions built into controller - part of command setRemoves a layer of complexity by removing the bitbus over UDP communication.

MCOR Analog and Digital ControlsHytec 9010 IOC Blade – interesting possibility

http://www.hytec-electronics.co.uk/IOC.pdf4-Ethernet, IPAC, PCI embedded controller pc-104 Plus

Cost Advantage – No need for VME crate8K for crate and 2k for CPU7U rack space required vs 1U for the BladeCabling simplicity – back of rack rather than front of modules in VME crate

Page 13: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Embedded Controllers Cont.

AdvantagesCost

Described above for MCOR system.Built to control more than one ps

reduce IP address required if only one controller per PSReduce rack space

Increased Speed useful for fast feedback control of magnets @ 120Hz

Remove layer of complexity Communication between controller and IOC – Bitbus over UDP for SLAC Ethernet Controller

FPGAUseful to separate out ps control that won’t be interrupted when IOC is rebooted

Easy upgrade path for future Linac micro upgrade.Standardization

Magnet ps controls - can be used for large, intermediate and small PSMaintenance easier in the areas of both software and hardwareOther subsystem applications use

rfvacuumdiagnostics

Page 14: K. Luchini LCLS Week, SLACluchini@slac.stanford.edu October 26, 2005 Magnet Controls K. Luchini Overview Hardware Software SLC Aware IOC Database Modeling

K. Luchini

LCLS Week , SLAC [email protected]

October 26, 2005

Items Remaining

Magnet control interface with feedback

Embedded IOC that can be used across subsystems

SLC database puts of BDES from EPICS – not available in phase I

SLC and EPICS Linac and BSY displays required in Phase IPurchase of PS and controllers for LI22-30,BSY, LTU and Dump.

Phase II

Future upgrade of PS in Linac and BSY – SCORs to MCOR