FLASH rf gun. beam generated within the (1.3 GHz) RF gun by a laser. filling time: typical 55 μs. flat top time: up to 800 μs

Similar documents
Low-Level RF. S. Simrock, DESY. MAC mtg, May 05 Stefan Simrock DESY

Cavity Field Control - RF Field Controller. LLRF Lecture Part3.3 S. Simrock, Z. Geng DESY, Hamburg, Germany

Software Requirements Specification for LLRF Applications at FLASH Version 1.0 Prepared by Zheqiao Geng MSK, DESY Nov. 06, 2009

Borut Baricevic. Libera LLRF. 17 September 2009

Digital Signal Processing in RF Applications

Cavity Field Control - Feedback Performance and Stability Analysis. LLRF Lecture Part3.2 S. Simrock, Z. Geng DESY, Hamburg, Germany

MIMO-LTI Feedback Controller Design -Status report-

Digital Self Excited Loop Implementation and Experience. Trent Allison Curt Hovater John Musson Tomasz Plawski

Improvements of the LLRF system at FLASH. Mariusz Grecki, Waldemar Koprek and LLRF team

Microphonics. T. Powers

COMPLEX ENVELOPE CONTROL OF PULSED ACCELERATING FIELD

Software Design Specification for LLRF Applications at FLASH Version 1.0 Prepared by Zheqiao Geng MSK, DESY Nov. 16, 2009

The low level radio frequency control system for DC-SRF. photo-injector at Peking University *

Digital LLRF Test on the Renascence Cryomodule

Superconducting cavity driving with FPGA controller

RF Systems I. Erk Jensen, CERN BE-RF

Homework Assignment 13

Dark Current Kicker Studies at FLASH

Digital Logic, Algorithms, and Functions for the CEBAF Upgrade LLRF System Hai Dong, Curt Hovater, John Musson, and Tomasz Plawski

RF System Models and Longitudinal Beam Dynamics

SNS LLRF Design Experience and its Possible Adoption for the ILC

Homework Assignment 13

Beam Diagnostics, Low Level RF and Feedback for Room Temperature FELs. Josef Frisch Pohang, March 14, 2011

AWG-GS bit 2.5GS/s Arbitrary Waveform Generator

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

Automatic phase calibration for RF cavities using beam-loading signals. Jonathan Edelen LLRF 2017 Workshop (Barcelona) 18 Oct 2017

Functional block diagram for SIS8300. Christian Schmidt for the LLRF team Collaboration workshop

Direct Digital Down/Up Conversion for RF Control of Accelerating Cavities

RF Locking of Femtosecond Lasers

CHAPTER 9 FEEDBACK. NTUEE Electronics L.H. Lu 9-1

(i) Determine the admittance parameters of the network of Fig 1 (f) and draw its - equivalent circuit.

New Technique Accurately Measures Low-Frequency Distortion To <-130 dbc Levels by Xavier Ramus, Applications Engineer, Texas Instruments Incorporated

LLRF Operation and Performance of the European XFEL. An overview

Review on Progress in RF Control Systems. Cornell University. Matthias Liepe. M. Liepe, Cornell U. SRF 2005, July 14

Glossary of VCO terms

Predictions of LER-HER limits

Dark current Monitor for the European XFEL D. Lipka, W. Kleen, J. Lund-Nielsen, D. Nölle, S. Vilcins, V. Vogel; DESY Hamburg

INTRA-TRAIN LONGITUDINAL FEEDBACK FOR BEAM STABILIZATION AT FLASH

Advanced AD/DA converters. Higher-Order ΔΣ Modulators. Overview. General single-stage DSM II. General single-stage DSM

EUROFEL-Report-2006-DS EUROPEAN FEL Design Study

- RF Master-Reference Update (F.Ludwig, H.Weddig - DESY, K.Czuba - TU Warsaw) - Beam Stability Update (C.Gerth, F.Ludwig, G.

레이저의주파수안정화방법및그응용 박상언 ( 한국표준과학연구원, 길이시간센터 )

Homework Assignment 03

State of the Art in RF Control

Design and performance of LLRF system for CSNS/RCS *

Digitally controlled Active Noise Reduction with integrated Speech Communication

BSNL TTA Question Paper Control Systems Specialization 2007

Baseband simulation model of the vector rf voltage control system for the J-PARC RCS

arxiv: v1 [physics.acc-ph] 23 Mar 2018

CHAPTER. delta-sigma modulators 1.0

Operational Amplifiers

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Advanced AD/DA converters. Higher-Order ΔΣ Modulators. Overview. General single-stage DSM. General single-stage DSM II ( 1

FLASH. FLASH Training: RF Gun. FLASH: the first soft X-ray FEL operating two undulator beamlines simultaneously. Siegfried Schreiber, DESY

Bunch-by-Bunch Broadband Feedback for the ESRF

Infinite Impulse Response Filters

Performance Evaluation of the Upgraded BAMs at FLASH

ELC224 Final Review (12/10/2009) Name:

Analog Electronics. Lecture Pearson Education. Upper Saddle River, NJ, All rights reserved.

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE

Chapter X Measuring VSWR and Gain in Wireless Systems By Eamon Nash

Real-Time Digital Down-Conversion with Equalization

FLASH at DESY. FLASH. Free-Electron Laser in Hamburg. The first soft X-ray FEL operating two undulator beamlines simultaneously

CA330 RTD Calibrator: High-speed Response and High-resolution Resistance Simulator

Reconfigurable 6 GHz Vector Signal Transceiver with I/Q Interface

ALICE SRF SYSTEM COMMISSIONING EXPERIENCE A. Wheelhouse ASTeC, STFC Daresbury Laboratory

R.Bachimanchi, IPAC, May 2015, Richmond, VA

Homework Assignment 06

10th ESLS RF Meeting September ALBA RF System. F. Perez. on behalf of the ALBA RF Group. ALBA RF System 1/21

SELECTING RF AMPLIFIERS FOR IMPEDANCE CONTROLLED LLRF SYSTEMS - NONLINEAR EFFECTS AND SYSTEM IMPLICATIONS. Abstract

LLRF4 Evaluation Board

Physics 303 Fall Module 4: The Operational Amplifier

Moku:Lab. Specifications INSTRUMENTS. Moku:Lab, rev

Digital Low Level RF for SESAME

Wideband Receiver for Communications Receiver or Spectrum Analysis Usage: A Comparison of Superheterodyne to Quadrature Down Conversion

FlexLab and LevLab: A Portable Lab for Dynamics and Control Teaching

C100 Cryomodule. Seven cell Cavity, 0.7 m long (high Q L ) 8 Cavities per Cryomodule Fits the existing Cryomodule footprint

Microelectronic Circuits II. Ch 9 : Feedback

Measurement Setup for Bunched Beam Echoes in the HERA Proton Storage Ring

Operational Amplifier BME 360 Lecture Notes Ying Sun

The TESLA Linear Collider. Winfried Decking (DESY) for the TESLA Collaboration

THE BENEFITS OF DSP LOCK-IN AMPLIFIERS

Behavior of the TTF2 RF Gun with long pulses and high repetition rates

Readout Electronics. P. Fischer, Heidelberg University. Silicon Detectors - Readout Electronics P. Fischer, ziti, Uni Heidelberg, page 1

Performance of the Prototype NLC RF Phase and Timing Distribution System *

CERN EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH DESIGN OF PHASE FEED FORWARD SYSTEM IN CTF3 AND PERFORMANCE OF FAST BEAM PHASE MONITORS

Analog Communication.

Chapter IX Using Calibration and Temperature Compensation to improve RF Power Detector Accuracy By Carlos Calvo and Anthony Mazzei

Signals. Periodic vs. Aperiodic. Signals

INTEGRATED CIRCUITS DATA SHEET. TDA1596 IF amplifier/demodulator for FM radio receivers. Product specification File under Integrated Circuits, IC01

Low Level RF. Part 2: Cavity Controller, Problems and Cures CAS RF. P. Baudrenghien CERN-BE-RF. 3. What will go wrong? 4. Power amplifier limits

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Application Note (A12)

Technical Datasheet UltraScope USB

Homework Assignment 10

DEVELOPMENT OF A DLLRF USING COMERCIAL UTCA PLATFORM

Lecture 9. Lab 16 System Identification (2 nd or 2 sessions) Lab 17 Proportional Control

National Accelerator Laboratory

Section 6 Chapter 2: Operational Amplifiers

DAC and Vector Modulator DC offset calibration

Transcription:

The gun RF control at FLASH (and PITZ) Elmar Vogel in collaboration with Waldemar Koprek and Piotr Pucyk th FLASH Seminar at December 19 2006

FLASH rf gun beam generated within the (1.3 GHz) RF gun by a laser filling time: typical 55 μs flat top time: up to 800 μs pulse repetition: up to 5 Hz high RF field: 40 MV/m FEL operation is sensitive to RF gun phase (0.5 deg) via the temperature the frequency is controlled (0.1 deg Celsius corresponds to 2.1 deg in RF phase)

Rf gun control by SimCon 3.1 and some new algorithms Implications of missing probe: calculation of probe form forward and reflected rf calibration is an issue Algorithms: P(I) control with recursive 20 khz low-pass (IIR) for stability at high gain (>5) Adaptive feed forward (AFF) from rf pulse to rf pulse set point table + 50MHz 1MHz + + + + + DAC AFF table + + t 0 FIR gate gun klystron pre-amp proportional gain integral gain 1 2 AFF gain track back IIR low-pass 1MHz ADC virtual rf probe 3 50MHz 4 + reset

first some theory

Envelope of RF cavity field: low pass (PT 1 -element) Amplitude/phase and IQ respectively obey a first order differential equation. Laplace transform results in the transfer function: d τ dt x r + r e 0 s t () t x () t = x () t dl e K G( s) = x x r e ( s) 1 = () s 1+ τ s Block diagram, representing the transfer function: x ( s) x r ( s) e G(s) Question: How to force the output signal to follow closer/faster the input signal?

Proportional control Feeding back the error signal x r x e x e( s ) x ( ) r s G(s) increases the bandwidth xr x e τ d dt x τ 1+ g () t + x () t = ( x () t g( x () t x () t )) x () t + x () t x () t r r e r e r r = response signal x r () t follows quicker the stimulation signal ( t) errors are suppressed by the factor 1 + g. d dt x e e

IQ instead of amplitude and phase quadrature (IQ) detection rather than dealing with amplitude and phase phase calibration by rotation matrices no manual phase adjustment needed! arbitrary RF signal v = v A I cos( ω t) + A Q sin( ω t) reference RF signal (same frequency) 90º shifted vri ω t v rq v r = cos( ) = sin( ω t) t t I/Q demodulation A I A Q

(IQ) loop phase determination non zero loop phase leads to an unwanted mixture of I and Q applying a step function (I only) and recording the response (example for f = 200 Hz) excitation & response in time domain response plotted in IQ plane

Spiral like cavity response the initial angle gives the loop phase final IQ values for different tuning describe a circle Alexander Brandts loop phase calibration methods are based on circle fitting cavity response for loop phase zero cavity response for loop phase 30º Plots for the sc 1.3 GHz TESLA cavities, the RF gun behaves similar!

Propagation time of signals (latency) Signals require time to propagate through cables, LLRF and high power RF. Numbers for the FLASH RF gun: 0.7 μs by cables klystron etc. 0.15 μs by FPGA (ADC to DAC) 0.35 μs by algorithm

Latency restricts proportional gain and loop stability A time delay leads to an unwanted positive feedback for higher frequencies negative feedback for low frequencies amplitude in arbitrary units amplitude in arbitrary units signal delay time 0 time in arbitrary units positice feedback for high frequencies signal delay time 0 time in arbitrary units feedback is stable feedback is unstable

Inspection of open loop transfer function bode plot loop is unstable if the phase shift is larger than 180 deg and the signal amplified by drawing Bode plots we can check whether this is the case we can operate the gun with a gain of about 3 (4 minus margin) (Gun bandwidth: 60 khz) amplitude (db) phase (deg) 0-5 -10-15 -20-25 0-45 -90-135 -180 10 3 10 4 10 5 10 6 frequency (Hz)

Suppression of high frequencies Suppression of high frequencies by the cavity bandwidth the restricted bandwidth of high power RF (e.g. klystron) and digital low pass filters in the LLRF. x ( s e ) klystron cavity x r ( s) g digital filter latency (over all)

Recursive or Infinite Impulse Response (IIR) filter IIRs are usually digital copies of analog filters impulse response of an analog low pass is an exponential decay to model this we reduce the output of a one step delay by h 1 2 π f f samp 3dB and add it to the next input for the delay x e( z) x r ( z) 1 z h

Response of 50 khz IIR with 40 MHz sample frequency Advantage: the signal delay is only one sample step (25 ns) Disadvantage: nonlinear phase response different group delay signal distortion

Concession to real life multiplication and sum can hardly performed together in FPGA x e ( z) 1 z 1 z x r ( z) 1 z h additional delays double reduction value h 1 4 π f f samp 3dB Bode diagram and the impulse response is similar to previous version

Bode plot of gun with 20 khz IIR with 20 khz low pass we can operate the gun with a gain of about 6 (8 minus margin) amplitude (db) 0-5 -10-15 -20 Gun + IIR Gun -25 0 phase (deg) -45-90 -135-180 10 2 10 3 10 4 10 5 10 6 frequency (Hz)

Confirmation by measurement amplitude with proportional IQ control and gain larger 3 phase with proportional IQ control and gain larger 3 60 amplitude in MV/m 50 40 30 20 10 32 khz low pass 20 khz low pass calibration error? phase in deg 40 20 32 khz low pass 20 khz low pass 0 0 50 100 150 200 time in us 0 50 100 150 200 time in us Conclusion: an edge frequency of 20 khz shall be used in practice

Question: How to get rid of systematic errors due to imperfect technical components? errors varying slower than the pulse repetition (drifts)? Answer: Using an adaptive feed forward (AFF).

Main idea of adaptive feed forward algorithms each RF pulse shows similar errors transfer function of the ideal system is well-known calculate back the input signal for the ideal system leading to the error subtraction from the set point signal minimizes the error Algorithms on the market use inverse system model from state space formalism tracking time reverse filtering

Check of system (G) inversion by AFF algorithm: first rf pulse xe feed forward table G feed forward algorithm xr second rf pulse xe x r = 0 G application on ideal system (G) output cancels next output feed forward table

Application of adaptive feed forward algorithm first rf pulse xe feed forward table G feed forward algorithm xr second rf pulse x e G x r = x e application on ideal system (G) leads to unity transfer function for next pulse feed forward table

A lean adaptive feed forward algorithm using tracking calculate next sample difference is input signal driven by the generator ideal tuning assumed two subsequent I or Q samples used cavity time constant τ driven by generator free decay x e ( z) reconstructed generator signal measures h 0 1 z h 1 x r ( z) filter coefficients: h 0 1 = 1 and h1 = τ f τ f samp samp

to practice

Emission phase stability measured with beam (H. Schlarb) indirect rf phase measurement bunch charge depends on rf phase at edge measurement resolution: ± 0.1 to be improved!

Bunch to bunch stability RF drive only / similar to DSP PI control resonance frequency change due to gun temperature change within pulse step caused by dark current kicker error suppression by about 5 (= gain)

Bunch to bunch stability (continued) PI control (repeated) Alternating AFF and PI control error suppression by about 5 (= gain) gun temperature slope decreased by an other factor of 2

Rf pulse to rf pulse stability RF drive only / similar to DSP PI control resonance frequency changes together with the rf gun temperature the emission phase changes error suppression by about 3 (< gain)

Rf pulse to rf pulse stability (continued) AFF only Alternating AFF and PI control error suppression by about 5 (= gain) gun temperature slope decreased by an other factor of 2

Subsequent studies since spring 2006 In August 2006: improved toroid signals slope on phase measured first operation with 800 μs SASE with 600 (800) bunches In October 2006: reflected power interlock due to second circulator removed In December 2006: operation with 800 μs reestablished slope on phase due to gun laser? compensation of phase -> amplitude nonlinearity within forward power implemented In January 2007: compensation of phase -> amplitude nonlinearity within sensor part hopefully final measurements?

Summary: gun rf control Rf gun control with DSP: insufficient processing power for virtual probe (forward - reflected) only forward power was regulated field stability > 2 < 0.5 required for SASE Rf gun control with SimCon 3.1: sufficient processing power for virtual probe sufficient processing power for rf pulse to rf pulse AFF field stability obtained: rms ~ 0.15 fine for SASE at FLASH What remains open? Repetition of qualification measurements: without dark current kicker and other problems also for AFF & P-control