SOLEIL Fast Orbit Feedback System

Slides:



Advertisements
Similar presentations
22-23/06/20093 rd Libera Users Meeting, ESRF1 3 years of experience of Libera BPMs at SOLEIL Nicolas HUBERT Synchrotron SOLEIL On behalf of Diagnostics.
Advertisements

Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
ESODAC Study for a new ESO Detector Array Controller.
Network Data Organizational Communications and Technologies Prithvi N. Rao Carnegie Mellon University Web:
Detector Array Controller Based on First Light First Light PICNIC Array Mux PICNIC Array Mux Image of ESO Messenger Front Page M.Meyer June 05 NGC High.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLS-II Stability Workshop April , 2007 NSLS-II Electrical Systems G. Ganetis NSLS-II Electrical Systems NSLS-II.
29/06/2007FOFB at Diamond1 Fast Orbit Feedback (FOFB) at Diamond Guenther Rehm, Head of Diagnostics Group.
Power Supply Controller Architecture
3 rd Libera Users Meeting – June 2009 Preparation work for ALBA’s Closed-Orbit BPMs 1/33 Preparation work for ALBA’s Closed-Orbit BPMs 3rd Libera Users.
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.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
OPTO Link using Altera Stratix GX transceiver Jerzy Zieliński PERG group Warsaw.
Digital Signal Processing and Generation for a DC Current Transformer for Particle Accelerators Silvia Zorzetti.
Power Supply Control at NSLS-II Yuke Tian Control Group, NSLS-II, BNL (May 1, 2009 EPICS Collaboration Meeting, Vancouver)
Beam phase and intensity measurement Grzegorz Kasprowicz Richard Jacobsson.
Problems setting-up the ALBA FOFB Problems setting-up the ALBA FOFB DEELS May - ESRF Angel Olmos.
CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
ALBA Vacuum System, E. Al-Dmour Vacuum Systems for Synchrotron Light Sources 12 th -13 th Sep ALBA Vacuum System ALBA VACUUM SYSTEM E. Al-Dmour On.
22/4/2009 Mark Heron Diamond Light Source Beam Stabilization Feedback System Diamond Light Source Beam Stabilization Feedback System Mark Heron, Head of.
1 Chapter 7 Switching, Packets, Frames, Parity, Checksums, and CRCs.
Point to Point connections
Multi-objective Topology Synthesis and FPGA Prototyping Framework of Application Specific Network-on-Chip m Akram Ben Ahmed Xinyu LI, Omar Hammami.
1 BROOKHAVEN SCIENCE ASSOCIATES Open-Source Distributed Deterministic Device Control Larry Doolittle Alex Ratti Bob Dalesio.
H-RORC HLT-Meeting CERN 02/06/05 Torsten Alt KIP Heidelberg.
17/02/06H-RORCKIP HeidelbergTorsten Alt The new H-RORC H-RORC.
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.
Fast Global Orbit Feedback for the Australian Synchrotron Eugene Tan Accelerator and Operations 13/12/20101 ACAS Workshop on Accelerator Feedback Systems.
BIS main electronic modules - Oriented Linac4 - Stéphane Gabourin TE/MPE-EP Workshop on Beam Interlock Systems Jan 2015.
SESAME TL2 and SR Diagnostics
Chapter 2 PHYSICAL LAYER.
2nd Libera Users’ Meeting 3rd and 4th of April 2008 ALBA
Serial Communications
Simple Parity Check The simplest form of error detection is the parity check used with ASCII codes, originally on asynchronous modem links Each 7 bit ASCII.
Beam Wire Scanner (BWS) serial link requirements and architecture
A monitoring system for the beam-based feedbacks in the LHC
J. Wenninger AB-OP-SPS for the non-dormant AB feedback team,
Libera and ELETTRA Marco Lonza, Giulio Gaio, Vincenzo Forchi’
Status of the ASTRID2 facility
Part III. Data Link Layer
FIRST REVIEW.
Communication Networks: Technology & Protocols
Injectors BLM system: PS Ring installation at EYETS
DT80 range Modbus capability
Image frequency rejection ratio
Guenther Rehm, Head of Diagnostics Group
SOLEIL Fast Orbit Feedback 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.
GlueX Electronics Review Jefferson Lab July 23-24, 2003
Packetizing Error Detection
A Comparison of Field Programmable Gate
Packetizing Error Detection
Latency measurements on the ALBA Electron units
Combiner functionalities
Status and experience of Liberas at Soleil
Beam-Based Alignment Results
Transmission Errors Error Detection and Correction
Lecture 5- Data Link Layer
Packetizing Error Detection
Packets, Frames, Parity, Checksums, and CRCs
Error Detection and Correction
Packets, Frames, Parity, Checksums, and CRCs
Error Detection and Correction
Transmission Errors Error Detection and Correction
Switching, Packets, Frames, Parity, Checksums, and CRCs
Introduction SYSC5603 (ELG6163) Digital Signal Processing Microprocessors, Software and Applications Miodrag Bolic.
Presentation transcript:

SOLEIL Fast Orbit Feedback System Architecture and FPGA implementation Nicolas HUBERT Synchrotron SOLEIL On behalf of Diagnostics group 3-4/04/2008 2nd Libera Users Meeting, ALBA

2nd Libera Users Meeting, ALBA Summary FOFB principle FOFB architecture FPGA implementation Generalities Communication Matrix multiplication PI Controller Latency FPGA resources 3-4/04/2008 2nd Libera Users Meeting, ALBA

2nd Libera Users Meeting, ALBA FOFB principle An ‘all embedded’ solution All the processing of the FOFB is done in the Libera FPGA, on top of the position calculation provided by Instrumentation Technologies FA position data from other Liberas Current set point to power supplies Configuration /monitoring 3-4/04/2008 2nd Libera Users Meeting, ALBA

2nd Libera Users Meeting, ALBA FOFB principle (2) dedicated power-supplies FRONT BPM BACK 48 dedicated air coil correctors over stainless steel bellows at each side of the straight sections. 3-4/04/2008 2nd Libera Users Meeting, ALBA

Inversed response matrix (SVD) FOFB architecture (1) Processing is done in 48 Liberas (1 per corrector) using the FPGA resources. 1 column ΔXi or ΔZi 120 columns 120 lines 1 line line 1 120 columns 1 column 1 column ΔXi or ΔZi 120 columns 120 lines Inversed response matrix (SVD) ΔXi or ΔZi 48 lines 1 line line i 120 lines 1 column ΔXi or ΔZi 120 columns 120 lines 1 line line 48 3-4/04/2008 2nd Libera Users Meeting, ALBA

2nd Libera Users Meeting, ALBA FOFB architecture (2) CELL N To cell N+1 LIBERA Air-coil magnet POWER SUPPLY LIBERA LIBERA LIBERA POWER SUPPLY LIBERA LIBERA Air-coil magnet To cell N-1 LIBERA 2 conductor copper cable Optic link Copper link RS485 link 3-4/04/2008 2nd Libera Users Meeting, ALBA

2nd Libera Users Meeting, ALBA FOFB architecture (3) Libera rack (7 or 8 units) Power supply rack (2 or 4 units) Air-coil magnet (2 planes) Optic fiber RS 485 link 2 conductor copper cable 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Generalities All the FPGA programming has been done using textual code: Instrumentation Technologies part => Verilog Soleil part => VHDL Simulation with Modelsim 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Data processing Instrumentation Technologies FPGA design CC Rocket I/Os Cx Cz Matrix multiplication Control RS 485 PI controller ΔX, ΔZ Rx, Rz ΔIx ΔIz Ix fofb_top 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Communication Communication Controller: Designed by Diamond Light Source (I. Uzun). Allows the distribution of all FA data to every Libera. All 120 Liberas are connected to the dedicated network for a global feedback. Protocol is topology independent Start of time frame: each Libera sends its X and Z data to all neighbours over the network When receiving a new packet, CC stores data and sends them to all neighbours If the packet has already been received, it is discarded. 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Communication RS 485 serial link to power supplies: One way communication: Libera => power-supply Simple protocol: 22 bits per frame: 16 bits for data (15 bits+1 for the sign) 2 bits for parity 4 bits for synchronization (start/stop) Link rate is 1.25 Mbits/s Transmission delay is around 20 µs 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Matrix multiplication Performed by a 120 cycles Multiply Accumulator Core Generated by Coregen utility from Xilinx Multiplications are done serially for one plane The same core used for both planes, one after the other BRAM 120 R-1X R-1Y ΔX ΔY Multiply Accumulator Core result ready Registers ΔIX ΔIZ 3-4/04/2008 2nd Libera Users Meeting, ALBA

previous current setting Matrix multiplication result FPGA Implementation: Controller PI controller is used Proportional coefficient is not implemented in the FPGA the inverse response matrix is multiplied by the right coefficient before being sent to the FPGA Integrator part is an accumulator with a configurable coefficient IN = ΔIN + coeff * IN-1 Next current setting previous current setting Matrix multiplication result 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Rounding after division All values in the data processing are integers All parameters are multiplied by a power of 2 and rounded before being sent to the FPGA in order to have a good enough precision as an integer. => Result needs to be divided by the same value With a power of 2, the division is easy => Suppression of less significant bits With 2’complement coding method this division rounded the result to the lower integer Example: division by 2^2 +15  00001111 gives 000011 + 3 - 15  11110001 gives 111100 - 4 Introduction of a noise with a non-zero mean value: - No effect if all singular values are kept when inverting the matrix - Drift of the correctors current if not 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Monitoring Fast Feedback Application Interface (provided by I-Tech) allows retrieving 8 32-bit data from Fast Feedback Application to control system at SA rate (~10 Hz). => Monitoring of the setting points sent to the power supplies - mean value - min/max detection over 1024 timeframes Va, Vb,Vc, Vd, X, Y, Q, Sum average IX, IZ min/max IX IY unused 3-4/04/2008 2nd Libera Users Meeting, ALBA

2nd Libera Users Meeting, ALBA Processing latency Position processing 190 µs Data Distribution 60 µs Matrix Multiplication 5 µs PI controller 1 µs Serialization and transmission to PS 20 µs FPGA delay ~280 µs Power supply latency Eddy currents in vacuum chamber ~60 µs 3-4/04/2008 2nd Libera Users Meeting, ALBA

FPGA Implementation: Resources Design Summary -------------- Number of occupied Slices: 11,078 out of 13,696 80% Number of Block RAMs: 119 out of 136 87% Number of MULT18X18s: 72 out of 136 52% Lack of multipliers in the FPGA (sharing the same resources as 32 bits Block RAM) Numbers of Rocket I/O ports is limited to 2. No redundancy in the dedicated network (simple ring for the moment). If one link fails, the packet doesn’t have enough time to reach all BPMs. In this case data propagation >90 µs Neutrino_dsc_crosstalk_comp.v block uses 16 multipliers and 16 BRAMs (16 bits) =>As this block is inefficient for crosstalk compensation, I-Tech must have removed it in release 1.80 3-4/04/2008 2nd Libera Users Meeting, ALBA

2nd Libera Users Meeting, ALBA FOFB Sniffer Allows to record and retrieve Fast Acquisition data from the dedicated network to the control system. Verification of the good communication Spectrum analysis of the beam noise Implementation Commercial card to be implemented in a compact PCI Same behaviour than the Libera except there is no own data injected on the network. Can record on demand up to 30 seconds of continuous FA data 3-4/04/2008 2nd Libera Users Meeting, ALBA