adc otfbk dac...sampling clock (125mhz).the system is implemented on a microtca platform, using...

1
SPS 200 MHz MicroTCA Cavity Controller J.Egli*, P. Baudrenghien, J.D Betz, G. Hagmann, G. Kotzian, P. Kuzmanovic, M.Rizzi, A. Spierer, T. Wlostowski CERN, Geneva, Switzerland The SPS Low Level RF undergoes a complete upgrade during the CERN-wide machine stop 2019-2020. The Cavity controllers (one system per cavity) regulate the accelerating voltage in the cavities. They compensate the beam loading, including the transients caused by the beam gaps, thereby suppressing the Coupled-Bunch instability. The previous system relied on a beam synchronous clocking scheme while the new system uses a fixed 125 MHz clock. To keep the six cavities in phase during the ramp, the instantaneous frequency is transmitted through a deterministic serial data link, the White Rabbit that is also used to reconstruct the fixed-frequency sampling clock (125MHz).The system is implemented on a MicroTCA platform, using commercial off-the-shelf (COTS) modules wherever possible. Communication with the Beam control is done through a 8 Gbps serial link. The architecture of the FPGA firmware is based on Intellectual Property (IP) cores approach. The usage of IP cores ease the way to add features to the firmware or use them for others projects, like the Beam control of the SPS. Furthermore, the Advanced eXtensible Interface (AXI) protocol is used to easily interconnect the IP cores together. The firmware in the Kintex Ultrascale FPGA includes the following IP cores: The One Turn delay FeedBack (OTFB) compensating the transient beam loading The Numerically Controlled Oscillator (NCO) generating the reference revolution frequency keeping all cavities in synchronism during the acceleration ramp The Function Generator (FGC) for settings that vary during the ramp The Acquisition (acqCore) for built-in data observation and signal analysis The PCIe Bridge for fast data transfer through MicroTCA backplane. SPS 200MHz Cavity controller [3] During the SPS RF Upgrade, the new system is migrated on a MicroTCA platform. The six 200MHZ travelling wave cavities (TWC) of the SPS have their dedicated hardware. Each cavity has a Cavity controller board (SIS8300-KU AMC board) implementing the OTFB. For some frequencies, the accelerating voltage created by the power amplifier is zero while the voltage induced by the beam is non zero (Fig. 6). Therefore, the beam loading in the cavity cannot be compensated by its amplifier. As the 3 and 4 sections cavities have zeros at different frequencies, a cross-feedback can be used to overcome this problem: The 4-sections cavity would compensate for the beam induced voltage at the zero of the 3-sections cavity and vice versa. The Cavity controllers are split in two 3-3-4 sections group in the MicroTCA crate. Point-to- point GB serial links on the backplane will be used to exchange the feedback data required for this cross-feedback scheme. Figure 6 shows the layout of the Cavity Controllers in the MicroTCA crate (slots 5,6,7 and 9,10,11). *[email protected] MicroTCA Backplane Diagnostic tool The SIS8300-KU AMC board provides a high-performance DDR4 memory (12.8GBps bandwidth). Combining this high-speed memory, an efficient AXI4-full scheme and the PCIe Gen 3.0 interface, this hardware allows for a powerful diagnostic tool. The new FPGA firmware integrates the acqCore IP. This module provides up to twelve 32-bits acquisition channels and can reach a 500Msps acquisition rate simultaneously on all channels. This feature is essential for machine debugging and diagnostics. Moreover, this IP core has pre- processing features (acqDSP module): Peak detection: detect the minimum/maximum of a decimation period. This can be useful to detect voltage and power peak transients. Horizontal decimation: reduce the sampling rate using a CIC filter. Useful to monitor slow trends and drifts. Vertical decimation: turn-by-turn decimation for bunch-by-bunch diagnostics. This can be useful for tracking features such as the individual stable phase (monitoring of the e-cloud via power loss). To reach the system requirements, the AXI-full interconnection was optimized using a complete simulation of the architecture involving all IP cores accessing the DDR memory. The worst use- case was tested to validate DDR performances. DRTM_DS8VM1 (DESY, Struck Innov. Sys GmbH) SIS8300-KU (DESY, Struck Innov. Sys GmbH) eRTM: eRTM14+eRTM15 (CERN, OHWR, BE-CO-HT) + Figure 1 – SPS 200MHz Cavity controller Figure 5 – the SPS acceleration system eRTM Clock distribution The fixed-frequency sampling clock used in the new system is reconstructed from the White Rabbit on the custom eRTM board developed at CERN. This specific board was designed to reconstruct and distribute a local clock with low jitter and low phase noise to the rest of the boards through the so-called RF backplane of the MicroTCA standard. The eRTM board must respect the stringent phase noise requirements imposed by the beam quality required for the HL-LHC: 125MHz clock phase noise: Figure 6 – 3 and 4 sections cavities. Ratio of accelerating voltage to generator current (top) and beam current (bottom) Figure 3 – eRTM board 250MHz clock phase noise Figure 2 – SPS LLRF cavity controller diagram RF Drive Polar Loop Feed Forward RF Feedback OTFBK (MIMO) Voltage Setpoint IQ SetPoint_1 A+j RF out DAC Mixer Vcav ADC IQ Demod White-Rabbit RX WR network NCO WR (FTW) sin(ω IFin ·t) & cos(ω IFin ·t) sin(ω IFout ·t) & cos(ω IFout ·t) Mixer FPGA (AMC) ADC IQ Demod Mixer WR CLK (62.5MHz) LO RX From Beam Control IQ Ibeam LO LO RF Drive enable 0 WR (A,j) From Beam Control To Beam Control TX RX dV,dp AM IQ RX (2x) IQ IQ SetPoint_2- Vcav_2 IQ SetPoint_3- Vcav_3 From neighboring Cav Controllers SP IcFwd ADC Mixer LO RF switch IQ Demod Interlock Interlocks IQ SetPointDrive RF on/off Embedded Timings MLVDS From CTRA 4 WR (FTW) 2 4 Soft Veto Limiting level offs to modulator to demodulators Phase rotator RF Limiter IQ cav ClearVeto Phase rotator OTFBK enable PCIe Bridge DDR4 ACQ ACQ ACQ ACQ ACQ ACQ ACQ ACQ WR (A,j) ACQ ACQ PCIe modulator x2 To FGC Functions Generator (FGC) Up to 16x functions DDR4 Ctrl AXI4-full inter Acquisition (AcqCore) ACQ AXI4-Lite inter user ddr 12x channels 32bits @125MHz = 6GB/s To IPcore Memory Maps Xilinx IP Core LLRF2019 [1] J. Coupard et al., “LHC Injector Upgrade - Technical Design Report - Vol. I: Protons”, CERN-ACC-2014-0337 (CERN, Geneva, 2017) [2] A. Spierer et al., Upgrade of the SPS LLRF beam-based loops on the MicroTCA platform”, Poster, LLRF2019, Chicago Figure 7 – acqDSP module in acqCore Peak detection Horizontal Decimation D=2 S=2 Vertical Decimation D=2 S=1 din_0_i[31:0] din_1_i[31:0] dout_o [31:0] horiz_decim _rate Horiz_rate_i [22:0] restart_i Vert_rate_exp_i [9:0] Rh_en Rh_en reset dout_valid_o din_valid_i Rh_en reset reset dout_sel_i[1:0] dsp_reset frame_i dsp_reset dsp_reset reset_i reset clk_i Horiz_scale_mult_i [5:0] Horiz_scale_div_i [15:0] Horiz_scale_mult_i [5:0] Horiz_scale_div_i [15:0] frame_i vert_sel_i Figure 8 – Measurement of the synchrotron oscillation bunch per bunch and turn-per-turn (courtesy of Hera). [3] G. Hagmann et al., “The CERN SPS Low Level RF upgrade Project”, in Proc. 10th Int. Particle Accelerator Conf. (IPAC’19), Melbourne, Australia, May 2019, pp. 4005-4008. doi:10.18429/JACoW-IPAC2019-THPRB082 References Figure 4 – TWC200 crate structure Cavity group 2 (3-3-4) Cavity group 1 (3-3-4) uTCA Backplane Port [12, 15] Point-to-point Port [2, 3] Port [17, 20] Multi-point WR Switch WR RF (CAV CTRL [1..6]) WR Btrain WR RF RF Backplane MCH & CPU VCXO PLL eRTM 15 CAV CTRL AMC 05 SIS8300-KU CAV CTRL AMC 06 SIS8300-KU CAV CTRL AMC 07 SIS8300-KU SF P CAV CTRL AMC 09 SIS8300-KU CAV CTRL AMC 10 SIS8300-KU CAV CTRL AMC 11 SIS8300-KU dV, DP Vcav SF P SF P SF P SF P SF P SF P SF P SF P SF P SF P SF P RJ45 WR RJ45 RJ45 RJ45 RJ45 RJ45 MULTI POINT AMC 02 8 RJ45 CTRA CARR AMC 01 3 LTIM Timing[1..3] AMC 03 AMC 12 Clk VEC MOD uRTM 06 DS8VM1 Icfwd RF WCM VEC MOD uRTM 07 DS8VM1 Icfwd RF WCM VEC MOD uRTM 05 DS8VM1 Icfwd RF WCM VEC MOD uRTM 10 DS8VM1 Icfwd RF WCM VEC MOD uRTM 11 DS8VM1 Icfwd RF WCM VEC MOD uRTM 09 DS8VM1 Icfwd RF WCM 6 WR RF uRTM 04 AMC 08 AMC 04 uRTM 08 6 REF uRTM 03 uRTM 12 < -130dBc/Hz @ 1kHz

Upload: others

Post on 03-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ADC OTFBK DAC...sampling clock (125MHz).The system is implemented on a MicroTCA platform, using commercial off-the-shelf (COTS) modules wherever possible. Communication with the Beam

SPS 200 MHz MicroTCA Cavity ControllerJ.Egli*, P. Baudrenghien, J.D Betz, G. Hagmann, G. Kotzian,

P. Kuzmanovic, M.Rizzi, A. Spierer, T. Wlostowski

CERN, Geneva, Switzerland

The SPS Low Level RF undergoes a complete upgrade during the CERN-wide machine stop

2019-2020. The Cavity controllers (one system per cavity) regulate the accelerating voltage in the

cavities. They compensate the beam loading, including the transients caused by the beam gaps,

thereby suppressing the Coupled-Bunch instability. The previous system relied on a beam

synchronous clocking scheme while the new system uses a fixed 125 MHz clock. To keep the six

cavities in phase during the ramp, the instantaneous frequency is transmitted through a

deterministic serial data link, the White Rabbit that is also used to reconstruct the fixed-frequency

sampling clock (125MHz).The system is implemented on a MicroTCA platform, using commercial

off-the-shelf (COTS) modules wherever possible. Communication with the Beam control is done

through a 8 Gbps serial link.

The architecture of the FPGA firmware is based on Intellectual Property (IP) cores approach. The

usage of IP cores ease the way to add features to the firmware or use them for others projects,

like the Beam control of the SPS. Furthermore, the Advanced eXtensible Interface (AXI) protocol

is used to easily interconnect the IP cores together.

The firmware in the Kintex Ultrascale FPGA includes the following IP cores:

• The One Turn delay FeedBack (OTFB) compensating the transient beam loading

• The Numerically Controlled Oscillator (NCO) generating the reference revolution frequency

keeping all cavities in synchronism during the acceleration ramp

• The Function Generator (FGC) for settings that vary during the ramp

• The Acquisition (acqCore) for built-in data observation and signal analysis

• The PCIe Bridge for fast data transfer through MicroTCA backplane.

SPS 200MHz Cavity controller [3]

During the SPS RF Upgrade, the new system is migrated on a MicroTCA platform. The six

200MHZ travelling wave cavities (TWC) of the SPS have their dedicated hardware. Each cavity

has a Cavity controller board (SIS8300-KU AMC board) implementing the OTFB.

For some frequencies, the accelerating voltage created by the power amplifier is zero while the

voltage induced by the beam is non zero (Fig. 6). Therefore, the beam loading in the cavity

cannot be compensated by its amplifier. As the 3 and 4 sections cavities have zeros at different

frequencies, a cross-feedback can be used to overcome this problem: The 4-sections cavity

would compensate for the beam induced voltage at the zero of the 3-sections cavity and vice

versa. The Cavity controllers are split in two 3-3-4 sections group in the MicroTCA crate. Point-to-

point GB serial links on the backplane will be used to exchange the feedback data required for

this cross-feedback scheme. Figure 6 shows the layout of the Cavity Controllers in the MicroTCA

crate (slots 5,6,7 and 9,10,11).

*[email protected]

MicroTCA Backplane

Diagnostic tool

The SIS8300-KU AMC board provides a high-performance DDR4 memory (12.8GBps bandwidth).Combining this high-speed memory, an efficient AXI4-full scheme and the PCIe Gen 3.0 interface,this hardware allows for a powerful diagnostic tool.

The new FPGA firmware integrates the acqCore IP. This module provides up to twelve 32-bitsacquisition channels and can reach a 500Msps acquisition rate simultaneously on all channels.This feature is essential for machine debugging and diagnostics. Moreover, this IP core has pre-processing features (acqDSP module):

• Peak detection: detect the minimum/maximum of a decimation period. This can be useful to

detect voltage and power peak transients.

• Horizontal decimation: reduce the sampling rate using a CIC filter. Useful to monitor slow

trends and drifts.

• Vertical decimation: turn-by-turn decimation for bunch-by-bunch diagnostics. This can be useful

for tracking features such as the individual stable phase (monitoring of the e-cloud via power

loss).

To reach the system requirements, the AXI-full interconnection was optimized using a completesimulation of the architecture involving all IP cores accessing the DDR memory. The worst use-case was tested to validate DDR performances.

DRTM_DS8VM1

(DESY, Struck Innov. Sys GmbH)

SIS8300-KU

(DESY, Struck Innov. Sys GmbH)

eRTM: eRTM14+eRTM15

(CERN, OHWR, BE-CO-HT)

+

Figure 1 – SPS 200MHz Cavity controller

Figure 5 – the SPS acceleration system

eRTM – Clock distribution

The fixed-frequency sampling clock used in

the new system is reconstructed from the

White Rabbit on the custom eRTM board

developed at CERN. This specific board was

designed to reconstruct and distribute a local

clock with low jitter and low phase noise to

the rest of the boards through the so-called

RF backplane of the MicroTCA standard.

The eRTM board must respect the stringent

phase noise requirements imposed by the

beam quality required for the HL-LHC:

125MHz clock phase noise:

Figure 6 – 3 and 4 sections cavities. Ratio of accelerating voltage to generator current (top) and beam current (bottom)

Figure 3 – eRTM board 250MHz clock phase noise

Figure 2 – SPS LLRF cavity controller diagram

RF Drive

Polar Loop

FeedForward

RF FeedbackOTFBK

(MIMO)

Voltage Setpoint

IQSetPoint_1

A+j

RF out

DAC

Mixer

VcavADC IQ

Demod

White-Rabbit

RX

WR

network NCOWR (FTW)

sin(ωIFin·t) & cos(ωIFin·t)

sin(ωIFout·t) & cos(ωIFout·t)

Mixer

FPGA (AMC)

ADCIQD

em

od

Mixer

WR CLK

(62.5MHz)

LO

RXFrom Beam

Control

IQIbeam

LO

LO

RF Drive

enable

0

WR (A,j)

From Beam

Control

To Beam

ControlTX

RXdV,dp

AM IQ

RX(2x)

IQ

IQSetPoint_2-Vcav_2

IQSetPoint_3-Vcav_3

From

neighboring

Cav Controllers

SP

IcFwd

ADC

Mixer

LO

RF switch

IQD

em

od

InterlockInterlocks

IQSetPointDrive

RF on/off

Embedded Timings

MLVDSFrom CTRA4

WR (FTW)

2

4

Soft Veto

Limiting

level

ᵩoffs

to modulator

to demodulators

Phaserotator

RFLimiter

IQcav

ClearVeto

Phaserotator

OTFBK

enable

PCIeBridge DDR4

ACQ

ACQ

ACQ

ACQ

ACQ

ACQ

ACQ

ACQWR (A,j)

ACQACQ

PCIe

mo

du

lato

r

x2

To FGC

Functions Generator

(FGC)

Up to 16x functions

DDR4Ctrl

AXI4-fullinter

Acquisition(AcqCore)

ACQ

AXI4-Liteinter

user ddr

12x channels32bits @125MHz

= 6GB/s

To IPcoreMemory Maps

Xilinx IP Core

LLRF2019

[1] J. Coupard et al., “LHC Injector Upgrade - Technical Design Report - Vol. I: Protons”,

CERN-ACC-2014-0337 (CERN, Geneva, 2017)

[2] A. Spierer et al., “Upgrade of the SPS LLRF beam-based loops on the MicroTCA platform”,

Poster, LLRF2019, Chicago

Figure 7 – acqDSP module in acqCore

Peak detection

Horizontal DecimationD=2S=2

Vertical DecimationD=2S=1

din_0_i[31:0]din_1_i[31:0]

dout_o[31:0]

horiz_decim_rate

Horiz_rate_i[22:0] restart_i

Vert_rate_exp_i[9:0]

Rh_en

Rh_en reset

dout_valid_o

din_valid_i

Rh_en reset

reset

dout_sel_i[1:0]

dsp_reset

frame_i

dsp_reset

dsp_reset

reset_i

reset

clk_i

Horiz_scale_mult_i[5:0]

Horiz_scale_div_i[15:0]

Horiz_scale_mult_i[5:0]

Horiz_scale_div_i[15:0]

frame_i

vert_sel_i

Figure 8 – Measurement of the synchrotron oscillation bunch per bunch and turn-per-turn (courtesy of Hera).

[3] G. Hagmann et al., “The CERN SPS Low Level RF upgrade Project”,

in Proc. 10th Int. Particle Accelerator Conf. (IPAC’19),

Melbourne, Australia, May 2019, pp. 4005-4008.

doi:10.18429/JACoW-IPAC2019-THPRB082

References

Figure 4 – TWC200 crate structure

Cavity group 2 (3-3-4)Cavity group 1 (3-3-4)

uTCA Backplane Port [12, 15] Point-to-point

Port [2, 3]

Port [17, 20] Multi-point

WR Switch

WR RF (CAV CTRL [1..6])

WR BtrainWR RF

RF Backplane

MCH&

CPU

VCXOPLL

eRTM15

CAVCTRLAMC

05SIS8300-KU

CAVCTRLAMC

06SIS8300-KU

CAVCTRLAMC

07SIS8300-KU

SFP

CAVCTRLAMC

09SIS8300-KU

CAVCTRLAMC

10SIS8300-KU

CAVCTRLAMC

11SIS8300-KU

dV, DPVcav

SFP SFP SFP SFP SFP SFP SFP SFP SFP SFP SFPRJ45

WR

RJ45 RJ45 RJ45 RJ45 RJ45

MULTIPOINTAMC

02

8 RJ45

CTRACARRAMC

01

3 LTIM

Tim

ing[1

..3]

AMC03

AMC12

Clk

VECMODuRTM

06DS8VM1

Icfw

d

RF

WC

M

VECMODuRTM

07DS8VM1

Icfw

d

RF

WC

M

VECMODuRTM

05DS8VM1

Icfw

d

RF

WC

M

VECMODuRTM

10DS8VM1

Icfw

d

RF

WC

M

VECMODuRTM

11DS8VM1

Icfw

d

RF

WC

M

VECMODuRTM

09DS8VM1

Icfw

d

RF

WC

M

6

WR RF

uRTM04

AMC08

AMC04

uRTM08

6 REF

uRTM03

uRTM12

< -130dBc/Hz @ 1kHz