AMS DAQ, TRD DSP Software
AMS DAQ, TRD DSP Software
and
and
other
other
Topics
Topics
Overview
Overview
Arbeitstreffen, Aachen, Jul. 2011 Arbeitstreffen, Aachen, Jul. 2011
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
AMS on ISS
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
ISS Orbit Trapped Particles
ISS Orbit Trapped Particles
Proton Flux >10MeVKIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Current AMS DAQ Mode
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
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
UDR DSP Code Description
UDR DSP Code Description
(taken from Feb. presentation)
(taken from Feb. presentation)
a) Data calibration: pedestal calculation and test of channel
quality
b) Event processing: pedestal subtraction and
zero-suppression, dynamic pedestal calculation
c) DAQ monitoring: Assembly of housekeeping data,
calculation of occupancy and mean amplitude range
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
a) Data Calibration
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
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
b) Event Processing
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!)
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Dynamic Pedestal Calculation
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.
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
c) UDR DAQ Monitoring
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.)
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
TRD DAQ Monitoring
TRD DAQ Monitoring
Programs to extract
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
UDR DSP Code Test
UDR DSP Code Test
UDR2 DSP
udsp.c (Channels and Event Data
Amplitudes)
any generated or stored data
Set to sequencer bypass mode
1) Write calibration data 2) Write event raw data and trigger processing
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
TRD Data Calibration not at
TRD Data Calibration not at
equator
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!
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Amplitude Spectra
Amplitude Spectra
• Equator
• Polar
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Amplitude Spectra
Amplitude Spectra
• Equator• Polar
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Amplitude Spectra
Amplitude Spectra
• Equator• Polar
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
SAA RAW Data
SAA RAW Data
(not compressed by DSP)
(not compressed by DSP)
SAA (uncompressed) Raw Data UDR-0-0 Ch10
100 200 300 400 500 600 700 800 900 1000 ADC pedestal
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
UFE overshoot
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
2003 overshoot measurement
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Processed RAW SAA data
Processed RAW SAA data
SAA Event Size100 150 200 250 300 350 400 e v e n ts iz e ( n b .h it s /UDR) 100 200 300 400 500 600 ADC Half above /below pedestal Ch10
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
TRD event size in SAA
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Polar region
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:
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
Final Slide
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe
backups
KIT
KIT --IEKPIEKP Karlsruhe
Karlsruhe