Re-designing the Helicity Board Riad Suleiman Injector Group March 19, 2009.

Slides:



Advertisements
Similar presentations
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Advertisements

Parity Quality Beam (PQB) April 07, Notes: 1.For each BPM, the wires are: +X+, +X-, +Y+, +Y- 2.There are only two injector BPMs we are not reading:
Modern VLSI Design 2e: Chapter 8 Copyright  1998 Prentice Hall PTR Topics n High-level synthesis. n Architectures for low power. n Testability and architecture.
MICE Fiber Tracker Electronics AFEII for MICE (Front end readout board) Recall: AFEs mount on ether side of the VLPC cass, with fibers going to the VLPCs.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Display Technology  Images stolen from various locations on the web...
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
Design for Testability Theory and Practice Lecture 11: BIST
Lab 5 Shift Registers and Counters Presented By Neha Kumar but while we wait for that to happen…
Veto Wall Test Hyupwoo Lee MINERvA/Jupiter Group Meeting July 18, 2007.
Range Measurement Unit Messenger Mercury Laser Altimeter Basic Familiarization.
Pseudorandom Number Generators. Randomness and Security Many cryptographic protocols require the parties to generate random numbers. All the hashing algorithms.
Electronic Cross-talk & Ground Loop Elimination in Injector Riad Suleiman Center for Injectors and Sources.
Optical Anchor / Interferometer Status: June, 2004 Josef Frisch.
Sequential Logic. Logic Styles Combinational circuits – Output determined solely by inputs – Can draw solely with left-to-right signal paths.
Mark Raymond /10/051 Trip-t testing brief status report test setup description - hardware and software some very early results.
PIT: Programmable Interval Timer
The PEPPo e - & e + polarization measurements E. Fanchini On behalf of the PEPPo collaboration POSIPOL 2012 Zeuthen 4-6 September E. Fanchini -Posipol.
TID and TS J. William Gu Data Acquisition 1.Trigger distribution scheme 2.TID development 3.TID in test setup 4.TS development.
Trigger Supervisor (TS) J. William Gu Data Acquisition Group 1.TS position in the system 2.First prototype TS 3.TS functions 4.TS test status.
Polarized Source Development Run Results Riad Suleiman Injector Group November 18, 2008.
Real-time Parity Feedback John Hansknecht & Riad Suleiman April 28, 2009.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
DAQ Map of Electronic Components L. Adeyemi, A. Camsonne, E. Fanchini, JS. Real, R. Suleiman, E. Voutier May 24, 2012.
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
Parity Quality Beam (PQB) Study Injector Group November 10, 2008.
Micro-Research Finland Oy MRF Timing System Jukka Pietarinen Timing Workshop CERN February 2008.
Linear Feedback Shift Register. 2 Linear Feedback Shift Registers (LFSRs) These are n-bit counters exhibiting pseudo-random behavior. Built from simple.
PQB Meeting Intermediate Frequency (IF) Cards Study & BPMs Summary March 24, 2009.
Polarized Injector Status QWeak Collaboration Meeting February 1, 2010 P. Adderley, J. Clark, J. Grames, J. Hansknecht, M. Poelker, M. Stutzman, R. Suleiman,
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Real-time Acquisition and Processing of Data from the GMRT Pulsar Back- ends Ramchandra M. Dabade (VNIT, Nagpur) Guided By, Yashwant Gupta.
Fast Helicity Reversal Riad Suleiman Injector Group June 2, 2009.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
5 MeV Mott Polarimeter Progress Riad Suleiman April 10, 2012.
Parity Quality Beam (PQB) Study Injector Group September 2008.
DAQ Map of Electronic Components R. Suleiman February 12,
1Ben ConstanceFONT Meeting 1st August 2008 ATF2 digital feedback board 9 channel board with replaceable daughter board (RS232 etc.) − Board will log data.
Jefferson Laboratory Hall A SuperBigBite Spectrometer Data Acquisition System Alexandre Camsonne APS DNP 2013 October 24 th 2013 Hall A Jefferson Laboratory.
7/6/99 MITE1 Fully Parallel Learning Neural Network Chip for Real-time Control Students: (Dr. Jin Liu), Borte Terlemez Advisor: Dr. Martin Brooke.
LC Power Distribution & Pulsing Workshop, May 2011 Super-ALTRO Demonstrator Test Results LC Power Distribution & Pulsing Workshop, May nd November.
Chopper wheel Rotates at 100 Hz and contains a timing photodiode to signal position on each turn. A slot cut in the disc passes a 130  s laser pulse train.
ESS Timing System Prototype 2012 Miha Reščič, ICS
BPM stripline acquisition in CLEX Sébastien Vilalte.
1 SVY 207: Lecture 5 The Pseudorange Observable u Aim of this lecture: –To understand how a receiver extracts a pseudorange measurement from a GPS signal.
Ba A B B1 FADC B2 SD_FP FLEX_I/O ROC VME64x A: [ HELICITY, HELICITY_FLIP ] (NIM or ECL) Port 1 Port 2 a: [ HELICITY, HELICITY_FLIP ] (LVDS) B: [ HELICITY_TRIGGER,
Fast VLSI Implementation of Sorting Algorithm for Standard Median Filters Hyeong-Seok Yu SungKyunKwan Univ. Dept. of ECE, Vada Lab.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Injector Status & Commissioning QWeak Collaboration Meeting May 24, 2010 P. Adderley, J. Clark, S. Covert, J. Grames, J. Hansknecht, M. Poelker, M. Stutzman,
Controlled Transverse Blowup with ADT MD block #3 / th August 2011 presented by W. Hofle T. Levens, S. Redaelli, F. Roncarolo, R. Schmidt, D. Valuch.
Parity Experiments and JLab Injector Riad Suleiman February 5, 2016.
FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Topics n FPGA fabric architecture concepts.
A versatile FPGA based photon counter and correlator sudersan dhep meet’16.
Design of OCDMA Demonstrator Yun Ping Yang, Alireza Hodjat, Herwin Chan, Eric Chen, Josh Conway.
Parity Quality Beam (PQB) B-Team Meeting September 10, 2008.
Polarized Injector & Upgrade Schedule QWeak Collaboration Meeting November 06, 2009 P. Adderley, J. Clark, J. Grames, J. Hansknecht, M. Poelker, M. Stutzman,
Polarized Injector Update
Parity Violation Experiments & Beam Requirements
AFE II Status First board under test!!.
Parity Violation Experiments at JLEIC
Parity Quality Beam (PQB)
QWeak Collaboration Meeting
Qweak Coordination Meeting
Mott DAQ Timing R. Suleiman February 12, 2014.
Polarized Source Development Run Results
Feedback Systems Joe Grames Hall A Parity Meeting Jefferson Lab
Electronics for Physicists
Helicity Magnets’ Control Upgrade
PQB Meeting March 05, 2009.
Injector Commissioning & Optimization
Presentation transcript:

Re-designing the Helicity Board Riad Suleiman Injector Group March 19, 2009

Current Design

Pseudo-Radom Helicity Generator IB1 = IB24 = MASK = iseed = If(iseed & IB24) { hel = 1 iseed = ((iseed ^ MASK) << 1) | IB1 (Change all masked bits, shift, and put 1 into bit 1) } else { hel = 0 iseed <<= 1 (Shift and put 0 into bit 1) } Use 24-bit Shift Register It is Pseudorandom, not “Random” because it is deterministic, once a sequence of 24 helicity states is known, the next states can be predicted, and it repeats its cycle. For any initial seed, there are 2 24 – 1 = 16,777,215 (maximal length) random pairs before the sequence repeats, 13 days for 30 Hz helicity reversal rate.

Software: 1.MPS (T_Settle): 500, 200, 100, and 60 µs 2.Reporting Delay: No Delay, 2, 4, or 8 Cycles 3.Helicity Pattern: Pair (+- or -+) or Quartet (-++- or +--+) 4.Toggle or Random 5.Integration Window (T_Stable): ms or ms 6.CLOCK: Free running (f = 29.xx = 1/(T_Settle ms) or 30 Hz Beam Sync (f = 30 = 1/(T_Settle + T_Stable) 7.Output Select: Pair Sync or Helicity Delay (used with G0 dummy Pockels Cell) 8.G0 Delay: No Delay, 1, 2, or 4 Cycles. Delay of helicity signal for Helicity Delay 9.Helicity Cycle Rate: 30 Hz or 250 Hz Programming

Inputs: 1.LEMO_0: Beam Sync FIBER_9 Outputs (Fiber-optic Signals): 1.Real time helicity: FIBER_2 to Helicity Magnets, FIBER_10 to Pockels Cell and IAs 2.QRT: FIBER_3 to Halls and Mott Polarimeters 3.MPS: FIBER_4 to Halls and Mott Polarimeters 4.T120: FIBER_5 (¼ T_Stable = ms) 5.Reporting Helicity: FIBER_6 to Halls and Mott Polarimeters, iocse9 and iocse14 6.Pair Sync or Helicity Delay: FIBER_7 to Halls and Mott Polarimeters Hardware Signals

More Details 1.We only have two choices of helicity reversal rates at any given time 2.To change the helicity reversal rate, a new code must be uploaded in the field to the helicity generator ioc 3.For both helicity reversal rates, a common choice of T_Settle (4 options) 4.The Helicity Board has 20 MHz internal clock 5.On March 16, 2009: John floated the Helicity Board Crate and the Helicity Magnets Crate.

Cycle Rae (HZ)MPS (µs)MPS (Hz)QRT (Hz)Helicity (ms)Helicity (Hz) Notes: 1.These values as measured by a scope 2.Signals to Parity DAQ: MPS (T_Settle), QRT, Reporting Helicity, and Pair-Sync 3.The length and frequency of Pair-Sync are identical to Helicity 4.The length of QRT is identical to Helicity 5.The integration window is generated by MPS AND Pair-Sync 6. The integration window for 30 Hz is ms and for 250 Hz it is 3.92 ms

Notes: 1.The 30 Hz Beam Sync signal is missing 2.On Monday October 13, 2008, the Helicity Board was re-programmed: T_Settle: 10, 60, 100, 500 µs Helicity Cycle Rates: 30 Hz or 1 kHz Integration Window (T_Stable) is 980 µs for 1 kHz 3.Parity ADC internal programming: I.For 30 Hz helicity reversal: Acquisition starts 40 µs after the gate begins There are 4 blocks of 4161 samples/block for each gate. The acquisition time is ms II.For 250 Hz helicity reversal: Acquisition starts 40 µs after the gate begins There are 4 blocks of 485 samples/block for each gate. The acquisition time is ms III.For 1 kHz helicity reversal: Acquisition starts 40 µs after the gate begins There are 4 blocks of 117 samples/block for each gate. The acquisition time is 936 µs

Cycle Rae (HZ)MPS (µs)MPS (Hz)QRT (Hz)Helicity (ms)Helicity (Hz) Notes: 1.These values as measured by a scope 2.The integration window for 1 kHz is ms

Why Re-designing the Helicity Board Clean up leftovers from G0. Drop the “MPS” label! Make it easy to program and easy to choose any reversal rate and any T_Settle time Change the Shift Register to 30-Bit. The sequence will repeat every 25 days for 1 kHz helicity reversal rate. Add another pattern: Octet ( or ) We will need new fiber output signals:  2 additional outputs for 4-way IA feedback scheme where the applied IA voltage is determined not only from the current helicity state but also from the previous helicity state.  Output of the Helicity Board Clock signal.

New Design

Outputs (Fiber-Optic TTL Signals): 1.Real Time Helicity (two outputs): I.Standard: Pockels Cell and IAs II.Complementary: Helicity Magnets 2.Delayed Helicity: Halls and Polarimeters, iocse9 and iocse14 3.T_Settle: Halls and Polarimeters 4.Pair Sync: Halls and Polarimeters 5.Multiplet Sync: now QRT - start of a Quartet or Octet, Halls and Polarimeters 6.IAs Control (two outputs): IA1 and IA2, indicate current and previous patterns 7.20 MHz Internal Clock: Halls and Polarimeters 8.Few Spare Fibers Hardware Signals Inputs (Fiber-Optic TTL Signals): 1.30 Hz Beam Sync 2.Spare input

Timing of Signals 1.The transition to T_Settle should start 1.00 µs before all other signals. Now it is 100 ns; this time is too short

Pseudo-Radom Helicity Generator Use 30-bit Shift Register It is Pseudorandom, not “Random” because it is deterministic, once a sequence of 30 helicity states is known, the next states can be predicted, and it repeats its cycle. For any initial seed, there are 2 30 – 1 = 1,073,741,823 (maximal length) random pairs before the sequence repeats, 25 days for 1000 Hz helicity reversal rate. UInt_t bit7 = (fgShreg & 0x ) != 0 UInt_t bit28 = (fgShreg & 0x ) != 0 UInt_t bit29 = (fgShreg & 0x ) != 0 UInt_t bit30 = (fgShreg & 0x ) != 0 UInt_t newbit = (bit30 ^ bit29 ^ bit28 ^ bit7) & 0x1 fgShreg = newbit | (fgShreg << 1 ) & 0x3FFFFFFF

1.Select Toggle or Random 2.Choose Reporting Delay: n Cycles, n = 0 … 1000 cycles 3.Select Helicity Pattern: Pair (+- or -+), Quartet (-++- or +--+), Octet ( or ) 4.Select Clock: I.Free: o Choose T_Settle value between 10 µs µs o Choose Integration Window (T_Stable) value between 400 µs – 1,000,000 µs o Display Helicity Reversal Rate: f = 1/(T_Settle + T_Stable) II.30 Hz Beam Sync: Force phase-lock during T_Settle o Choose T_Settle value between 10 µs µs o Choose Helicity Reversal Frequency f: 30, 120, or 240 Hz o Display T_Stable: T_Stable= 1/f - T_Settle Programming

1.Choose T_Stable such that: f>1 kHz 2.Integrate over 60 Hz noise: o Choose T_Stable = 33,333 µs (exactly two 60 Hz cycles). o Choose T_Stable + T_Settle = 8,333 µs (half 60 Hz cycles), select Quartet Pattern, line-phase locked. Then, A = o Choose T_Stable + T_Settle = 4,167 µs, select Octet Pattern, line-phase locked. Then, A = How to Reduce 60 Hz Line Noise?

IAs Outputs: Pairs, Quartets, & Octets …

1.2 new fibers needed from IN01B05 to the Laser Table: IA1 and IA2 2.Use the existing T120 fibers to carry the 20 MHz Clock signal from IN01B05 to the Parity DAQ in IN02B24 and to the Parity DAQ in Hall C New Fibers Needed?