Fast Orbit Feedback - BPM to PS Yuke Tian Control Group, Accelerator Division Photon Sciences Directory Brookhaven National Lab EPICS Collaboration Meeting,

Slides:



Advertisements
Similar presentations
Orbit Feedback NSLS-II stability workshop Visitor committee April 20, 2007.
Advertisements

1 BROOKHAVEN SCIENCE ASSOCIATES NSLS-II Shielding Workshop S. Buda Personnel Protective Systems March 27, 2007.
Mark Heron Diamond Light Source Oct 2007 EPICS EPICS Interface to the Libera Electron Beam Position Monitor.
Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
1 BROOKHAVEN SCIENCE ASSOCIATES Stephen Kramer, VUV Ring Manager CSR Emission Studies in VUV/IR Ring NSLS.
SPEAR3 short pulse development J. Safranek for the SSRL accelerator physics group* Outline: Timing mode fill patterns Short bunches –Low alpha Bunch length.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLS-II ASAC-2007, April. 23, 2007 Injection System with a Booster in Separate Tunnel T. Shaftan for the NSLS-II team.
Pohang Accelerator Laboratory POSTECH EPICS Collaboration Meeting RICOTTI, Tokai, JAPAN EPICS collaboration meeting 2004 Dec , 2004 RICOTTI,
EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 NSLS-II Power Supply Control System Yuke Tian Accelerator Division Photon Science Directory Brookhaven.
Beam position monitors LCABD Plenary meeting Bristol, 24th March 2009 A. Aryshev, S. T. Boogert, G. Boorman, S. Molloy, N. Joshi JAI at Royal Holloway.
1 Slow Global Orbit Feedback at Pohang Light Source (PLS) Heung-Sik Kang Pohang Accelerator Laboratory Pohang, Korea.
K. Balewski (DESY)IWBS Conceptual Design of the PETRA III Orbit Feedback K. Balewski, H.T Duhme, J. Klute, I. Krouptchenkov, R. Neumann, G. K. Sahoo,
RF Stability Working Group Jorn Jacob (ESRF), John Byrd (LBNL) General Issues RF phase and amplitude noise –filtered by cavity and translate into timing.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLS-II Stability Workshop April , 2007 NSLS-II Electrical Systems G. Ganetis NSLS-II Electrical Systems NSLS-II.
NSLS-II Fast Orbit Feedback with Individual Eigenmode Compensation Yuke Tian, Li Hua Yu Accelerator Division Photon Science Directory Brookhaven National.
1 BROOKHAVEN SCIENCE ASSOCIATES Fast Orbit Feedback System for NSLS-II Kiman Ha NSLS-II Controls Group EPICS Collaboration meeting Oct 22~26, 2012.
29/06/2007FOFB at Diamond1 Fast Orbit Feedback (FOFB) at Diamond Guenther Rehm, Head of Diagnostics Group.
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
Power Supply Controller Architecture
Alignment and Beam Stability
Synchronous Device Interface at NSLS-II Yuke Tian Control Group, NSLS-II, BNL (May 1, 2009 EPICS Collaboration Meeting, Vancouver)
Beam Instrumentation for Orbit Stability I. Pinayev.
Characterization of Fast Orbit Feedback System Om Singh, APS, ANL NSLS-2 Beam Stability Workshop BNL, April 18-20, 2007.
Characterization of NSLS2 Storage Ring Beam Orbit Stability Weixing Cheng #, Kiman Ha, Joe Mead, Boris Podobedov, Om Singh, Yuke Tian, Li-hua Yu NSLS-II,
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Feedback on Nanosecond Timescales (FONT) - Review of Feedback Prototype Tests at ATF(KEK) Glenn Christian John Adams Institute, Oxford for FONT collaboration.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLS II: the Accelerator System Briefing Conventional Facilities Advisory Committee May 8 - 9, 2007 Satoshi Ozaki Director,
Power Supply Control at NSLS-II Yuke Tian Control Group, NSLS-II, BNL (May 1, 2009 EPICS Collaboration Meeting, Vancouver)
Orbit Control For Diamond Light Source Ian Martin Joint Accelerator Workshop Rutherford Appleton Laboratory28 th -29 th April 2004.
LLRF ILC GDE Meeting Feb.6,2007 Shin Michizono LLRF - Stability requirements and proposed llrf system - Typical rf perturbations - Achieved stability at.
Activities on the Orbit Feedback System for the Super-SOR Light Source SRL-ISSP, University of Tokyo Norio Nakamura 3rd International Workshop on Beam.
Initial Performance Results of the APS P0 (Transverse Bunch-to-Bunch) Feedback System N. DiMonte#, C.-Y. Yao, Argonne National Laboratory, Argonne, IL.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLS II: Accelerator System Overview NSLS II Advisory Committees October 18/19, 2006 Satoshi Ozaki.
1 BROOKHAVEN SCIENCE ASSOCIATES Issues on Closed Orbit Feedback for NSLSII NSLS-II Stability Workshop April 18-20, 2007 Li-Hua Yu.
1 BROOKHAVEN SCIENCE ASSOCIATES Storage Ring Commissioning Samuel Krinsky-Accelerator Physics Group Leader NSLS-II ASAC Meeting October 14-15, 2010.
1 BROOKHAVEN SCIENCE ASSOCIATES Stability Issues NSLS-II PAC Meeting May 24, 2007 S. Krinsky.
LCLS_II High Rep Rate Operation and Femtosecond Timing J. Frisch 7/22/15.
22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Diamond Light Source Beam Stabilization Feedback System Mark Heron, Head of.
Jørgen S. Nielsen Institute for Storage Ring Facilities (ISA) Aarhus University Denmark 1 ESLS-RF 14 (29-30/9 2010), ASTRID and ASTRID2 new LLRF.
Bunch by bunch feedback systems for KEKB Makoto Tobiyama KEK Accelerator Laboratory.
R.SREEDHARAN  SOLEIL main parameters  Booster and storage ring low level RF system  New digital Booster LLRF system under development  Digital LLRF.
1 BROOKHAVEN SCIENCE ASSOCIATES Power Supply Status George Ganetis Power Supply Status ASAC Review October 22-23, 2009.
Krzysztof Czuba1 REFERENCE FREQUENCY DISTRIBUTION SYSTEM FOR THE TESLA TECHNOLOGY BASED PROJECTS Krzysztof Czuba Matthias Felber.
1 BROOKHAVEN SCIENCE ASSOCIATES Open-Source Distributed Deterministic Device Control Larry Doolittle Alex Ratti Bob Dalesio.
Beam Physics Issue in BEPCII Commisionning Xu Gang Accelerator physics group.
Timing System R+D for the NLC Josef Frisch. NLC and PEPII Phase and Timing Requirements (approximate)
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
C. Steier, USR 2012, Feedbacks for USR, Workshop on Accelerator R&D for Ultimate Storage Rings : Beijing / IHEP, October 2012 Feedbacks for Ultimate.
1 BROOKHAVEN SCIENCE ASSOCIATES Beam Stability Overview NSLS-II CFAC Meeting May 8, 2007 S. Krinsky.
Fast Global Orbit Feedback for the Australian Synchrotron Eugene Tan Accelerator and Operations 13/12/20101 ACAS Workshop on Accelerator Feedback Systems.
Bunch by bunch feedback systems for KEKB Makoto Tobiyama KEK Accelerator Laboratory.
ESLS Workshop Nov 2015 MAX IV 3 GeV Ring Commissioning Pedro F. Tavares & Åke Andersson, on behalf of the whole MAX IV team.
MicroTCA Development and Status
Fast Orbit Feedback System for NSLS-II
Weiming Guo Accelerator Physics Group / ASD Advanced Photon Source
LLRF Research and Development at STF-KEK
Status of the ASTRID2 facility
Orbit Control For Diamond Light Source
SOLEIL Fast Orbit Feedback System
Snr Power Supply Engineer
P. Forck, P. Kowina, M. Schwickert, R. Singh
Coupling Correction at the Australian Synchrotron
Controls CBETA controls will extend existing EPICS control system
Commissioning the Fast Orbit Feedback System at SSRF
Fast Orbit Feedback System for HEPS (Cooperation work among all related systems) Dapeng Jin Control System Dec. 12, 2017.
An overview the ASTRID2 storage ring and its RF system
Estimation of the orbit feedback performance for HEPS
Beam Current Monitoring with ICT and BPM Electronics
Trent Allison Ops StayTreat 2015
Fast Orbit Feedback at the SLS
Presentation transcript:

Fast Orbit Feedback - BPM to PS Yuke Tian Control Group, Accelerator Division Photon Sciences Directory Brookhaven National Lab EPICS Collaboration Meeting, BNL, 2010

Outline NSLS-II orbit feedback system requirements Fast orbit feedback system architecture Overall architecture BPM FOFB data measurement BPM FOFB data delivery – fiber SDI link FOFB calculation – compensation for each eigenmode Corrector setpoints to power supply system Progress Summary EPICS Collaboration Meeting, BNL, 2010

NSLS-II orbit feedback system requirement Energy 3.0 GeV Circumference 792 m Number of Periods 30 DBA Length Long Straights 6.6 & 9.3m Emittance (h,v) <1nm, 0.008nm Momentum Compaction Dipole Bend Radius 25m Energy Loss per Turn <2MeV Energy Spread 0.094% RF Frequency 500 MHz Harmonic Number 1320 RF Bucket Height >2.5% RMS Bunch Length 15ps-30ps Average Current 300ma (500ma) Current per Bunch 0.5ma Charge per Bunch 1.2nC Touschek Lifetime >3hrs NSLS-II technical Requirements & Specifications EPICS Collaboration Meeting, BNL, 2010

NSLS-II orbit feedback system requirement Long IDShort ID Dispersion Region Lattice function for one cell EPICS Collaboration Meeting, BNL, 2010

NSLS-II orbit feedback system requirement In short insertion,, hence must hold orbit stable to Orbit stability requirements can be met using orbit feedback. EPICS Collaboration Meeting, BNL, 2010 NSLS-II orbit stability requirement

NSLS-II orbit feedback system requirement Long term - Years/Months Ground movement Season changes Medium - Days/Hours Sun and Moon Day-night variations (thermal) Rivers, rain, water table, wind Synchrotron radiation Refills and start-up Sensor motion Drift of electronics Local machinery Filling patterns Short - Minutes/Seconds Ground vibrations Traffic, Earth quakes Power supplies Injectors Insertion devices Air conditioning Refrigerators/compressors Water cooling Beam instabilities in general Noises source need to be suppressed EPICS Collaboration Meeting, BNL, 2010

NSLS-II orbit feedback system requirement Typical noises source frequency in light source EPICS Collaboration Meeting, BNL, 2010

NSLS-II orbit feedback system requirement Beam motion from long term group motion Floor motion around the ring. Maximum movement is 107 µm, and the RMS around the ring is 36 µm. Electron beam motion (vertical) without feedback loop; maximum is 600 µm. Lihua Yu EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture Overall architecture: slow and fast correctors EPICS Collaboration Meeting, BNL, 2010

Fast orbit feedback system in one cell Orbit feedback system architecture EPICS Collaboration Meeting, BNL, 2010

NSLS-II two tier device controller architecture Orbit feedback system architecture Cell 1 Cell 2 Cell 3 Cell 16 Cell 30 Cell 29 Storage Ring Cell 15 Cell 17 SDI link EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture EPICS Collaboration Meeting, BNL, 2010 NSLS-II FOFB latency/bandwidth ● BPM group delay: less than 50 us (estimate) ● BPM data from 8 BPMs transferred to cell controller: 3.5us ● BPM data distribute among the storage ring 6us (12us if one link broken) ● FOFB calculation with separate mode compensation: 3.5us ● Set power supply by PS SDI link: 5.4 us (11us if one link broken) ● Fast corrector PS bandwidth (10 degree phase shift): 8KHz ● Corrector magnet/chamber bandwidth: 1KHz (measured with Inconel beampipe, 10 degree phase shift)

BPM FOFB data measurement Orbit feedback system architecture EPICS Collaboration Meeting, BNL, 2010 Joseph Mead

BPM FOFB data measurement Orbit feedback system architecture EPICS Collaboration Meeting, BNL, 2010 Kiman Ha

BPM FOFB data delivery – fiber SDI link Orbit feedback system architecture EPICS Collaboration Meeting, BNL, 2010 Joseph De Long

FOFB calculation – compensation for each eigenmode Orbit feedback system architecture Fast orbit feedback system is a typical multiple-input and multiple-output (MIMO) system. For NSLS-II, there are 240 BPMs and 90 fast correctors. Tranditional singular value decomponsition (SVD) based FOFB treats each eigenmode the same. The reality is, a MIMO system will have different frequency response for different eigenmode and thus it is desirable to design different compensation to each eigenmode. The challenge is to finish the large computation within the time budget of FOFB system. NSLS-II FOFB system takes advantage of our two-tier communication structure and the parallel computation capability of FPGA to do the compensation for each eigenmode in FPGA. EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture A simple SISO feedback system Controller C(z) Plant H(z) EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture Fast orbit feedback system algorithm (MIMO system) Controller R -1 =VΣ -1 U T Accelerator R=UΣV T Compensator (PID etc) R: response matrix R -1 : reverse response matrix FOFB baseline algorithm Offline operation: kick each corrector  measure all BPM and get response matrix R  calculate R -1 with SVD (10KHz) operation: measure/distribute all BPM data  calculate corrector setpoints  set correctors EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture FOFB baseline calculation Each of the corrector setpoint is calculated from a 1xM vector and Mx1 vector multiplication. If 8 BPM/cell, M=240. For each corrector plane EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture Problems for baseline algorithm The ill-conditioned response matrix will cause numerical instability Solution: 1) Truncated SVD (TSVD) regularization: sharp cut off 2) Tikhonov regularization Each of the corrector setpoint is calculated from a 1xM vector and Mx1 vector multiplication. If 8 BPM/cell in NSLS-II, M=240. Total: ~ 240 MAC. For each corrector plane EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture Problems for baseline algorithm To suppress high frequency contribution to the integrated amplitude, it is desirable to compensate each mode in frequency domain. So far, all the FOFB has an assumption that each mode has the same frequency response (same bandwidth). UTUT Accelerator R=UΣV T Qi(z -1 ) V EPICS Collaboration Meeting, BNL, 2010 Compensation for each eigenmode

Orbit feedback system architecture : Compensator for mode i. :eigentspace components of Calculation with the compensation for each mode EPICS Collaboration Meeting, BNL, 2010

Orbit feedback system architecture 1. Calculate the eigenvector components (d 1,d 2,…d N ) for BPM displacement Total calculation: 1xM vector times Mx1 vector. Do this N times (for each ). This is N times larger calculation than gain-only FOFB calculation. For NSLS-II, N=90. Total MAC: 240 * 90 = 21, For each, design compensation. 3. Output modes (V) times. 1xN vector times Nx1 vector. Challenge: need to finish the calculation within a few microsecond.  FPGA is perfect for this task. It can carry out the calculation (Matrix calculation and DSP compensation) in parallel. Calculation with the compensation for each mode EPICS Collaboration Meeting, BNL, 2010

Implementation of fast orbit feedback Calculation with the compensation for one mode Dual Port RAM Dual Port RAM Dual Port RAM MUX X Compensation (PID, Notch filter etc) + From control system Eigenvector Select Active Eigenvector BPM data From SDI link EPICS Collaboration Meeting, BNL, 2010

Implementation of fast orbit feedback EPICS Collaboration Meeting, BNL, 2010 Single mode component compensation (floating point module)

Implementation of fast orbit feedback EPICS Collaboration Meeting, BNL, 2010 Single mode component compensation (floating point module) Simulated BPM data Simulated input matrix Single mode component Single mode component with compensation

Implementation of fast orbit feedback EPICS Collaboration Meeting, BNL, 2010 Single mode component compensation (compare fixed point and floating point module)

Implementation of fast orbit feedback SystemGenerator: floating point with fixedx point EPICS Collaboration Meeting, BNL, 2010

Implementation of fast orbit feedback EPICS Collaboration Meeting, BNL, 2010 Single mode component compensation (compare FPGA fixed point and Matlab floating point calculation) Calculation difference for single mode component Calculation difference for single mode component with compensation

Implementation of fast orbit feedback EPICS Collaboration Meeting, BNL, 2010 Single mode component compensation (FPGA hardware co-simulation and Matlab floating point calculation)

Implementation of fast orbit feedback Compare FPGA hardware co-simulation results and Matlab floating point calculation EPICS Collaboration Meeting, BNL, 2010

Implementation of fast orbit feedback Flexible frequency compensation in FPGA for each eigenmode EPICS Collaboration Meeting, BNL, Hz notch filter 200KHz low path filter

Implementation of fast orbit feedback Calculation for corrector setting (one plane) One modeTotal Speed(240+12)*10 = 2520ns (90+8)*10 =3500ns Accuracy<10ppm BRAM Resource (Virtex5FX70) 1% of BRAM33% of BRAM DSP ResourceDepend on the compensation design. Need lots of DSP resource to compensate for all eigenmodes. Virtext5 (Virtex 6) provides many DSP resources to achieve single mode compensation requirement. EPICS Collaboration Meeting, BNL, 2010

Corrector setpoint to power supply system Orbit feedback system architecture Master (PSC master, Cell controller) PSC TX RX TX RX TX RXTX RX TX RX TX RX TXRX TX RX TX RX TXRX TX RX TX RXTX RX Power supply SDI link RX TX RX TX RX TX RX TX RX TX EPICS Collaboration Meeting, BNL, 2010  Redundant 100Mbps link to deliver FOFB calculation results (corrector setpoints) to PSC  Dynamic ID assignment  Flexible package size  Simply cabling between PSCs and cell controller.

Progress EPICS Collaboration Meeting, BNL, 2010 BPM – finished first revision SFP for fiber SDI link RF signal inputs V5 FPGA 4 ADC channels 256MB DDR2 GigE to EPICS IOC

Progress EPICS Collaboration Meeting, BNL, 2010 Cell Controller – finished first revision SFP for fiber SDI link V5 FPGA 256MB DDR2 16 isolated TTL inputs 12 50Ohm TTL outputs 4 analog outputs 2 PS SDI links GigE to EPICS IOC

Progress EPICS Collaboration Meeting, BNL, 2010 Power supply controller – in production 1 = JTAG connectors – Programming to FPGA and CPLD. 2 = RS232 port – Communication to PC for diagnostic and software development. 3 = DDR2 memory modules – PS diagnostic data, CPU memory. 4 = SDI connectors – Communication between PSC master (or cell controller) and PSC slaves. 5 = Fiber transceiver – Communication with PSI. 6 = Ethernet connector – Communication to EPICS IOC for PSC master. 7 = FPGA (Spartan3A) 8 = CPLD(8a) & SPI memory(8b) – Dual boot and remote programming functions. 7a a 8b 7

Progress BPM hardware (DFE and AFE) passed the first revision. The second revision is underway. Cell controller (DFE and IO board) passed the first revision. BPM FOFB data measurement is tested with lab simulated data and real beam data. BPM FOFB data delivery (fiber SDI link) is tested. FOFB calculation is tested. Power supply SDI link is tested. Power supply controller is in production. We are working on the FOFB system integration. It includes integration of BPM, cell controller and power supply controller units. EPICS Collaboration Meeting, BNL, 2010

Summary NSLS-II tow tier structure provides fast and deterministic data transfer for BPM data (BPM to cell controller), and power supply setpoints (cell controller to power supply controller). Cell controller is the central data concentrator/generator that has all the necessary data for FOFB calculation and needs no extra data shuffling. All BPM and power supply data bits are put “on wire” once. NSLS-II FOFB is taking advantages of the two tier structure and the parallel computation capability of FPGA to implement a unique FOFB algorithm that can carry compensation for each eigenmode. NSLS-II will be the first facility to implement such FOFB approach. NSLS-II FOFB hardware, firmware and software design will be fully open to the community. For more hardware and firmware details, please go to tomorrow’s “Open Hardware Development Workshop”. EPICS Collaboration Meeting, BNL, 2010

Acknowledgments FOFB algorithm Lihua Yu Igor Pinayev BPM/ Cell controller development Kurt Vetter Joseph Mead Joseph De Long Kiman Ha Alfred Dellapenna Yong Hu Guobao Shen Om Singh Bob Dalesio PSC and PS design Wing Louie John Ricciardelli George Ganetis