SUSSIX: A Computer Code for Frequency Analysis of Non- Linear Betatron Motion F. Schmidt R. Bartolini H. Renshall G. Vanbavinckhove E. Maclean (presenting)

Slides:



Advertisements
Similar presentations
Shapelets Correlated with Surface Normals Produce Surfaces Peter Kovesi School of Computer Science & Software Engineering The University of Western Australia.
Advertisements

Interface between Velleman PCSGU250 and MATLAB
Operating the Harmonizer
Mixers Theory and Applications
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
Page 0 of 34 MBE Vocoder. Page 1 of 34 Outline Introduction to vocoders MBE vocoder –MBE Parameters –Parameter estimation –Analysis and synthesis algorithm.
Announcements Assignment 8 posted –Due Friday Dec 2 nd. A bit longer than others. Project progress? Dates –Thursday 12/1 review lecture –Tuesday 12/6 project.
Driving Term Experments at CERN References List of Possibilities General Overview Theory New Developments List of Limits Linear Coupling Compensation Sextupole.
Techniques in Signal and Data Processing CSC 508 Fourier Analysis.
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.
E+ Tune Measurements for 4-ns Spaced Bunches Tune Measurements of 4-ns spaced bunches: An update of the strides made using the digital BPM system to measure.
Physics 434 Module 4-FFT - T. Burnett 1 Physics 434 Module 4 week 2: the FFT Explore Fourier Analysis and the FFT.
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Physics 434 Module 4-FFT – Thanks to Prof. Toby Burnett for writeups & lab 1 Physics 434: Continuing Module 4 week 2: the Fourier Transform Explore Fourier.
Analogue and digital techniques in closed loop regulation applications Digital systems Sampling of analogue signals Sample-and-hold Parseval’s theorem.
 Distortion – the alteration of the original shape of a waveform.  Function of distortion analyzer: measuring the extent of distortion (the o/p differs.
Nov. 17, 2005Fermi Lab AP Seminar AC Dipole Based Diagnostics Mei Bai, C-A Department.
AC dipole for LHC Mei Bai Collider Accelerator Department Brookhaven National Laboratory.
Artifacts In Wearable Photoplethysmographs During Daily Life Motions and Their Reduction With Least Mean Square Based Active Noise Cancellation Method.
Lecture 1 Signals in the Time and Frequency Domains
GRD - Collimation Simulation with SIXTRACK - MIB WG - October 2005 LHC COLLIMATION SYSTEM STUDIES USING SIXTRACK Ralph Assmann, Stefano Redaelli, Guillaume.
Loss maps of RHIC Guillaume Robert-Demolaize, BNL CERN-GSI Meeting on Collective Effects, 2-3 October 2007 Beam losses, halo generation, and Collimation.
The Wavelet Tutorial: Part3 The Discrete Wavelet Transform
Multiresolution STFT for Analysis and Processing of Audio
PTC ½ day – Experience in PS2 and SPS H. Bartosik, Y. Papaphilippou.
Chapter 16 Speech Synthesis Algorithms 16.1 Synthesis based on LPC 16.2 Synthesis based on formants 16.3 Synthesis based on homomorphic processing 16.4.
1 Laurent S. Nadolski FFAG Workshop, Grenoble, 2007 Application of Frequency Map Analysis for Studying Beam Transverse Dynamics Laurent S. Nadolski Accelerator.
Status of LHC AC Dipole Task M. Bai, R. Calaga, R. Miyamoto, P. Oddo, G. Wang Brookhaven National Laboratory M. Syphers, A. Jansson Fermi National Accelerator.
Studies on Lattice Calibration With Frequency Analysis of Betatron Motion R. Bartolini DIAMOND Light Source Ltd FMA workshop, Orsay, LURE, 1 st and 2 nd.
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
Authors: Sriram Ganapathy, Samuel Thomas, and Hynek Hermansky Temporal envelope compensation for robust phoneme recognition using modulation spectrum.
Proposal for Low frequency damping system in Tevatron Why do we need it? Maybe not? Can our current correctors handle the job? How should the system look?
Machine DivisionTheory Group Experimental frequency maps for the ESRF storage ring Yannis Papaphilippou Orsay, April 1-2, 2004 Frequency Map Analysis Workshop.
Experiences parallelising the mixed C-Fortran Sussix BPM post-processor H. Renshall, BE Dept associate, Jan 2012 Using appendix material from CERN-ATS-Note
Chapter 2. Signals and Linear Systems
J. Pfingstner Jitter studies February 12, 2014 Optics corrections in the ATF damping ring Jürgen Pfingstner, Yves Renier.
Stephan I. Tzenov STFC Daresbury Laboratory,
J. Pfingstner, LCWS13 Jitter and ground motion studies November 13, 2013 Beam jitter at ATF2: A. Source localisation and B. Ground motion correlation Jürgen.
M. Mantovani, ILIAS Meeting 7 April 2005 Hannover Linear Alignment System for the VIRGO Interferometer M. Mantovani, A. Freise, J. Marque, G. Vajente.
Multibunch beam stability in damping ring (Proposal of multibunch operation week in October) K. Kubo.
Beam stability in damping ring - for stable extracted beam for ATF K. Kubo.
Fourier Transform.
Simulation of Spin Interference and Echo Effect Abstract Successively jumping across a depolarization resonance twice produces interesting spin dynamics.
Analyze of Synchrotron Sidebands with ICA Honghuan Liu Indiana University March 15 th 2012.
ECE-7000: Nonlinear Dynamical Systems 2. Linear tools and general considerations 2.1 Stationarity and sampling - In principle, the more a scientific measurement.
Microwave Measurement of Recycler Electron Cloud: Jeffrey Eldred 12/19/14.
Tunes modulation in a space charge dominated beam: The particles behavior in the “necktie” Space charge meeting – CERN - 21/11/2013 Vincenzo Forte Thanks.
Status of LHC AC Dipole Task M. Bai, R. Calaga, R. Miyamoto, P. Oddo, G. Wang Brookhaven National Laboratory M. Syphers, A. Jansson Fermi National Accelerator.
Xiaoying Pang Indiana University March. 17 th, 2010 Independent Component Analysis for Beam Measurement.
C. Steier, LowEmitRing Workshop 2011, Low Emittance Rings Workshop 2011 Heraklion, Crete, October 3, 2011 Non-linear dynamics optimization in.
R. Bartolini, John Adams Institute, 27 January 20161/23 HT Lecture on Nonlinear beam dynamics (I) Motivations: nonlinear magnetic multipoles Phenomenology.
Three examples of application of Sussix 1)Data from simulations  sensitivity 2)Data from measurements  frequency resolution.
Beam Diagnostics Seminar, Nov.05, 2009 Das Tune-Meßverfahren für das neue POSI am SIS-18 U. Rauch GSI - Strahldiagnose.
R. Bartolini, John Adams Institute, 27 January 20161/23 HT Lecture on Nonlinear beam dynamics (I) Motivations: nonlinear magnetic multipoles Phenomenology.
FFT corrections for tune measurements
CS 591 S1 – Computational Audio
HT Lecture on Nonlinear beam dynamics (I)
HT Lecture on Nonlinear beam dynamics (I)
Vertical emittance measurement and modeling Correction methods
Optimization of Triplet Field Quality in Collision
Results of the LHC Prototype Chromaticity Measurement
EET 422 EMC & COMPLIANCE ENGINEERING
Fourier Analyses Time series Sampling interval Total period
Quantization in Implementing Systems
E. Métral, G. Rumolo, R. Tomás (CERN Switzerland), B
NanoBPM Status and Multibunch Mark Slater, Cambridge University
Review of Accelerator Physics Concepts
Wavelet transform Wavelet transform is a relatively new concept (about 10 more years old) First of all, why do we need a transform, or what is a transform.
Finite Wordlength Effects
Motion-Based Analysis of Spatial Patterns by the Human Visual System
Presentation transcript:

SUSSIX: A Computer Code for Frequency Analysis of Non- Linear Betatron Motion F. Schmidt R. Bartolini H. Renshall G. Vanbavinckhove E. Maclean (presenting)

Outline What is SUSSIX? How is SUSSIX used? How does SUSSIX work? How effective is SUSSIX? Speeding up SUSSIX... Conclusion

What is SUSSIX? SUSSIX : a program for post processing of turn-by-turn betatron oscillation data written by F. Schmidt & R. Bartolini. Computes the frequency decomposition of the signal using an interpolated FFT with time filter to determine the tune to high precision. Calculates dynamical quantities: Resonance driving terms, Detuning, Smear… Data: Computed from particle tracking Measured from BPMs source files example documentation

Tracking data signal The amplitude spectrum of the turn-by-turn data Tracking data in the x plane for Diamond light source. From R.Bartolini, ICAP 2006, Chamonix, 02 October 2006 x x P x (rad) Frequency (tune units) FFT / SUSSIX

ANALYSIS OF X SIGNAL, CASE: 1 TUNE X = Line Frequency Amplitude Phase Error mx my ms p E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E Data is output from SUSSIX to “lines” file Data output for each plane considered For each BPM file studied The frequency (in tune units), amplitude and phase of the spectral lines are output Tunes are also specified separately The spectral lines are ordered in decreasing amplitude Spectral lines are matched to the closest frequency resonant driving term and errors given If requested additional output given:  “reson#”  “smear#”  “invar#”  “conju#”

Using SUSSIX Data sources: SIXTRACK binary file “fort.90” ASCII file “bpm.0001”  two columns per plane of motion: x, p x, y, p y, σ, p σ sussix.inp file specifies the SUSSIX actions.  Details of the flags may be found in the SUSSIX documentation. sussix system dependant executable

C C INPUT FOR SUSSIX_V /09/ C DETAILS ARE IN THE MAIN PROGRAM SUSSIX_V4.F C ISIX = 0 NTOT = 1 IANA = 2 ICONV = 1 TURNS = NARM = 20 ISTUN = 0 TUNES = NSUS = 0 IDAM = 2 NTWIX = 1 IR = 1 IMETH = 1 NRC = 3 EPS =.2000D-2 NLINE = 4 L,M,K = = = = IDAMX = 1 NFIN = 40 ISME = 1 IUSME = 20 INV = 1 IINV = 25 ICF = 1 IICF = 35 Using SUSSIX Sussix.inp : Data type ASCII or binary Number of files to analyse Analysis type: (0) = postprocessing of previous output (1)= full data analysis (2)= also output the FFT Specifies the initial and final turn number over which the data will be analysed. Selects method for determining tunes. (0) take highest amplitude spectral line (1)Take spectral lines lying inside a certain frequency range (2)Enforce selected tunes Specifies whether the signal z(n)=x(n)-ip x (n) is real or complex. Without momentum information the FT of Z at negative values is just the complex conjugate of positive frequency spectrum. Consider frequencies like +2Qx and -2Qx, which are generated by different resonances and would have different amplitudes given the full signal. Without the momentum information the information on the two lines gets mixed up and they will have the same amplitude Turns on or off the time window filter Outputs specific spectral lines to a separate file: reson#

SUSSIX performs a frequency analysis on the provided turn-by-turn data. The time signal with the turn-by-turn data is decomposed into a series of spectral lines.  The turn by turn data signal {z(1),z(2)...z(N)} is decomposed as a quasi-periodic signal:  Turn by turn data signal is analysed to give the Amplitude spectrum: Line with the largest amplitude is in most cases the fundamental frequency (tune).  this can be overridden using the ISTUNE in the sussix.inp file Regular motion means other frequencies are linear combinations of the fundamental tunes: How does SUSSIX work?

At the core of SUSSIX is a Fortran Routine TUNENEWT, developed by the Bologna Group in the mid-nineties (Author: A. Bazzani ; tests by R. Bartolini, M. Giovannozzi, & E. Todesco).  TUNENEWT determines the maximum of the amplitude of the FFT.  SUSSIX uses TUNENEWT to analyse the full frequency spectrum: The fundamental frequencies are found using TUNENEWT:  Frequency ( k ), Amplitude (a k ), Phase (  k ) Harmonic time series built:  & subtracted from the original signal New signal z(n) – z k (n) is re-analysed with tunenewt... The spectral lines are ordered, as linear combinations of the tunes, in decreasing amplitude. How does SUSSIX work?

How effective is SUSSIX? Use of time window filters improves the effectiveness of the determination of tunes / principal with TUNENEWT. In SUSSIX a Hanning filter may be applied by selecting the IMETH 1 flag in sussix.inp Applying the filter broadens the main peak FWHM from 2/N to 4/N reduces the height of side lobes by a factor 1/N 2

from R. Bartolini et al. Part. Acc., 52, 147, (1996) FFT scales as 1/N No time filter Interpolated FFT scales as 1/N 2 Hanning filter Interpolated FFT scales as 1/N 4 Numerical precision of the TUNENEWT algorithm for finding principal frequencies

Courtesy R. Bartolini Phase error 1/N 3 Amplitude error 1/N 3 Frequency error 1/N 4 However the reconstruction of the amplitude and phase of the Fourier coefficient is slightly less precise than for frequency...

from R. Bartolini et al. Part. Acc., 55, 1, (1996) The 1/N 4 scaling of errors in the interpolated FFT with Hanning filter does not hold when the signal is noisy… No noise: 1/N 4 With Noise: 1/N 1.5 – 1/N 2 BUT STILL BETTER THAN FFT WITHOUT NOISE

Further limits: Due to the finite time signal the spectral lines have finite FWHM 4/N (with Hanning filter)  To resolve the spectral lines they must be separated by at least the FWHM  If a spectral line lies within a FWHM SUSSIX will loop around the correct frequency without properly subtracting the two contributions.  Observe a cluster of lines about the correct frequency.  Increasing N will allow closer spectral lines to be distinguished… The signal is decomposed as a quasi-periodic time series:  Implies a regular stable orbit  In highly chaotic regime or close to resonances cannot produce meaningful results

In applications to BPM data SUSSIX is limited by the decoherence of the turn-by-turn oscillations. The centroid of the beam is measured in the BPMs. If particles are oscillating with different frequencies (decoherence) then motion of the centroid is damped. Further limits: Signal quality is reduced and hence it becomes more difficult to identify the resonant driving terms

SUSSIX is still better than an FFT Diamond Frequency Maps Courtesy R. Bartolini Frequency Map analysis is a powerful method of extracting information on the Beam Dynamics. Method relies on being able to very accurately determine the tune. TUNENEWT provides the level of precision necessary for these studies. Modeled data Measured data

Improving the SUSSIX runtime: parallelization of the BPMs SUSSIX represents a bottleneck in the control room. For a single off momentum measurement, the beta-beat group would be required to analyze 15 sets of ~500bpm signals. >15minutes spent running sussix per measurement. Two approaches to speeding up the running of SUSSIX have been attempted:  Parallelization of the FFT using recently released NAG parallel FFT routines  overheads involved in setting up the parallelization cancelled out the benefits of the parallel FFT  Parallelization of the analysis of multiple BPMs  At present SUSSIX performs the analysis of each set of BPM data in series.  Parallelizing the BPM analysis has produced a substantial improvement in the run time of SUSSIX when analysing a large number of BPMs  Harry Renshall who has been working on the parallelization of SUSSIX will talk further on this topic.

Cores Time (s) Time for sussix to run on dedicated 24 core spareb7. Input data was 1000 bpm dual plane files. Analysis over 1900 turns.

 SUSSIX calculates dynamical quantities (tune, resonance driving terms…) from turn-by-turn betatron oscillation data.  The code is well tested on both tracking and experimental data.  SUSSIX uses the TUNENEWT routine to find the fundamental frequencies of the signal. The corresponding harmonic is subtracted and the new signal re-analyzed.  SUSSIX uses an in interpolated FFT with a Hanning filter to obtain the amplitude spectrum. This substantially improves the precision of determination of fundamental frequencies, allowing application to Frequency Map Analysis.  The precision of sussix is limited by noise, decoherence of the beam, and the chaotic regime. Spectral lines within 4/N may not be resolved.  Recent progress has been made in speeding up the operation of SUSSIX, Harry Renshall will discuss further.  SUSSIX is looking forwards to use in several MDs through the 2011/12 period Conclusion