1 of 47

Silvia Zorzetti

USPAS 2024

Time and Frequency Domain Beam Signal

2 of 47

Time and Frequency Domain

S. Zorzetti - Time and Frequency Domain Beam Signal

2

1/31/24

Each musical note corresponds to a frequency

FT

3 of 47

Time and Frequency Domain

S. Zorzetti - Time and Frequency Domain Beam Signal

3

1/31/24

 

 

Delta Dirac δ(x)

  • The Delta Dirac is a generalized function used as unit impulse function
  • A sine wave in the time domain has infinite energy since if it continues over an infinite amount of time.
  • In the Frequency domain all this energy is concentrated on a single frequency.
  • The Delta’s Dirac can be seen as the limit of the normal distribution

 

4 of 47

Fourier Synthesis

A periodic function f(x) can be expressed as a series of harmonics, weighted by Fourier coefficients cn

S. Zorzetti - Time and Frequency Domain Beam Signal

4

1/31/24

 

5 of 47

Particle beam with gaussian longitudinal distribution

S. Zorzetti - Time and Frequency Domain Beam Signal

5

1/31/24

A0, pick amplitude

σt

bunch length

σf

 

Time domain

 

Frequency domain

6 of 47

Train of gaussian bunches (1)

S. Zorzetti - Time and Frequency Domain Beam Signal

6

1/31/24

Time domain

 

Frequency domain

 

DC, beam intensity

f0

2f0

7 of 47

Train of gaussian bunches (2)

S. Zorzetti - Time and Frequency Domain Beam Signal

7

1/31/24

8 of 47

Discrete Fourier Transform (DFT)

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

8

1/31/24

  • T: signal length
  • N: number of samples

9 of 47

Discrete Fourier Transform (DFT)

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

9

1/31/24

10 of 47

DFT properties (3)

S. Zorzetti - Time and Frequency Domain Beam Signal

10

1/31/24

 

DC error

11 of 47

DFT properties (1)

S. Zorzetti - Time and Frequency Domain Beam Signal

11

1/31/24

 

 

 

 

 

Longer signal in time, better frequency resolution

For a wider spectrum increase the signal resolution

 

 

12 of 47

DFT properties (4)

S. Zorzetti - Time and Frequency Domain Beam Signal

12

1/31/24

 

 

DC error

 

 

 

 

 

 

13 of 47

DFT properties (2)

S. Zorzetti - Time and Frequency Domain Beam Signal

13

1/31/24

Odd harmonics

 

 

Sampling rate

 

14 of 47

Exercise 1

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

14

1/31/24

15 of 47

Sampling of a continuous signal

In many applications there is a significant advantage in converting a signal in discrete-time and digitize for further signal processing.

S. Zorzetti - Time and Frequency Domain Beam Signal

15

1/31/24

 

 

 

 

 

Convolution in frequency

16 of 47

Analogue to Digital Conversion

  • Analogue to Digital Converter (ADC)
    • From continuous to discrete time
    • Sampling rate: number of output samples per unit time
    • Resolution: minimum change of input voltage that can be resolved by the ADC
      • Related to the number of bits in the digital output

S. Zorzetti - Time and Frequency Domain Beam Signal

16

1/31/24

 

 

Quantization

17 of 47

Quantization Error (1)

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

17

1/31/24

Rounding the function to the closest integer number

 

18 of 47

Quantization Error (2)

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

18

1/31/24

Histogram of N samples of quantization error.

The statistics are approximately uniform.

19 of 47

Quantization Error (2)

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

19

1/31/24

Histogram of N samples of quantization error.

The statistics are approximately uniform.

 

 

20 of 47

Least significant bit (LSB)

S. Zorzetti - Time and Frequency Domain Beam Signal

20

1/31/24

 

 

Q or less significant bit is the analog input corresponding to the threshold of LSB

 

21 of 47

Keep this in mind ... Will come back!

S. Zorzetti - Time and Frequency Domain Beam Signal

21

1/31/24

22 of 47

Signal to Noise Ratio (SNR) (1)

Signal + Noise

S. Zorzetti - Time and Frequency Domain Beam Signal

22

1/31/24

Signal + More Noise

23 of 47

Signal to Noise Ratio (SNR) (2)

The temperature of the system determines the noise floor.

Thermal Noise Power:

N = kTB

K: Boltzmann constant

T: temperature

B: noise bandwidth

S. Zorzetti - Time and Frequency Domain Beam Signal

23

1/31/24

Ratio between the desired signal and the background

24 of 47

Signal to Quantization Noise Ratio

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

24

1/31/24

The SNR of quantization increases by >6dB for every bit added to the quantizer

25 of 47

14-16 bit ADC Technology (2018)

  • Dual Channel
    • I-Q sampling with separate ADCs
  • Pipeline architecture
    • Continuous CLK
    • Data latency
  • .
  • Signal post-processing
    • Mixers, NCO, CIC, etc

Type

Res.�[bit]

Ch.

Power

[W]

fs (max)

[GSPS]

BW

[GHz]

SNR @ fin

[dB @ GHz]

AD

AD9208

14

2

3.3

3

9

59.5 @ 2.6

TI

ADC32RF45

14

2

6.4

3

3.2

56.8 @ 2.6

TI

ADS54J60

16

2

2.7

1

1.2

67.5 @ 0.35

TI AD9208 Simplified Block Diagram

Page 25

January 28th – February 1st, 2019, USPAS Knoxville (TN) – Beam Position Measurements – M. Wendt

26 of 47

Analogue to Digital Conversion

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

26

1/31/24

 

 

Uniform error distribution

 

For a uniform error distribution

Clock jitter: deviation of the sampling edge

27 of 47

Exercise 2

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

27

1/31/24

28 of 47

Signal sampling

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

28

1/31/24

 

 

 

 

s(t)

s[n]

GASIOR, MAREK. IMPROVING FREQUENCY RESOLUTION OF DISCRETE SPECTRA: ALGORITHMS OF THREENODE INTERPOLATION.

29 of 47

Sampling and DFT

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

29

1/31/24

 

s(t)

s[n]

DFT

N

 

 

 

 

30 of 47

Windowing technique (1)

  • Windowing technique for the DFT
  • Multiply the input signal s[n] by the ‘window’ w[n]
  • Convolution in frequency
  • Smooth the boundaries
  • Window function
    • Zero at the bounders
    • Tapering from the middle
    • Symmetric

S. Zorzetti - Time and Frequency Domain Beam Signal

30

1/31/24

 

s(t)

s[n]

DFT

N

 

w[n]

 

31 of 47

Windowing technique (2)

S. Zorzetti - Time and Frequency Domain Beam Signal

31

1/31/24

 

 

 

s(t)

s[n]

DFT

N

 

w[n]

 

By smoothing the boundaries the FFT is no more affected by the spectral leakage

Floor of the quantization noise

32 of 47

Windowing techniques (3)

Windows shapes

S. Zorzetti - Time and Frequency Domain Beam Signal

32

1/31/24

Sigma scale

 

33 of 47

Windowing technique (4)

S. Zorzetti - Time and Frequency Domain Beam Signal

33

1/31/24

34 of 47

Effect of noise on the DFT

S. Zorzetti - Time and Frequency Domain Beam Signal

34

1/31/24

Perturbing effects can reduce the precision of the measurement

  • Noise in the pick-up
  • ADC resolution
  • Clock jitter effect

The SNR measures the level of the ‘desired’ signal with reference to the background noise

  • Measure of the quality of the acquisition

35 of 47

Exercise 3

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

35

1/31/24

36 of 47

Betatron oscillation and tune

  • Characteristic oscillation
  • Number of oscillations in the accelerator in a single revolution period
  • Tune Q+q
    • Q: integer number
    • q: fractional part
  • Control the fractional part to avoid beam instability
  • Study of the betatron tune for accelerator operation

S. Zorzetti - Time and Frequency Domain Beam Signal

36

1/31/24

37 of 47

Tune measurements

S. Zorzetti - Time and Frequency Domain Beam Signal

37

1/31/24

Observation

Feedback

38 of 47

Tune control system

S. Zorzetti - Time and Frequency Domain Beam Signal

38

1/31/24

Pick up

Kicker

Analogue conditioning

Peak detector

PLL

 

Excitation

Observation

 

LPF

 

VCO

 

39 of 47

Illustration of PLL tune tracking

S. Zorzetti - Time and Frequency Domain Beam Signal

39

A

q

Φ

q

Single carrier PLL locks on 900 point of BTF;

40 of 47

Beam Transfer Function (BTF)

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

40

1/31/24

Pick up

Kicker

Excitation

Observation

FFT

Frequency sweep

FFT of the frequency chirp with sweep modulation [-fm +fm]

41 of 47

Beam Transfer Function

S. Zorzetti - Time and Frequency Domain Beam Signal

41

1/31/24

 

 

 

 

BTF simulation

42 of 47

Simple example: FFT analysis

S. Zorzetti - Time and Frequency Domain Beam Signal

42

G(ω) == flat

(i.e. excite all frequencies)

Made with random noise kicks

Measure beam position over many consecutives turns

apply FFT → H(ω)

BTF = H(ω)

43 of 47

The Average Phase Advance (APA) method

  •  

S. Zorzetti - Time and Frequency Domain Beam Signal

43

1/31/24

Interpolation

Average of the N samples

Δϕ

Phase advance

BARTOLINI, R., MASSIMO GIOVANNOZZI, A. BAZZANI, WALTER SCANDALE, AND EZIO TODESCO. ALGORITHMS FOR A PRECISE DETERMINATION OF THE BETATRON TUNE. NO. CERN-SL-96-048. 1996

44 of 47

APA measurement of the tune

S. Zorzetti - Time and Frequency Domain Beam Signal

44

1/31/24

 

 

45 of 47

APA measurement and FFT comparison

S. Zorzetti - Time and Frequency Domain Beam Signal

45

1/31/24

Number of iterations

 

Accuracy

46 of 47

APA measurement and FFT comparison w/ NOISE

S. Zorzetti - Time and Frequency Domain Beam Signal

46

1/31/24

Different perturbing effects can reduce the precision of the measurement

  • Pick-up noise
  • ADC resolution

The effect of the Hanning window is almost lost as the SNR decrease

 

Accuracy

Number of iterations

 

47 of 47

Conclusions

  • Beam signal in frequency and time domain
  • ADC
    • Sampling error
    • Quantization noise floor
    • Optimal design
  • DFT
    • Proprieties
    • Spectrum
    • Windowing
  • Tune measurements
    • PLL
    • Beam transfer Function
    • Average Phase Advance
    • Measurements in presence of noise

S. Zorzetti - Time and Frequency Domain Beam Signal

47

1/31/24