22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Diamond Light Source Beam Stabilization Feedback System Mark Heron, Head of.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
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
Vanderbilt University Vibro-Acoustics Laboratory 1 Decentralized Structural Acoustic Control of a Launch Vehicle Payload Fairing Kenneth D Frampton Dept.
1 Slow Global Orbit Feedback at Pohang Light Source (PLS) Heung-Sik Kang Pohang Accelerator Laboratory Pohang, Korea.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
1 Performed By: Khaskin Luba Einhorn Raziel Einhorn Raziel Instructor: Rivkin Ina Spring 2004 Spring 2004 Virtex II-Pro Dynamical Test Application Part.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
FONT4 Status Report Glenn Christian John Adams Institute, Oxford for FONT collaboration.
1 Today I/O Systems Storage. 2 I/O Devices Many different kinds of I/O devices Software that controls them: device drivers.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLS-II Stability Workshop April , 2007 NSLS-II Electrical Systems G. Ganetis NSLS-II Electrical Systems NSLS-II.
INPUT-OUTPUT ORGANIZATION
May 9, USB 2.0 High Bandwidth Peripheral Design Challenges Robert Shaw Cypress Semiconductor Robert Shaw Cypress Semiconductor
Status & operational experience of Liberas at SSRF Leng Yongbin, Yan Yingbing, Zhou Weimin, Chen Yongzhong Ye Kairong, Yuan Renxian, Zou Yi, Yu Luyang,
29/06/2007FOFB at Diamond1 Fast Orbit Feedback (FOFB) at Diamond Guenther Rehm, Head of Diagnostics Group.
Introduction to Interconnection Networks. Introduction to Interconnection network Digital systems(DS) are pervasive in modern society. Digital computers.
ECE 526 – Network Processing Systems Design Network Processor Architecture and Scalability Chapter 13,14: D. E. Comer.
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.
A Shaft Sensorless Control for PMSM Using Direct Neural Network Adaptive Observer Authors: Guo Qingding Luo Ruifu Wang Limei IEEE IECON 22 nd International.
Characterization of Fast Orbit Feedback System Om Singh, APS, ANL NSLS-2 Beam Stability Workshop BNL, April 18-20, 2007.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Fast Orbit Feedback - BPM to PS Yuke Tian Control Group, Accelerator Division Photon Sciences Directory Brookhaven National Lab EPICS Collaboration Meeting,
Feedback on Nanosecond Timescales (FONT) - Review of Feedback Prototype Tests at ATF(KEK) Glenn Christian John Adams Institute, Oxford for FONT collaboration.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Power Supply Control at NSLS-II Yuke Tian Control Group, NSLS-II, BNL (May 1, 2009 EPICS Collaboration Meeting, Vancouver)
SPIE, PA-IVKrzysztof Czuba1 Improved fiber-optic link for the phase reference distribution system for the TESLA technology based projects Krzysztof.
J. Christiansen, CERN - EP/MIC
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Tomasz Czarski, Maciej Linczuk, Institute of Electronic Systems, WUT, Warsaw LLRF ATCA.
Micro-Research Finland Oy Components for Integrating Device Controllers for Fast Orbit Feedback Jukka Pietarinen EPICS Collaboration Meeting Knoxville.
An Approach to Stabilizing Large Telescopes for Stellar Interferometry It shakes like a…. [G. Vasisht, 31 March 2006] N. Di Lieto J. Sahlmann, G. Vasisht,
Orbit Control For Diamond Light Source Ian Martin Joint Accelerator Workshop Rutherford Appleton Laboratory28 th -29 th April 2004.
Problems setting-up the ALBA FOFB Problems setting-up the ALBA FOFB DEELS May - ESRF Angel Olmos.
Data Logging Solution for Digital Signal Processors Brian Newberry Nekton Research, Inc. James M. Conrad University of North.
1 BROOKHAVEN SCIENCE ASSOCIATES Issues on Closed Orbit Feedback for NSLSII NSLS-II Stability Workshop April 18-20, 2007 Li-Hua Yu.
4/19/20021 TCPSplitter: A Reconfigurable Hardware Based TCP Flow Monitor David V. Schuehler.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
FEEDBACK CONTROL SYSTEMS
14th ESLS RF Workshop ELETTRA / Trieste, Italy / 2010 September The Elettra Storage Ring and Top-Up Operation Emanuel Karantzoulis.
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.
Diagnostics and Optimization Procedures for Beamline Control at BESSY A. Balzer, P. Bischoff, R. Follath, D. Herrendörfer, G. Reichardt, P. Stange.
1 Farm Issues L1&HLT Implementation Review Niko Neufeld, CERN-EP Tuesday, April 29 th.
1 BROOKHAVEN SCIENCE ASSOCIATES Open-Source Distributed Deterministic Device Control Larry Doolittle Alex Ratti Bob Dalesio.
Spring EE 437 Lillevik 437s06-l22 University of Portland School of Engineering Advanced Computer Architecture Lecture 22 Distributed computer Interconnection.
S.Anvar, V.Gautard, H.Le Provost, F.Louis, K.Menager, Y.Moudden, B.Vallage, E.Zonca, on behalf of the KM3NeT consortium 1 IRFU/SEDI-CEA Saclay F
IoP HEPP/APP annual meeting 2010 Feedback on Nanosecond Timescales: maintaining luminosity at future linear colliders Ben Constance John Adams Institute,
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
1 Jean-Claude DENARD Workshop on Accelerator R&D for Ultimate Storage Rings Version 2.0 ORBIT FEEDBACK SYSTEMS and XBPMs J-C. Denard, N. Hubert * and L.
박 유 진.  Short RF Range(~10m)  Reduce range by obstruction  Low data rate(1Mbps)  Normal Audio data rate : 1.5 Mbps  CD Quality Audio data rate :
Status and Plans for Xilinx Development
Fast Global Orbit Feedback for the Australian Synchrotron Eugene Tan Accelerator and Operations 13/12/20101 ACAS Workshop on Accelerator Feedback Systems.
Firmware and Software for the PPM DU S. Anvar, H. Le Provost, Y.Moudden, F. Louis, E.Zonca – CEA Saclay IRFU – Amsterdam/NIKHEF, 2011 March 30.
FONT4 Status Report Glenn Christian John Adams Institute, Oxford for FONT collaboration.
Bunch by bunch feedback systems for KEKB Makoto Tobiyama KEK Accelerator Laboratory.
RF Control Electronics for Linacs Overview of activities at Electronics Division, BARC RF control electronics for: 1.Super-conducting Heavy Ion Linacs.
2nd Libera Users’ Meeting 3rd and 4th of April 2008 ALBA
Dither Luminosity feedback versus Fast IP feedback
Status of the ASTRID2 facility
SOLEIL Fast Orbit Feedback System
Guenther Rehm, Head of Diagnostics Group
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.
Reflective Memory vs. Ethernet Evaluating Data Network Hardware Solutions for LCLS Fast Feedback Controls Marya Pearson.
Estimation of the orbit feedback performance for HEPS
Fast Orbit Feedback at the SLS
Presentation transcript:

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Diamond Light Source Beam Stabilization Feedback System Mark Heron, Head of Control Systems

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Describe Orbit Stabilization feedback system applied to Diamond Storage Ring –Requirements –Feedback Process –Feedback Controller –Communication Controller –Computation –Structure –Installation –Performance

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Requirements Overall requirement –To stabilise the electron beam in the SR to maximise photons on the experiment sample Detail requirements for Beam Stabilization Feedback System –For the photon beam position to be reproducible fill to fill of SR –To keep the photon beam stable on the sample –To keep the electron beam stable to better than 10% of dimensions in X and Y and 10% opening angle –Over a time scale of 10s mSec to days

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Requirements Long term - Years/Months –Ground settling –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 There are a number of ongoing beam disturbances to suppress

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Feedback Process 7 x X and 7 x Y per Cell ( Total of 336) BPM Positions (Sensors) 7x X and 7 x Y per Cell (Total of 336) Corrector Magnets (Actuators)

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Feedback Process Orbit feedback is an example of a cross-directional control problem Each sensor and actuator can be reasonably assumed to have the same dynamics The response the linear map from actuator effort to sensor position Regulators [168] Vector Product ΣΣ Vector BPM Setpoints [168] Vector DC Setpoints [168] Inverse Response Matrix Accelerator Vector of BPM Positions[168] Vector of Corr Magnet Values[168]

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Feedback Process Orbit Feedback is made up of three parts –Feedback algorithm Maintains required stability –Communication Controller Take data from 168 x 2 BPM monitors distributed over 561m to Computation Nodes –Computation Nodes for feedback algorithm Calculate correction values in real-time Write correction values to the power supplies for the magnets Realise the required performance sample rate Fs=10kHz –All of above in ~100usec

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Feedback Controller Response Matrix maps from actuators ( Corrector Magnets) to monitors (BPMs) For Feedback we need to go from monitors (BPMs) to actuators ( Corrector Magnets) Use Signal Value Decomposition of the Response Matrix to get the pseudo Inverse Responsive Matrix This is ill-conditioned hence increases sensitivity to BPMs noise. Apply regularization to scale the singular values in calculating the pseudo-inverse Regularized pseudo Inverse Responsive Matrix gives a robust map from monitors ( BPMs) to actuators (Corrector Magnets) Response Matrix Inverse Response Matrix

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System FOFB Latencies / Bandwidth Libera BPM Group delay of FIR: 148 µs Libera BPM Group delay of 2 IIR: <71 µs Distribution of data around ring: 50 µs DMA transfer to CPU: 49 µs Conversion integer to float : 5 µs Matrix multiplication 2*7*168: 4 µs PID controller :1 µs Write into PS controller: 3 µs Total: <331 µs Magnet/chamber estimated to have 500 Hz BW Bandwidth of PS controller currently limits loop (set to 100Hz, but programmable)

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Measure the plant open loop characteristic –First order response plus delay At Ts= 100usec the delay ~4 x Ts Orbit Feedback: Feedback Open Loop Response

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Feedback Controller Use an Internal Model Controller (IMC) which uses a process model in the feedback loop to remove process effects from the feedback loop IMC gives a single parameter to optimise and leads to better performance and robustness than the traditional controllers (PID) on systems with a delays. Built a model for SISO version of the system, plant model and gain controller Optimised for stability and robustness –Determined by Gain and Phase margins Σ Σ Σ G c Controller G PM Process Model G p Process Y Output Disturbance D U Input on Process R Set Point E Error Internal Model Controller _ _

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Communication Controller Requirements for communications –Move the data from 168 BPMs to the Computation nodes in deterministic time Performance –Time budget 50usec Reliability of data transfer –Cope with data loss, but can’t retransmit Resilience to loss of connection(s) or node(s) –Need to recover or resume operation from loss of nodes or connections Considered using standard product or protocols –Reflective memory –MAC/IP/TCP/UDP don’ fit well with above Commercial solutions didn’t meet requirements hence designed the Communication Controller

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Communication Controller Each Node is connected to at least 2 other Nodes At start of frame, a Node (Libera BPM unit) forwards its data on each link All data received on any input link forwarded once on all outputs Same basic design used inside Libera BPM and inside Computation Node receiver Low latency, high reliability communication network. Utilise the available Xilinx FPGA Rocket IO interface on Libera BPM. Designed a packet forwarding Communication Controller in VHDL

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Communication Controller Packet payload (20 Bytes) 32 bit ID, time frame count, status, flags 32 bit x-Position [nm] 32 bit y-Position [nm] 32 bit BPM Sum 32 bit Time Stamp [nsec] SOP20 Bytes dataCRC32EOPidle Packet Framing (10 Bytes) 16 bit SOP 32 bit CRC32 16 bit EOP 16 bit idle Define communication packet 30 bytes Bit rate of 2.5Gbps gives link speed incl. 8b/10b = 250MB/s Packet transmission time for MB/s = 120ns Minimal total transmission time 2 planes (168 * 120nsec) = 20.16us

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Click to start Click to finish BPM 1 DATA COMPUTE NODE ALL BPM DATA BPM 2 DATABPM 3 DATABPM 4 DATA COMPUTE NODE ALL BPM DATA Communication Frame No 1

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Communication Frame No 2 Click to start Click to finish COMPUTE NODE ALL BPM DATA COMPUTE NODE ALL BPM DATA BPM 1 DATABPM 2 DATABPM 3 DATABPM 4 DATA

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Click to start Click to finish COMPUTE NODE ALL BPM DATA COMPUTE NODE ALL BPM DATA Communication Frame No 3 BPM 1 DATABPM 2 DATABPM 3 DATABPM 4 DATA

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Click to start Click to finish COMPUTE NODE ALL BPM DATA COMPUTE NODE ALL BPM DATA Communication Frame No 4 BPM 1 DATABPM 2 DATABPM 3 DATABPM 4 DATA

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Communication Controller Computation Node BPM Monitors One Cell Actual network is connected as Torus Data distribution < 40usec Robust to loss of link(s) or node(s) –With loss of links or nodes the propagation delay increases but with 50usec budget.

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Computation Data move from Communication Controller interface into processor memory Computation aspects breaks down into 3 parts –Mapping from monitor to actuator space Matrix multiplication –Appling the IMC regulator Realised as a 5 th order IIR on each of 168 x 2 actuator inputs Multiply accumulate –Appling rate of change limiter and bounds checking to preserve the beam and enable smooth starting and stopping Logic and arithmetic Data move from processor to Power Supplies.

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Computation Use MVME5500 for embeded VME Systems Features –1GHz MHz MPC7455 PowerPC Processor –Cache 32K L1, 256K L2, 2 MB L3 –Gigabit Ethernet and Fast Ethernet Port –Two PCI 64-bit/66 MHz PMC-Sockets To interface Communication Controller AltiVec Coprocessor –Fixed-length vector operation –Single Instruction Multiple Data –Optimized for digital signal processing Multiply, Multiply-accumulate –2.2 Gigaflops/sec Use VxWorks as RTOS

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Computation 168 Correctors Inverse Response Matrix BPM = * Correctors Sub Matrix of Inverse Response Matrix BPM = * Using AltiVec processor –Full Response Matrix x2 multiplication take 96 usec Partition the problem –Calculate 1/24 th of the corrector values ie one Cells worth in 4usec –Regulation takes 1usec on PPC processor But requires 24 processors boards –Fits well with the distributed nature of the problem

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Processor Controls Network PS VME crate eBPM Cell -m Cell -n Cell +n Cell +m Orbit Feedback: Structure (one of 24 cells) 14 Corrector PSUs PSU 1PSU 14 PSU IF … Event Network FB Processor PMC Rocket IO Event Rx

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Installation (one of 24 cells) Computation Node Corrector power supplies BPM Monitors

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Controller Performance

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Performance 60mA Suppression of beam motion

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Orbit Feedback: Performance

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Communications Controller Availability The Diamond Communication controller is now being used on Soleil, Delta and ESRF Its available from Diamond (without support) or from ITech as an option on the Libera BPM with commercail support

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Acknowledgement This is the work of many people. Including Diamond Control Systems Group, Steven Duncan (Oxford University), Leo Breuss (Super Computing Systems) and others.

22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Questions?