AMS DAQ, TRD DSP Software and other Topics Overview Arbeitstreffen, Aachen, Jul. 2011 Andreas Sabellek IEKP - KIT Campus South Supported by the Carl-Zeiss-Foundation
AMS on ISS Realtime position: e.g. http://www.lizard-tail.com/isana/tracking/ 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.2
ISS Orbit Trapped Particles Proton Flux >10MeV Electron Flux >1MeV 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.3
Current AMS DAQ Mode DAQ runs continuously Data Calibration is (manually) made synchronous with orbit to avoid calibration in SAA or polar region DAQ Parameters: Calibration every ~46min around equator crossing TAS Run every ~69min 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.4
UDR DSP Code Description KIT - IEKP (taken from Feb. presentation) Three main detector-specific parts: a) Data calibration: pedestal calculation and test of channel quality b) Event processing: pedestal subtraction and zerosuppression, dynamic pedestal calculation c) DAQ monitoring: Assembly of housekeeping data, calculation of occupancy and mean amplitude range 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.5
a) Data Calibration Pedestal Calculation Step Initial pedestals for dynamic pedestal calculation Noise Calculation Step Used to reduce hit threshold for quiet channels Channel Quality Check Step Identified bad channels are excluded from correction calculation during DR 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.6
b) Event Processing Data processing Subtract pedestal value and common mode Hit detection: Store all amplitudes > 15ADC or 3 sigma for good channels Processing mode parameters for data reduction Variable sigma cut for hit identification (not used) Max and min hit threshold (currently 15 and 9 ADC) Dynamic pedestals (in use!) 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.7
Dynamic Pedestal Calculation Algorithm: For every event adjust pedestal for each channel of one of the amplifier chips by +1/8 ADC, if raw value > pedestal value -1/8 ADC, if raw value < pedestal value In this way, the pedestal in any case adjusts to the mean value. 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.8
c) UDR DAQ Monitoring Calculation Occupancy: During configurable time window (typically 6min), number of hits are counted and then stored in memory Amplitude: The mean amplitude continuously is adjusted by comparison to new hits Allows monitoring of data acquisition without analyzing event data (e.g. data is stuck in network/buffer/etc.) 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.9
TRD DAQ Monitoring Programs to extract information from BLOCK-files 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.10
UDR DSP Code Test Set to sequencer bypass mode 1) Write calibration data 2) Write event raw data and trigger processing UDR2 DSP any generated or stored data udsp.c Event Data (Channels and Amplitudes) Comparison of results from C code and DSP code. Any data can be fed into processing. C code can also be used to process recorded raw data. 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.11
TRD Data Calibration not at KIT - IEKP equator Does not effect event data, because - Wrong pedestals are corrected within first seconds by dynamic pedestals - Fixed hit threshold (currently 15ADC) is not effected by noisy calibration - Both is needed, because nobody guarantees calibration at equator! 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.12
Amplitude Spectra Equator Polar SAA MPV ~ 50 ADC 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.13
Amplitude Spectra Equator Polar SAA looks similar to random trigger 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.14
Amplitude Spectra Equator Polar SAA Overshoot dominated pedestals 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.15
SAA RAW Data KIT - IEKP (not compressed by DSP) SAA (uncompressed) Raw Data UDR-0-0 Ch10 ADC 1000 900 800 700 600 500 400 300 200 100 0 0 100 200 300 400 500 600 ~time (s) pedestal 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.16
UFE overshoot ~15us ~300us 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.17
2003 overshoot measurement 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.18
Processed RAW SAA data SAA Event Size 400 350 Ch10 600 500 eventsize (nb.hits/udr) 300 250 200 150 100 400 300 200 ADC Half above /below pedestal 50 100 0 0 0 100 200 300 400 500 600 700 800 time (s) 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.19
TRD event size in SAA 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.20
Polar region Observation 1: event size increases by factor ~2-10 in polar regions Observation 2: tracks together with wide range amplitudes off track Observation 3: Offline analysis shows no change for MPV on track Observation 4: Pedestal is stable 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.21
Final Slide 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.22
backups 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.23
TRD(U) Supply Electronics 2011-07-13 TRD, Aachen IEKP,Andreas Sabellek p.24