FA125 Meeting May 13, 2016

From GlueXWiki
Jump to: navigation, search

Friday May 13, 2016, FA125 meeting

Agenda

  1. Objectives
  2. Current performance
  3. Busy signal details
  4. Testing plans

Minutes

Participants: Naomi, Cody, David, Sergey, Beni, Lubomir


  1. Objectives: David reminded us that the objectives for the runs in 2018 include a rate on the target of 5e7 photons/second and the DAQ running at 100kHz (a photon flux of 1e8 Hz was mentioned originally, but this was reduced to 5e7). The DAQ livetime was not mentioned but is assumed to be 90%.
  2. Current performance: Cody's tests show the FA125 running at sustained rates (continuously) with the current parameters of window size = 200, integrating to the end of the window, 16 pedestal samples, search for 1 peak, for short mode, trigger in to data out:
    • 0% occupancy (no hits) = 4.9uS = ~204kHz
    • 17% occupancy (1 hit per chip) = 5.9uS = ~170kHz
    • 100% occupancy (6 hits per chip, on all 12 chips) = 8.8uS = ~113kHz
    • Just algorithm = 4.68uS
    • The card can buffer up to 4 triggers, so higher burst rates will be obtainable.
  3. Busy signal (Cody):
    • Data from 4 hits can be buffered before the busy signal is asserted. If the data from the first hit is still processing, the busy signal would switch on when a 5th trigger is received. This 5th set of data would be processed, but data from 6th and later triggers would be rejected if the busy signal is still on. The busy signal is cleared when one set of data has been processed and there are 4 or fewer triggers (aka sets of hit data) in the buffer.
    • Each fadc has its own busy signal.
    • The busy signal is transmitted through the backplane; no extra wiring is needed.
    • The propagation delay time is unknown at present. This is the time for the busy signal to go through the backplane to the SD cards to the TI board in the same crate and then through fibre optic to the TS crate. It is probably about 1us. Cody will measure this. The level 1 holdoff should be larger than the propagation delay.
    • Any card in the system (ie any fadc from any detector) asserting busy will cause the TS to stop sending triggers until the busy has cleared.
    • Holdoff times. The level 1 holdoff should be set larger than the propagation delay. It would be possible for the TS firmware to monitor the busy signal and count the number of triggers it has sent out but it does not do this at present. Only a minimum holdoff would be needed between the first 3 triggers (probably on the order of 10 to a few 100 ns, less than the propagation delay).
    • The TS has the firmware to handle the busy signals from the fadcs but this has not been implemented yet.
  4. VME readout (Sergey):
    • The VME readout has a reasonable livetime up to 100kHz.
    • BlockLevel is the number of triggers (events) which accumulate on the fadc125 board before VME readout. After VME readout, all of them will be written into one block of evio data.
    • BufferLevel is the number of blocks allowed to be stored on the fadc125 before further triggers from the TS are inhibited.
    • The output buffer on the fadc can hold up to 262k 32bit words, but in practice we do not reach this amount because the ROC (one per crate) buffer is 4MB. The ROC data buffer size is limited to 4MB by the DMA protocol and it must be emptied when it is full.
    • It takes some time to get the data off the fadc board through the backplane. The amount of transfers are limited by the 4MB DMA protocol buffer size. It takes 170us to transfer this buffer with the blocklevel=20. The buffer size is set for 100% occupancy, blocklevel has to be no more than 40 for the CDC in order to fit a crateful of hits into the DMA buffer. Setting up the DMA transfer takes 100 us, transfer is much shorter (~50us). The DMA buffer is on the ROC. (So increasing the number of crates would increase the total buffers available).
    • Using the busy signal should improve the livetime as the trigger holdoff can be reduced to the minimum necessary, not a conservative (worst case) value as at present. The current bottleneck is the tagger fadcs (because of the cable length?).
  5. Hit occupancy & hit search (Naomi)
    • Run data hit occupancy plots are mostly 0 or 1 per trigger, slightly higher in roc25, with an occasional 6 (100%); Naomi will provide some plots. An idea to improve the hit search by inspecting every other sample instead of every sample (as we require 2 consecutive samples over threshold) but this has some overheads per possible hit and because of this it would not be an improvement if the threshold was skimming the noise.
  6. Test plans
    • We need to make sure that the firmware is up to date on the TI and TS, and look out for possible customizations in the present code. Sergey will look to see if any updates are needed. We only need to use one crate for testing. Sergey will notify Sascha when updating the firmware.
    • Cody will measure the delay times. Ben Raydo (fa250) and Sergey are also interested in this.
    • Cody usually tests using a low threshold (so that all channels see hits) and masking off channels to give a defined occupancy.
    • The TI produces a random trigger, could measure ration of acknowledged: declined, but the trigger might be limited to 250khz.
    • Beni will provide a more realistic 'true random' trigger using a PMT with a small light leak.
    • An alternative is to use trig2 (?) produced from a trigger analog pulser and vary the time between trig1 and trig2.
    • Fernando needs to be notified before the CDC LV is switched on, we do not need HV.
    • The fa125 readback mode was disabled when short of space but could be re-enabled for a test version with one readout mode. It was not clear if this would be beneficial.
  7. FA125 power
    • Reminder that we can use the poweroff and poweron features on the fa125