410 likes | 421 Views
C. Deplano, J.J. Savioz, A. Topaloudis. MOPOS Measurements REPORT SVN 183 / 185. Outline. Setup FIFO Capture Injection Trajectory Orbit Diagnostic Global Orbit Continuous Filter For each one: Software menu Measurement & behavior BST and IRQ Conclusion. Setup – MOPOS Lab.
E N D
C. Deplano, J.J. Savioz, A. Topaloudis MOPOS Measurements REPORT SVN 183 / 185
Outline • Setup • FIFO • Capture • Injection Trajectory • Orbit Diagnostic • Global Orbit • Continuous Filter • For each one: • Software menu • Measurement & behavior • BST and IRQ • Conclusion Caterina Deplano
Setup – MOPOS Lab • 1 VME crate cfv-866-bidev1 (32-bit) • 1 VFC v2 board + 1 FMC board • 1 Front-End Board (first prototype – last year) equipped with a LogAmp Board on the H plane • Front End Frame: data from a single batch, 64 bunches each (LogAmp Calibrator – Horizontal Plane) • All acquisition done via the VME/WB trigger register • Where not differently specified: SVN version 183 • Timing constrains MET • SVN 183 BST block NOT CONNECTED ONLY INTERNAL VFC CLOCK • SVN 185 BST block CONNECTED Caterina Deplano
Setup – MOPOS Lab Ch2 • FMC TOP • CH1 connected to the Front-End Front-End Frame CH2 not connected VFC Internal Frame Ch1 BST Caterina Deplano
Setup – MOPOS Lab • The measurement can be done with 2 different frames: • Front-End Frame • Operational • Frame from the Front-end board connected to the optical fiber • Internal Frame • Debug • Internally generated on the VFC Application FPGA • Same length • ADC data are different • The internal frame has only one Long Word which change • turn clock counter • Software: • FPGAs Configuration via software on CPU • Data analysis with python routines on cs-ccr-dev3 Caterina Deplano
LogAmp Calibration via Serial Link Caterina Deplano
LogAmp Calibration via Serial Link • Log-Amp calibration maximum positive displacement 1 batch of 64 bunches Caterina Deplano
Parallel Modes • Possibility to test each mode individually or ALL modes in parallel • FIFO and Filter are asynchronous MODEs Caterina Deplano
FIFO MODE • Debug Mode Complete Frameavailableoff-line (All Data) Caterina Deplano
FIFO MODE – Front End Frame • Log-Amp calibration maximum positive displacement Bin: ADC SLOT (100 ns ) Caterina Deplano
FIFO MODE – Internal Frame Caterina Deplano
CAPTURE MODE • Raw ADC Data available off-line • Debug Mode Data related to one plane only (H or V) • 1 Intensity Signal: SUM • 3 Position Signals: 40MHz H – 40 MHz L – 200 MHz • Operational Mode Data related to plane H and plane V • 1 Intensity Signal: SUM • 1 Position Signal: Selected Position between the 40MHz H – 40 MHz L – 200 MHz • 1 Intensity Signal: SUM • 1 Position Signal: Selected Position between the 40MHz H – 40 MHz L – 200 MHz H V Caterina Deplano
CAPTURE MODE Caterina Deplano
CAPTURE (Debug Mode) Caterina Deplano
CAPTURE (Debug Mode) Delta signals selected if Sum > validity 40M H if SUM < sensitivity Caterina Deplano
CAPTURE (Operational Mode) Delta signals selected if Sum > validity (10000 Adc bin) 40M H if SUM < sensitivity (12000 Adc bin) Caterina Deplano
CAPTURE (Operational Mode) 40M L 40M H 40M H Caterina Deplano
CAPTURE (Operational Mode) 40M L 40M H 40M H Off-line analysis: ▼ mean position calculated ● x-coordinate to select the points to calculate the mean position Caterina Deplano
CAPTURE (Operational Mode) Caterina Deplano
Trajectory MODE • Triggered at Injection Mean Position Value / Batch • Up to 13 batches can be selected Caterina Deplano
Trajectory (Debug Mode) slots 16 ÷ 28 slots 11 ÷ 15 slots 1÷ 10 slots 29÷ 40 slots 41÷ 50 Caterina Deplano
Trajectory (Debug Mode) Caterina Deplano
Trajectory (Debug Mode) • RANDOM BUG: sometime one or more batches show a 0 value • The other turns are fine • Independent from the batch definition Caterina Deplano
Trajectory (Operational Mode) Caterina Deplano
Trajectory (Operational Mode) Validity = 12000 Sensitivity = 12000 Delta H = Delta 200 Caterina Deplano
Orbit Diagnostic MODE • Mean Position Value / ADC Slot • Can be used to define the slots selection for the Global Orbit Mode Caterina Deplano
Orbit Diagnostic MODE Delta H = Delta 40 L Validity = 0 Sensitivity = 0 Validity = 10000 Sensitivity = 12000 Delta H = Mix between Delta 40 L and H Related to Sensitivity Systematic BUG solved First tour used to reset previous DAQ Caterina Deplano
Orbit Diagnostic MODE Caterina Deplano
Orbit Diagnostic VS Capture Validity = 10000 Sensitivity = 12000 Capture 1 Turn Orbit Diagnostic 254 Turns Caterina Deplano
Global Orbit MODE • Mean Position Value / Turns Currently one value every t turn • The slots to be considered in the mean calculation can be masked To be changed? One mean value for each batch (up to 13) ?????? Caterina Deplano
Global Orbit MODE Validity = 0 Sensitivity = 0 Ask for slots 1-50 Delta 40 L Ask for slots 1-235 Systematic BUG solved reset of enable signals Delta 40 L Caterina Deplano
Global Orbit MODE Validity = 10000 Sensitivity = 12000 Ask for slots 1-235 Delta 40 H or Delta 40 L Ask for slots 20-25 Delta 40 L Caterina Deplano
Filter MODE • Same information as the Global Orbit mode BUT • The slots cannot be masked individually • It is a Continuous Filter (Infinite Impulse Response) • Must be reset before each new cycle Caterina Deplano
Filter MODE since svn 176 • To be done: • τ is constant = 24 • Implement the programmable time constant To be done: More measurements to verify the variance Caterina Deplano
IRQ – BST Test ongoing • BST triggers OK (tested with the UTC clock from the BST Master) • To be tested: the correct BST Master Hardware Register and the Pre-pulse Signal • Single Interruption • DAQ IRQ ok if the VME asynchronous trigger is used • DAQ IRQ okif the BST synchronous trigger is used (Capture Mode) • Injection Trajectory, Global Orbit and Orbit Diagnostic: change the software procedure • Multiple Interruptions TO BE TESTED • Test successive Interruption: • Global Orbit: 1 DAQ IRQ every 10 orbits (FIFO almost full) and 16 orbits (FIFO full) Caterina Deplano
IRQ – BST BST Master Frame - SPS TO BE DONE • Test the Pre-pulse signal • Ejection-signal ? • Fix the hardware bit for each DAQ Mode (one for each DAQ mode is needed?) • Fix the trigger rate of each DAQ MODE: • Global Orbit IRQ @ 100 Hz (10 orbits acquired at the IRQ) • Orbit Diagnostic 100 Hz ? • Injection Trajectory Pre-pulse – single DAQ IRQ • Capture on request – single DAQ IRQ • Provide software procedure to use the pre-pulse to trigger the Capture and the Trajectory modes together • Filter + General BST Information 1kHz? 100 Hz? • Provide the software procedure Caterina Deplano
Conclusion Random bugs • Injection Trajectory: one or more batches get a 0 value for one tour (while before/after are good); it is independent from the batch number and from the batch definition (number of slots) and from the front-end or internal frame • Turn Clock lost on the Front-End Board after few/some hours. Problem in the connection between the FE board and the AFPGA (??). needed to restart the optical link • Turn Clock on Application FPGA from SVN 185: • Double turn generation asecond pulse is generated 50 ns after the first • Sometimes it is needed to restart the optical link several times to take the link synchronization Caterina Deplano
Conclusion Still to be tested • Interruptions and BST • Do all the measurement with the FE frame for the FMC ch2 Improvements • Filter: use the programmable time constant set by VME • Global Orbit Single Batch Selection (currently done) or Orbit per Batch Selection (to be done) ? Remarks • Timing constraints MET • The Front-End frame and the internal frame show the same behavior for all the acquisition modes. Caterina Deplano
FIFO MODE – Internal Frame • BUG (Timing Constraint Met): SOLVED ?! • Svn 176: Plane V for FMC TOP channel bottom (ch2) shows an internal frame always wrong. • Snv 177: Correct; both planes, both FMC channel not tested FE frame on FMC ch2 • Snv 182: FMC ch1 Correct; FMC ch2 V/H plane wrong • SVN 183 and 185 OK internal data frame resynchronized (same frequency but random phase) Caterina Deplano
BST Master Frame – new bits/tasks ? Caterina Deplano