8
Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen Shi Nov. 25, 2012

Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

Preamplifier Test Hardware and Firmware Development

Brian Kirby and Xiaowen ShiNov. 25, 2012

Page 2: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

2

KLM/SciFi Preamp Test Setup

Test system uses TARGET4 based readout to send either MPPC or RC pulses to preamplifiers

Use to characterize KLM and SciFi preamplifiers

Nov. 25, 2012

Example Optical Test Card

Software Trigger

Test Setup Overview

Generate Test

Pulses

Preamplifier Testing Card

TARGET4 Pulse Sampling

LED + MPPC Pair

Test Signals Sent to 16 Preamps

Example MPPC Test Pulse

MPPC Dark Box

Page 3: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

3

TARGET4 Readout Firmware ITARGET4 has 16 channels, for each channel input signal sampled and written to storage cells in groups of 32 (see TARGET4 documentation for details)

For preamp test, only read out a single group of 32 stored/digitized samples

Basic check of the readout firmware: sample a continuous sine wave signal produced by function generator

Vary sine wave signal frequency to show sampling rate is ~2.4 Gsamp/s, unfortunately can't be reduced

Nov. 25, 2012

Freq. (MHz) Observed Period (# samples)

Sampling Freq. (Gsamp/s)

50 48 ~2.4

60 40 ~2.4

70 34 ~2.4

80 30 ~2.4

32 Sample Waveform with 70 MHz 400mVpp

input sine wave

Page 4: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

4

TARGET4 Readout Firmware IIFunction generator can also provide triggered pulse

Triggered pulse signal will arrive at a consistent time relative to software trigger, can test readout delay parameters

Can adjust sampling window position wrt trigger in 3ns increments

Nov. 25, 2012

Trigger Signal (distorted)

Triggered Pulse(~200mV high, ~20 ns rise time)

Example Waveform Readout Using Different Sampling Window Times

Page 5: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

5

TARGET4 Readout Firmware IIIWhen sampling MPPC signals, need to correct for variation in baseline noise signal for each sample in the 32 sample group

Requires a dedicated pedestal run, processed to infer pedestal value

Analysis framework then uses measured pedestal to correct waveforms

Pedestal histograms (not shown) have some odd features, RMS is too wide, needs further work

Nov. 25, 2012

Baseline Noise SignalBefore Pedestal Correction

Baseline Noise SignalAfter Pedestal Correction

Page 6: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

6

MPPC Board TestsWith firmware readout and pedestal correction working, can look at MPPC signals produced by test board

Strobe signal is sent to test board after software trigger, lights LED for configurable time (currently ~60ns)

Observe MPPC pulse signals, pulse start times are not consistent (probably not fixable)

Nov. 25, 2012

Large MPPC Pulse Waveform

No MPPC Pulse Waveform

Early MPPC Pulse Waveform

Late MPPC Pulse Waveform

Pulse Height

Page 7: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

7

MPPC Pulse SelectionImplement a preliminary selection to identify pulses that occur within the sampling window (significant improvement needed)

– Require minimum sample in waveform to occur between samples #15 and 28

– Require “local minimum”, minimum sample is at least 20 ADC counts below samples 0 and 31

– If cuts passed, minimum sample is assumed to be MPPC peak

Nov. 25, 2012

MPPC Board Data Distribution ofDifference Between Adjacent Samples

ADC units

MPPC Board Data Disitribution of Minimum Sample Number

Sample Number

ExcludeRoughly 20 ADC unit RMS

Weird distribution, sign that LSB is not read out correctly

Weird distribution, need to understand

Page 8: Preamplifier Test Hardware and Firmware Developmentidlab/taskAndSchedule/KLM/K... · 2012. 11. 25. · Preamplifier Test Hardware and Firmware Development Brian Kirby and Xiaowen

8

MPPC Pulse SpectrumHistogram of selected “pulse” heights shows a typical multi-peak distribution

• Good indication that we are sampling at least some MPPC pulses

Peaks are smeared out, noise and pulse selection need improvement

Measuring position of single pixel peak provides gain estimate

• Ideally measure positions of multiple peaks to improve gain estimate

Nov. 25, 2012

ADC units

Roughly 20 ADC unit RMS

Disitribution of Selected Pulse HeightsPedestal peak, offset from 0 due to fluctuations

Single MPPC pixel peak

Double MPPC pixel peak