1 Trying to understand the routine that Bruno is using to get the impedance from the wake Many thanks for their help to: Bruno S. (of course), Alexej,

Slides:



Advertisements
Similar presentations
Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
Advertisements

Image Enhancement in the Frequency Domain (2)
Beam-based Measurements of HOMs in the HTC Adam Bartnik for ERL Team, Daniel Hall, John Dobbins, Mike Billing, Matthias Liepe, Ivan Bazarov.
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
Fourier: ApplicationsModern Seismology – Data processing and inversion 1 Fourier Transform: Applications Seismograms Eigenmodes of the Earth Time derivatives.
lecture 5, Sampling and the Nyquist Condition Sampling Outline  FT of comb function  Sampling Nyquist Condition  sinc interpolation Truncation.
Finite wall wake function Motivation: Study of multi-bunch instability in damping rings. Wake field perturbs Trailing bunches OCS6 damping ring DCO2 damping.
Impedance of SPS travelling wave cavities (200 MHz) A. Grudiev, E. Métral, B. Salvant, E. Shaposhnikova, B. Spataro Acknowledgments: Erk Jensen, Eric Montesinos,
Discrete Fourier Transform(2) Prof. Siripong Potisuk.
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Introduction To Signal Processing & Data Analysis
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Lecture 1 Signals in the Time and Frequency Domains
From Bunch Wakes to Delta Wakes Adriana Bungau / Roger Barlow COLSIM meeting CERN, 1 st March 2007.
Particle Studio simulations of the resistive wall impedance of copper cylindrical and rectangular beam pipes C. Zannini E. Metral, G. Rumolo, B. Salvant.
The Story of Wavelets.
WAVELET TRANSFORM.
Introduction to beam impedance O.Berrig 23/
Digital Signal Processing – Chapter 10
1 BIEN425 – Lecture 8 By the end of the lecture, you should be able to: –Compute cross- /auto-correlation using matrix multiplication –Compute cross- /auto-correlation.
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Elias Métral, APC meeting, 02/02/2006 1/35 E. Métral, G. Arduini and G. Rumolo u Observations of fast instabilities in the SPS (1988 and 2002/3) and PS.
Elias Métral, APC meeting, 09/06/20051/15 E. Métral (10 min) AMPLITUDE AND POWER SPECTRA COMPARISON BETWEEN DIFFERENT TYPES OF LONGITUDINAL BUNCH PROFILES.
Professor A G Constantinides 1 The Fourier Transform & the DFT Fourier transform Take N samples of from 0 to.(N-1)T Can be estimated from these? Estimate.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez Garbino.
Update of the SPS transverse impedance model Benoit for the impedance team.
Lecture#10 Spectrum Estimation
11 Update of the SPS impedance model G. Arduini, O. Berrig, F. Caspers, A. Grudiev, E. Métral, G. Rumolo, B. Salvant, E. Shaposhnikova, B. Spataro (INFN),
2D Sampling Goal: Represent a 2D function by a finite set of points.
FETS RFQ Beam Dynamics Simulations for RFQSIM, CST and Comsol Field Maps Simon Jolly 2 nd June 2010.
Correlation and Spectral Analysis
1 EuroTeV High Bandwidth Wall Current Monitor Alessandro D’Elia AB-BI-PI.
Update on TCTP heating H. Day, B. Salvant Acknowledgments: L. Gentini and the EN-MME team.
Coupler Short-Range Wakefield Kicks Karl Bane and Igor Zagorodnov Wake Fest 07, 11 December 2007 Thanks to M. Dohlus; and to Z. Li, and other participants.
Main activities and news from the Impedance working group.
1 Update on the impedance of the SPS kickers E. Métral, G. Rumolo, B. Salvant, C. Zannini SPS impedance meeting - Oct. 16 th 2009 Acknowledgments: F. Caspers,
August 21st 2013 BE-ABP Bérengère Lüthi – Summer Student 2013
BE/ABP/LIS section meeting - N. Mounet, B. Salvant and E. Métral - CERN/BE-ABP-LIS - 07/09/20091 Fourier transforms of wall impedances N. Mounet, B. Salvant.
2 February 8th - 10th, 2016 TWIICE 2 Workshop Instability studies in the CLIC Damping Rings including radiation damping A.Passarelli, H.Bartosik, O.Boine-Fankenheim,
Elias Métral, LIS meeting, 29/01/2008 1/26 GAMMA TRANSITION JUMP FOR PS2 W. Bartmann, M. Benedikt, E. Métral and D. Möhl u Introduction with the case of.
FFT corrections for tune measurements
Chapter 4 Discrete-Time Signals and transform
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
k is the frequency index
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Finemet cavity impedance studies
Xiang Hu1, Wenbo Zhao2, Peng Du2, Amirali Shayan2, Chung-Kuan Cheng2
Follow up on SPS transverse impedance
HOM power in FCC-ee cavities
TOPIC 3: FREQUENCY SELECTIVE CIRCUITS
Sampling and the Discrete Fourier Transform
E. Metral, G. Rumolo, B. Salvant, C. Zannini (CERN – BE-ABP-LIS)
E. Métral, G. Rumolo, R. Tomás (CERN Switzerland), B
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Simulations and RF Measurements of SPS Beam Position Monitors (BPV and BPH) G. Arduini, C. Boccard, R. Calaga, F. Caspers, A. Grudiev, E. Metral, F. Roncarolo,
k is the frequency index
Tune shifts in LHC from collimators impedance
CERN / GSI Meeting on Collective Effects in CARE-HHH APD BEAM’07
Marco Panniello, Vittorio Giorgio Vaccaro, Naples.
Simulation with Particle Studio
APPLICATION of the DFT: Estimation of Frequency Spectrum
Discrete Fourier Transform
HBP impedance calculations
Discrete Fourier Transform
Status of the EM simulations and modeling of ferrite loaded kickers
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
Presentation transcript:

1 Trying to understand the routine that Bruno is using to get the impedance from the wake Many thanks for their help to: Bruno S. (of course), Alexej, Bruno Z., Elias, Erk, Gianluigi, Giovanni, Massimo, Rama, Rogelio

2 Context Simulation campaign to gather the impedance of SPS elements in ZBASE. Collaboration with Bruno Spataro (INFN). Time domain and frequency domain MAFIA simulations (1 st version, ~ 1988, now unavailable) to obtain the wakes and impedance (longitudinal and transverse). The main objective here is to understand what results Bruno is giving us, so that we know how to compile these results in ZBASE and how to use them in a relevant way in HEADTAIL.

3 Study triggered by strong differences between the impedance computed by Bruno from the wake and the plain FFT of the wake computed by myself Both signals share common features, but : - Plain FFT of the wake yields negative longitudinal real impedance for certain frequencies  not physical - Bruno’s sampling is ~8 times higher than mine - Peaks appear around the same frequencies but their shapes are very different - in addition, suspicions with the given negative sign of the imaginary part of the transverse impedance  Bruno provided us with his routine to obtain the impedance.

4 Bruno’s routine Bruno took this small routine from the ABCI Fortran source code (Yong Ho Chin) to transform the computed wake into impedance. What does this routine do? Let’s see…

5 Initial longitudinal wake obtained from Mafia time domain simulations

6 Obtaining a Matlab code that behaves like the Fortran code I will use the Matlab routine from now on.

7 After some work, Bruno (Yong Ho)’s “FFT” of the Wake W seems to be: Amplitude factor due to Gaussian distribution “Half” Blackman Harris Window Zero padding Time delay to account for centering the gaussian source k: frequency iterator j: time iterator i: imaginary unit N: number of wake samples  f: Impedance sampling frequency  t: Wake sampling time  l : Bunch length (in sec) A: Zero padding factor c: speed of light T: time delay between the wake start and the center of the gaussian distribution For comparison, plain DFT of the wake W

8 The source is not a point charge… but a gaussian bunch

9 We need the impedance of a point charge Z pc, but MAFIA gives the impedance of a gaussian beam Z GB Longitudinal Impedance for a bunch at frequency f=k.  f=k/(N  t) : For a Gaussian beam (  t rms): and in frequency domain (TF = Fourier Transform) Discretizing for f=: Therefore: Finally, the impedance of a point charge is: For a bunch, we have [Chou and Jin ANL LS-115 (1988)]

10 In addition, the gaussian distribution is not centered with respect to the wake start T Source  (t) Wake W GB (t) tt 0 In this case, For Matlab and Fortran, origin of time is at j=1 and origin of frequency is at k=1, so: then, so, Finally

11 …continued With andwe get Remarks: if the source bunch is too long, then the exponential factor increases very rapidly with k, and the signal to noise ratio to estimate Z GB deteriorates, and. (ex of Bruno:  l = 1.5 cm, N=1001, and c  t = 3 mm). The cutoff frequency due to sampling in time domain is f c =1/(2  t)~50 GHz - At f=4 GHz (k= f.N.  t ~ 40), the exponential correction is a factor 2 - At f=8 GHz (k= f.N.  t ~ 80), the exponential correction is a factor 23 Therefore, need for short source bunches. But shorter source bunches require smaller mesh, i.e. longer CPU time for the same wake length. Therefore there is a tradeoff between CPU time and accuracy.

12 Plain DFT of the wake Bruno’s DFT Plain DFT of the wake

13 DFT of the wake deconvoluted by the gaussian source bunch (only time delay) Bruno’s DFT DFT of the wake deconvoluted by the delay between the gaussian bunch center and the wake (the gaussian factor is not yet taken into account)

14 DFT of the wake deconvoluted by the gaussian source bunch (time delay and frequency dependant amplitude correction) Bruno’s DFT DFT of the wake deconvoluted by the gaussian bunch source

15 Remaining questions Why is Yong Ho’s exponential correction offset by 1 index?

16 Windowing

17 Half Blackman Harris window With H(j) = *cos((j-1)  /N) *cos(2(j-1)  /N) *cos(3(j-1)  /N) One of the 4 terms Blackman Harris windows High dynamic bandwidth - low resolution window to increase the high frequency cutoff due to finite length wake field

18 DFT of the windowed wake deconvoluted by the gaussian source bunch Bruno’s DFT DFT of the wake deconvoluted by the gaussian bunch source, and windowed

19 Zero padding From Bruno’s file, it seems a strong zero padding is used. The factor is around 8 (NN/(FREQ.DT.NWW) in Yong Ho’s notation, in clear: 624/(f max.  t. N), where 624 is an “arbitrarily” chosen number smaller than N (1001 in our case), f max is the lowest of the Nyquist frequency and the frequency at which the exponential factor gets bigger than 20.

20 Effect of Zero padding Bruno’s DFT Zero padded windowed gaussian-source-deconvoluted DFT

21 Conclusions To be used in Headtail, the wake should be first deconvoluted by the source beam gaussian distribution. The windowing leads to significant changes in the impedance spectrum. Is it legitimate to use it? The Zero padding does not change much but gives the fake impression of a higher resolution The current resolution (0.1 GHz) seems very poor to resolve the SPS impedance peaks.

22 Ongoing work: Studies on resonator (see also Bruno Zotter’s book)

23 Parallel RLC circuit RL C Impedance: Laplace transform (variable s): u(t) i(t) With Impulse response (t>0): With

24 If  > 1 If  ~  0 and Q >> 1 If  >>  0 and Q >> 1

25 If Q>>1 and Q >>  0 T simulated ~ 100

26 Effect of truncating the wake (Q=10)

27  Widening due to truncation (convolution with rectangular window in frequency domain)  resolution in frequency domain is clearly missing Re(Z) Im(Z) Effect of truncating the wake (Q=1000) normalised

28 Using the truncated wake as input into Bruno’s routine theory

29 Therefore windowing seems a good idea? Signal looks ‘nicer”, but the peak is strongly widened. With Bruno, we find: R=3.3 Ohm, and Q=14.5  R/Q=0.22 Ohm theoretical = 0.15 Ohm (150 Ohm/1000)