SLAC Timing System Overview

47
9/16/03 SLAC Timing System Future s Workshop SLAC Timing System SLAC Timing System Overview Overview Mike Stanek SLAC Accelerator Dept. Operations Group 16-Sep-2003

description

SLAC Timing System Overview. Mike Stanek SLAC Accelerator Dept. Operations Group 16-Sep-2003. SLAC Aerial View. SLAC Timing System Specifications. SLC Design: (~1982) Resolution:

Transcript of SLAC Timing System Overview

Page 1: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

SLAC Timing System OverviewSLAC Timing System Overview

Mike Stanek

SLAC Accelerator Dept.

Operations Group

16-Sep-2003

Page 2: SLAC Timing System Overview

SLAC Aerial ViewSLAC Aerial View

Page 3: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

SLAC Timing System SpecificationsSLAC Timing System Specifications

SLC Design:

(~1982)

- Resolution: <10 nSec

- Jitter: <1 nSec

- RF distribution

PEP – II:

(~1998)

- Resolution: 2.1 nSec

- Jitter: 20 pSec

Page 4: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Synchronization RequirementsSynchronization Requirements

• AC Line Voltage– (2 zero crossings x 3 phase 60 hz = 360 hz)

• Damping Ring RF bucket – (8.5 MHz revolution harmonic)

• Linac Main Drive Line – (476 MHz)

• PEP RF buckets – (3492 buckets, 136 KHz rev. harmonic)

Page 5: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

DevicesDevices

• Klystron Modulator thyratrons• Pulsed kicker magnets• Beam diagnostics (BPM, Gated ADC’s, Toroids)• For devices requiring < 10 nsec precision,

specialized hardware has been developed– TGAS (gun triggers)

– Vernier Delay Unit – 100 psec (Damping Ring kickers)

Page 6: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Fiducials (Master Clock pulses)Fiducials (Master Clock pulses)

• Linac – at 360 Hz– one “double amplitude” 476 MHz cycle

inserted on Main Drive Line RF distribution

• PEP-II– 360 Hz “injection” fiducial – sync’ed to Linac– 136 KHz “ring” fiducial – from PEP Master

Oscillator (also locked to Linac M.O.)– One (two) “double period” cycle

Page 7: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Waveforms: 476 MHz with FIDUCIALSWaveforms: 476 MHz with FIDUCIALS

LINACLINAC

PEP - 2PEP - 2

Page 8: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Trigger Generation, simplifiedTrigger Generation, simplified

Page 9: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Sector 0 Trigger Generation, oversimplifiedSector 0 Trigger Generation, oversimplified

Page 10: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Trigger Generation, simplifiedTrigger Generation, simplified

1

3

24

5

Page 11: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Linac Sector TimingLinac Sector Timing

• 476 MHz + fiducial coupled from MDL

• Divide-by-four ( 119 MHz) – 8.4 nsec “ticks” (SLC specs)

• Convert “double amplitude” fiducial to “missing cycle” of 119 MHz.

• FIDucial Output chassis (FIDO)

Page 12: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

LINAC Timing Typical SectorLINAC Timing Typical Sector

FIDO

PDU PDU PDU

SECTOR 10SUB-

BOOSTER

476 Mhz 476 Mhz

476 Mhz

119 Mhz

Li09 Cr 4 Li10 Cr 2 Li10 Cr 3

MDL Coupler

Splitter

Divide by 4 8.4 nsec ticks

CAMAC

Page 13: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

LINAC Rack, FrontLINAC Rack, Front

Page 14: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

LINAC Rack, RearLINAC Rack, Rear

Page 15: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

MDL Coupled OutputMDL Coupled Output

Page 16: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Waveforms: 119 MHz and NIM PulseWaveforms: 119 MHz and NIM Pulse

FIDO OutputFIDO Output

PDU OutputPDU Output

Page 17: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

NLC Test AcceleratorNLC Test Accelerator

• Uses Linac Fiducials

• Distributed to NLCTA via fiber optic link, from the downstream end of the Linac to the Research Yard.

Page 18: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Fiber Optic XmtrFiber Optic Xmtr

Page 19: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Fiber Optic LinkFiber Optic Link

FIBER OPTICTRANSMITTER

FIBER OPTICRECEIVER

FIBER OPTIC Cable

TOP of S-30 SUB-Booster

Bldg 407

AMPLIFIERand

SPLITTERNLCTA TERM

Bldg 062

476 MHz

476 MHz

Cu Cable

Cu Cable

Bldg 407

Page 20: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

NLCTA TriggersNLCTA Triggers

FIBER OPTICRECEIVER

AMPLIFIERand

SPLITTER

476 MhzDistribution

Bldg 407 Bldg 407

Bldg 062

FIDO

476 Mhz

476 Mhz

476 Mhz

RF REFERENCESYSTEM

119 MhzDistribution

PDU

PDU

PDU

TERM

Page 21: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PEP-II fiducial generationPEP-II fiducial generation

• PEP-II uses two types of fiducials, generated in Region 8– 360 Hz, sync’ed to Linac fiducials for injection– 136 KHz, sync’ed to PEP Master Oscillator for

stored beam diagnostics and control

• PEP Master Oscillator is (usually) locked to Linac Master Oscillator.

Page 22: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PEP – II Timing GenerationPEP – II Timing Generation

MAIN DRIVE LINE

PEP - 2CONTROL

LINEDIST

CHASSIS

PEP - 2MASTER

OSCILLATOR476 Mhz

PHASE LOCKAND

INJECTIONFIDUCIAL

DETECTOR

PEP 2 FIDUCIAL GENERATOR125-843

POWER ANDVOLTAGE

MONITORS

Page 23: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PEP-II timing distributionPEP-II timing distribution

• PEP has 2 RF distribution cables:– One WITH the fiducial superimposed– One WITHOUT fiducial (used by the RF

systems)

• In each PEP IR hall, the Timing distribution signal is compared and phase locked to the “RF only” signal.

Page 24: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PEP – 2 Timing DistributionPEP – 2 Timing DistributionTPLD

REGION12

TPLDREGION

10

TPLDREGION

2

TPLDREGION

8

TPLDREGION

4

TPLDREGION

6

PEP - 2MASTER

OSCILLATOR

PEP - 2FIDUCIAL

GENERATOR

Page 25: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Timing Phase Lock Distribution B.D.Timing Phase Lock Distribution B.D.

Graphic by E.L.CisnerosGraphic by E.L.Cisneros

Page 26: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

TPLD SCP Diagnostics 2TPLD SCP Diagnostics 2

Page 27: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

““Instructions” for each FiducialInstructions” for each Fiducial

• Master Pattern Generator (microprocessor) – uses SLCnet cable to send 126 bits (x3) every

fiducial pulse to remote micros• “PNET” band of SLCnet

– “Pipelined” bits for the next 3 fiducials– MSB a.k.a. Beamcode or PP (pulsed pattern)

Page 28: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

• Each bit has designated purpose, e.g.:– BPM data acquisition for specific application– No beam (gun trigger suppress)– Use this pulse for e- feedback data– HER injection– Fire the HER Injection tune-up dump kicker

Page 29: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

MPG multi-taskingMPG multi-tasking

• Linac Klystron maximum rate is 120 Hz (only uses 1/3 of available fiducials)

• Other 240 fiducials can be labeled for other programs (NLCTA, Gun Test lab)

Page 30: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

MPG bit patterns determined MPG bit patterns determined by inputs from…by inputs from…• Machine Protection Systems

– Algorithm processor micros– Direct inputs from older hardware– BaBar – stop injection

• Operator requests• PEP injection system (BIC)

– which bucket to fill, and how much charge– shared memory

Page 31: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

What happens at a remote micro?What happens at a remote micro?

• Interrupt the micro• Translate 126 bit word 8 bit word• Broadcast to CAMAC crates• PDU (Programmable Delay Unit)

– Combines Analog (119 MHz + fiducial) with Digital (beamcode info)

– 16 programmable countdown channels– Generate trigger on CAMAC upper backplane

Page 32: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PDU flexibilityPDU flexibility

• Each channel generates output trigger:– Adjustable over 2.7 msec range (8.4 nsec steps)

• Or using (n-1) or (n-2) fiducial with pipeline info, that range can be shifted up to 5.4 msec early

– On specific combinations of PNET bits– “On demand” for BPM data acquisition

• (YY mode)

– On every fiducial, independent of PNET bits– On a subset of fiducials (multiples of 10 hz)

Page 33: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PDU – SLC TypePDU – SLC Type

119 Mhz

DifferentialECL Output

To CAMACUpper Timing

Backplane

CounterDetector

Register

FromCAMAC

GlueLogic

RE-USE

Sixteen channels per PDU;

One channel shown

Page 34: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

LINAC Timed CrateLINAC Timed Crate

Page 35: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PEP micro & CAMACPEP micro & CAMAC

• PEP PDU– Direct 476 MHz + fiducial input (2.1 nsec

ticks)– Programmable for

• Injection mode or Ring mode (136 KHz)

• HER or LER

• Continuous or Fixed length Pulse Train

Page 36: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

The combination of Micro code

(both MPG and remote micros)

and PDU (and VDU) modules

flexibility in generating triggers.

Page 37: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

An important feature: An important feature: Synchronous data collectionSynchronous data collection• BPM data can be acquired for a single e-

pulse as it travels through the accelerator.• Correlation of Buffered BPM data (labeled

with Pulse ID) can be used to make difficult measurements and diagnose accelerator instabilities.

• Feedback systems can be “Cascaded”, to prevent overcorrection of errant trajectories.

Page 38: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

PEP RF bucket synchronizationPEP RF bucket synchronization

• Generate a specially timed Linac Fiducial for each PEP bucket (3492)– i.e. shift the entire Linac timing

• Beam to be injected is already stored in the Damping Ring (8.3-16.6 msec store time)

• Delaying the fiducial by “n” Damping Ring turns, we can hit 25% of the PEP buckets…

Page 39: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

How to figure out “n” ?How to figure out “n” ?

• TPEP=3492 b476 TDR=56 b476

=(4*9*97)b476 =(4*2*7)b476

• TPEP=(873/14)TDR

• 14 TPEP= 873 TDR

• By changing the number of stored DR turns we inject into 873 different PEP buckets.– (1/4 of total 3492)

Page 40: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

• If the desired bucket number (D) is known, MPG can calculate number of DR turns (R) to wait.R= (D*686) mod 873

Page 41: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

How is the shifted fiducial created?How is the shifted fiducial created?

• PEP Trigger Generator (PTG) module in an injector CAMAC crate:– Input bits from MPG (over PNET) tell it how many DR

turns to delay.– Line locked gate from SLC MTG module (873 TDR

wide) – 476 MHz input (-> generates PEP bucket clock,

period= 873 TDR)– Outputs fiducial pulse to SLC MTG for distribution on

MDL.

Page 42: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Page 43: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

What about the other ¾ of PEP buckets?What about the other ¾ of PEP buckets?

• While beam is stored in DR, shift Linac Master oscillator -1, or +1, or +2 buckets of 476 MHz.

• 720 degree (476 MHz) Pulsed phase shifter in series with the Linac Master Oscillator. Programmed to shift phase based on special PNET bits from MPG.

• DR extracted beam is locked to Linac RF – ramp phase slow enough to keep the beam stable

Page 44: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

Check to see if it worked…Check to see if it worked…

• Compare Linac fiducial with a PEP bucket 0 fiducial. (both signals are in MCC)– Difference should be predicted by MPG.

• Time Difference Counter (TDC) circuit in injector PTG module, and in MPG crate.

• MPG synchronization feedback.– MPG can correct for changes > 1 PEP bucket.– Can disable injection to PEP if not stable.

Page 45: SLAC Timing System Overview

Some Common Timing ProblemsSome Common Timing Problems

• RF signal degradation and noise• Poor cable connections• Sensitivity to temperature extremes• Bucket “jumps” in PEP timing system

– One leg of the TDC comparison shifts wrt the other.

– Often the beam has not shifted – just the measurement, but feedback still applies a correction.

Page 46: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

ReferencesReferences• Thanks to Duane Thompson (retired) of ESD –• (I borrowed many of his Power Point slides)• SLAC-PUB-3508 A New Timing System for the Stanford Linear Collider•  • SLAC-PUB-3476 The Design of a Semi-custom Integrated Circuit for the• SLAC SLC Timing Control System•  • PEP-II Injection Timing and Controls•  • SLAC-PUB-4231 Timing Stabilization for the SLC Electron Source•  • SLAC-PUB-4906 Timing and RF Synchronization for Filling

PEP/SPEAR with The SLC Damping Rings•  • IEEE Trns A Programmable Delay Unit Incorporating a Semi-

Nucl. Sci. Custom Integrated (Circuit PDU Write-up)• NS-34, No. 5, 2112 (1985)

Page 47: SLAC Timing System Overview

9/16/03 SLAC Timing System Futures Workshop

•SLAC-CN-144 Pulse-to-Pulse Control of the LINAC with the new Controls System 

•NSS 1984 A Vernier Delay Unit, W.B. Pierce

• 

•BD-135-730-NN SLC Timing System (update in progress, Oct 2001)

• 

•SLACSpeak http://www.slac.stanford.edu/spires/slacspeak/

• 

•Principles Of OPeration

• http://www.slac.stanford.edu/grp/cd/soft/wwwman/poop.html

•Basic Users Guide

• http://www.slac.stanford.edu/grp/cd/soft/wwwman/bug.www/

•SLC Hardware Manual

•http://www.slac.stanford.edu/grp/cd/soft/wwwman/hard.www/