KLM: TARGETX. User-Interface for Testing TARGETX Brief Testing Overview Bronson Edralin 04/06/15

Similar documents
Design and Performance of an Automated Production Test System for a 20,000 channel single-photon, sub-nanosecond large area muon detector

Understanding IRS3B, board-stack and

Prospect and Plan for IRS3B Readout

FPA (Focal Plane Array) Characterization set up (CamIRa) Standard Operating Procedure

PRELIMINARY INFORMATION. Professional Signal Generation and Monitoring Options for RIFEforLIFE Research Equipment

Digital Storage Oscilloscopes 2550 Series

The Measurement Tools and What They Do

Large Area, High Speed Photo-detectors Readout

Operating Instructions

Sources of Error in Time Interval Measurements

PulseCounter Neutron & Gamma Spectrometry Software Manual

Datasheet SHF A

Commissioning and Initial Performance of the Belle II itop PID Subdetector

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

INF4420 Project Spring Successive Approximation Register (SAR) Analog-to-Digital Converter (ADC)

Beam test of the QMB6 calibration board and HBU0 prototype

MTL Software. Overview

HP 71910A and 71910P Wide Bandwidth Receiver Technical Specifications

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

Oscilloscope Guide Tektronix TDS3034B & TDS3052B

8500A. Advanced Test Equipment Rentals ATEC (2832) channel capability. For tests on pulse mod- SERIES PEAK POWER METERS

CAEN Tools for Discovery

NENS 230 Assignment #2 Data Import, Manipulation, and Basic Plotting

Lab 1 Introduction to the Software Development Environment and Signal Sampling

A TARGET-based camera for CTA

ISCEV SINGLE CHANNEL ERG PROTOCOL DESIGN

Agilent DSO5014A Oscilloscope Tutorial

MCP Signal Extraction and Timing Studies. Kurtis Nishimura University of Hawaii LAPPD Collaboration Meeting June 11, 2010

BitWise (V2.1 and later) includes features for determining AP240 settings and measuring the Single Ion Area.

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

Trigger synchronization and phase coherent in high speed multi-channels data acquisition system

Oscilloscopes, logic analyzers ScopeLogicDAQ

PCI-DAS6034, PCI-DAS6035, and PCI-DAS6036

Model 7330 Signal Source Analyzer Dedicated Phase Noise Test System V1.02

SigPlay User s Guide

Major Differences Between the DT9847 Series Modules

Testing and Characterization of the MPA Pixel Readout ASIC for the Upgrade of the CMS Outer Tracker at the High Luminosity LHC

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 105 MSPS ADC

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC

Digital Delay / Pulse Generator DG535 Digital delay and pulse generator (4-channel)

S op o e p C on o t n rol o s L arni n n i g n g O bj b e j ctiv i e v s

GALILEO Timing Receiver

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

Synthesized Clock Generator

Software Tools for the Analysis of the Photocathode Response of Photomultiplier Vacuum Tubes

CATHODE RAY OSCILLOSCOPE. Basic block diagrams Principle of operation Measurement of voltage, current and frequency

Advanced Test Equipment Rentals ATEC (2832)

Electrical and Electronic Laboratory Faculty of Engineering Chulalongkorn University. Cathode-Ray Oscilloscope (CRO)

SignalTap Plus System Analyzer

EASY-MCS. Multichannel Scaler. Profiling Counting Rates up to 150 MHz with 15 ppm Time Resolution.

ATS MS/s 8-Bit PCI Digitizer

DT9837 Series. High Performance, USB Powered Modules for Sound & Vibration Analysis. Key Features:

Analog Discovery Scope and Waveform Generator Edited 11/15/2016 by Eric Scotti & DGH

Lab 2: A/D, D/A, and Sampling Theorem

PicoScope 6407 Digitizer

WaveDriver 20 Potentiostat/Galvanostat System

DAC Express Release 3.4 (VT9801B)

LadyBug Technologies, LLC LB5908A True-RMS Power Sensor

VBOX 3i Dual Antenna Measures Slip and Pitch/Roll (RLVB3iSL)

Advanced Test Equipment Rentals ATEC (2832)

B I O E N / Biological Signals & Data Acquisition

ISC0904: 1k x 1k 18µm N-on-P ROIC. Specification January 13, 2012

potentiostat/galvanostat

7000 Series Signal Source Analyzer & Dedicated Phase Noise Test System

Digital Lock-In Amplifiers SR850 DSP lock-in amplifier with graphical display

TransitHound Cellphone Detector User Manual Version 1.3

SDS1000C Specifications

VBOX3i Dual Antenna. Measures Slip and Pitch/Roll (RLVB3iSL) Features

Precision testing methods of Event Timer A032-ET

VBOX 3i. 100Hz GPS Data Logger (VB3i-V3) Features

User s Manual. Log Scale (/LG) GX10/GX20/GP10/GP20/GM10 IM 04L51B01-06EN. 3rd Edition

Broadcast Television Measurements

BTV Tuesday 21 November 2006

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

GFT Channel Digital Delay Generator

Benefits of the R&S RTO Oscilloscope's Digital Trigger. <Application Note> Products: R&S RTO Digital Oscilloscope

Features of the 745T-20C: Applications of the 745T-20C: Model 745T-20C 20 Channel Digital Delay Generator

Contents. Welcome to LCAST. System Requirements. Compatibility. Installation and Authorization. Loudness Metering. True-Peak Metering

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

technical note flicker measurement display & lighting measurement

Pseudorandom Stimuli Following Stimulus Presentation

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

PicoScope 6407 Digitizer

WINTER 15 EXAMINATION Model Answer

Klystron Lifetime Management System

Front End Electronics

PHOTOTUBE SCANNING SETUP AT THE UNIVERSITY OF MARYLAND. Doug Roberts U of Maryland, College Park

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Tutorial 3 Normalize step-cycles, average waveform amplitude and the Layout program

RIGOL. Data Sheet. DS1000B Series Digital Oscilloscopes DS1074B, DS1104B, DS1204B. Product Overview. Easy to Use Design. Applications.

EDL8 Race Dash Manual Engine Management Systems

Quick Start Operating Instructions

Online Monitoring of L1CT in Run IIa. bonus: experience from Run I

2016 RIGOL TECHNOLOGIES, INC.

Getting Started with the LabVIEW Sound and Vibration Toolkit

User s Manual. Log Scale (/LG) GX10/GX20/GP10/GP20/GM10 IM 04L51B01-06EN. 2nd Edition

User Manual. Digital Storage Oscilloscopes Models 2534, 2540 & General Safety Summary. Version 1.03

Meeting Embedded Design Challenges with Mixed Signal Oscilloscopes

ScopeMeter 190 Series Specifications

Transcription:

KLM: TARGETX User-Interface for Testing TARGETX Brief Testing Overview Bronson Edralin 1

TARGETX Test Team TARGETX Waveform Sampling/Digitizing ASIC Designer Dr. Gary S. Varner Features 1 GSa/s 16 Channels 512 Windows 32 Samples per Window Used for? NOTE: 16th Channel used to inject sinusoid for testing. KLM Sector of the Belle II Detector system in Japan TARGETX Test Team at University of Hawaii Software Firmware Xiaowen Shi Advisor Dr. Seyed Isar Mostafanezhad Hardware Bronson Edralin Dr. Gary S. Varner Special Thanks to... Peter Orel, Lauri Vihtori Virta 2

User Interface Created for Testing TARGETX 3

Default Registers: BiasRev #1.1 Signal Register # Default Value (old) Run values Default Value (new) Signal Register # Default Value (old) Mon_Timing_SEL 74 40 WR_ADDR_Incr1 LE 66 13 WR_ADDR_Incr1 TE 67 33 WR_STRB1 LE 68 20 WR_STRB1 TE 69 40 WR_ADDR_Incr2 LE 70 33 WR_ADDR_Incr2 TE 71 53 WR_STRB2 LE 72 56 WR_STRB2 TE 73 12 VBIAS 61 1130 Run values Default Value (new) SSTIN_N VADJ_P 56 1152 VADJ_N 58 2235 ISEL 50 2650 Vdischarge 49 0 WL_CLK_p 63.7 MHz CMPbias2 76 737 Pubias 77 3112 Qbias 52 1500 VANbuff 57 0 Vqbuff 53 1062 SSToutFB 75 58 VtrimT 54 1209 CMPbias 78 1152 4

Projected Implementations to Automate Certain Tests Test to Optimize Bias Register Values Linearity Test Using Infinite Sinusoid Control Digital DC Power Supply Remotely Be able to choose what bias register value to change Be able to set parameter for input dc voltage Plot all waveforms onto one graph Plot results Fit to Expected Sinusoid and plot it per waveform Use Chi-Squared Test to Quantify Best Fit Regression Analysis to fit a line/curve of best fit to results and extract transfer function so we can convert ADC Count to Voltage. Be able to scan multiple times with same bias register values to get list of chi-squared test scores. Calculate the average of these scores and log it. This should increase accuracy. Pedestal Test on Software Side Sinusoidal Scan Test Same as above but doesn't prompt to optimize biases. May be used in production runs. It will ask how many graphs do you want. Using Burst Sinusoid Be able to set parameter of the Delay and Cycles of the Sinusoidal Burst Pulse Ex. Delay = 1us:1us:4us Ex. Cycles = 3 Scan all 512 windows and plot onto one graph Make individual plots for every series of 4 windows Total of 16,384 analog storage cells Perform Histogram on select cells for 1,000 Events using a particular DC Voltage (Ex. 300mV) Histogram will tell us 2 things: Mean = What you normally subtract Std Deviation = if reasonable or defective storage cell Timing Resolution Test Sinusoidal Burst Scan Test Ex. Input = 0mV:1mV:300mV Find Zero Crossings at Rising Edges to calculate Period Plot Histogram of Period Trigger Scan Test Heatmap of trigger count for different thresholds by using a set High Voltage DAC value Isar (UH) and Brandon (Indiana) sorting out details in firmware FINALLY: Results must be properly logged in a Database or external hard drive. This means data must be organized well in a csv file initially with the proper headers NOTE: Green means implemented, Red means not implemented yet, Yellow means in development 5

Layout of Scripts Written [1/2] 1) tx_main.py 2) tx_getdata.py rigol_dg4162.py tx_target6control _writedacreg.cp p 3) tx_plot.py tx_onboard_pedc alc.cpp 5) tx_process.py 6) tx_trigscan.py 4) tx_db_utility.py target6control_ta kedata.cpp link.py 4/6/15 6

Layout of Scripts Written [2/2] 1. 1. 2. 5. main.py 4. 1. Write new bias register values 2. Turn function generator on/off remotely in between pedestal generation 3. Collect data 4. Parse data 5. Save data 1. Scale amplitudes to unity 2. Synchronization w/ Matched Filter 2. Plot fitted sinusoids on multiple plots 3. Chi-Squared Test (Goodness of Fit) quantize results saving scores on csv Leave output off if 'PEDESTAL_TEST' 4. 2. Plot Amplitude: Voltage vs ADC Count 3. Extract ADC to Voltage Transfer Function 1. Plot all waveforms on one graph 2. Histograms, plots for numerous tests 5. 1. Find zero crossings to determine Period 6. Upload test data to PostgreSQL database tx_trigscan.py 1. tx_process.py TRIG_SCAN 1. Plot heatmap of trigger count for different thresholds per HV_DAC value SINEBURST_SCAN 1. Plot Sinusoids in Appropriate Windows 4/6/15 TIMING_RESOLUTION_TEST 2. Plot histogram of Period tx_db_utility.py 2. 1. Plot results from chi-squared test LINEARITY_ADC_TO_VOLT 1. Determine Amplitude of Sinusoid tx_plot.py 1. OPTIMIZE_BIAS or SINE_SCAN 1. Fit observed sinusoid with expected sinusoid tx_getdata.py 1. 5. 3. User Interface that help ensure right inputs 1. 3. tx_process.py (continued) 7. tx_production.py or tx_production_parallel.py 1. PEDESTAL_TEST PRODUCTION_TEST 1. Plot Histogram per Analog Storage Cell 1. Choose ASIC #0-9 2. Extract Mean, std. Save in csv file 2. Bunch of Pre-Configured Tests NOTE: Red means not implemented yet, Yellow means in development 7

How Pedestals are done? AC Coupled Input Steps Change Bias Register Value Turn OFF Func Gen Generate Pedestals Turn ON Func Gen Get Data DC Coupled Input Steps Change Bias Register Value Turn ON Func Gen Generate Pedestals Turn ON Func Gen Change Amplitude to 1mVPP (smallest) Change Amplitude back to Default Amplitude Get Data 8

OPTIMIZE_BIAS & SINE_SCAN Fit Sampled Waveform to Expected Sinusoid by using Matched Filter for Synchronization Residuals by subtracting sampled by expected value from same data plotted on left NOTE: Chi-Squared Results used to quantify results and choose optimum bias register value *** More plots can be seen by performing test *** 9

SINEBURST_SCAN Ability to scan all 512 windows and plot them A typical waveform readout is made of 4 windows *** More plots can be seen by performing test *** 10

PEDESTAL_TEST Histogram of one cell Errorbar plot of mean and std per cell (128 cells) *** More plots can be seen by performing test *** 11

TIMING_RESOLUTION_TEST Ability to scan all 512 windows and plot them A typical waveform readout is made of 4 windows *** More plots can be seen by performing test *** 12

TRIG_SCAN TXDC1-6 connected on MotherBoard, but only TXDC1, TXDC2, TXDC4, TXDC5 & TXDC6 cables connected to RHIC Board NOTE: This particular test is still in development stage where Isar (UH) is working out details in Firmware. *** More plots can be seen by performing test *** 13

Estimation of Time to Complete each Test OPTIMIZE_BIAS 3 Hours, 40 Minutes LINEARITY_ADC_TO_VOLT Randomly pick 4 Windows (200 Events, 100 Bias Sweep) Randomly pick 4 Windows (1 Event, 4000 Bias Sweep) To Be Determined PEDESTAL_TEST Randomly pick 4 Windows (5000 Events) Generates 2*128 histograms of ADC Count for analog storage cells Generates 1 plot with all windows stitched together Generates 2*1 plot (dot or line) per bias value change for each set of 4 Windows (2*128 plots minimum for all 512 Windows) Scales Sinusoid Amplitude to 1 and fits it to Expected Sinusoid with unity amplitude Generates chi-squared test score for each fit and add to csv file Generate 1 plot for chi-squared test score vs bias value Generates total residual plot and errorbar of residuals for each fit. Windows 0 512 (1 Event) Randomly pick 4 Windows (5000 Events) Randomly pick 4 Windows (100000 Events) SINEBURST_SCAN Windows 0 512 (1 Event) 16 Minutes... Now 11 Minutes 36 Seconds Generates 1 plot with all windows stitched together Generates 1 plot for each set of 4 Windows (128 plots minimum for all 512 Windows) 16 Hours 52 Minutes HV_DAC = 10, 100; Threshold=3400:1:3700 Same as OPTIMIZE_BIAS just no bias changed 50 Minutes TRIG_SCAN (for RHIC Board) 16 Minutes... Now 11 Minutes 36 Seconds 1 errorbar including Outliers 1 errorbar filtering Outliers TIMING_RESOLUTION_TEST 128 histograms including Outliers 128 histograms filtering Outliers Generates 1 plot for percentage of outliers across 128 analog storage cells Generates 1 connected scatter plot per 4 windows stitched 50 Minutes Generates 2*1 errorbars for analog storage cells in mean and std SINE_SCAN 8 Hours, 45 Minutes 6 Hours, 23 Minutes, 48 Seconds PRODUCTION_TEST Decide on what tests to actually perform With future changes to be made to new motherboard, we will be able to perform a test sweep across all 10 TARGETX ASICs in one go. Does not do fit NOTE: Red means not implemented yet 14

PRODUCTION_TEST List of tasks for production: OPTIMIZE_BIAS PEDESTAL_TEST Randomly choose 4 Windows for readout Randomly choose 4 Windows for readout 5 Events Choose all 10 ASICs (ASICno 0-9 or TXDC1-10) on MotherBoard 5000 Events 10 Bias Register Value sweep (around 58) on SSTOUTFB (Reg #75) Choose all 10 ASICs (ASICno 0-9 or TXDC1-10) on MotherBoard Look for outliers Optimize the most sensitive Timebase Bias Register SINE_SCAN Choose all 512 Windows for readout 5 Events Choose all 10 ASICs (ASICno 0-9 or TXDC1-10) on MotherBoard Verify a clean visual of a sinusoid TRIG_SCAN HV_DAC = 10, 100 Threshold = 3400:1:3700 Verify hardware trigger SIPM Read out currents and temperature Verify health of board NOTE: Green means implemented, Red means not implemented yet, Yellow means in development 15

PRODUCTION_TEST: Parallel Processing BEFORE: NOW: Data Acquisition and Data Processing were Sequential Data Acquisition and Data Processing are in Parallel Test per ASIC (OPTIMIZE_BIAS, SINE_SCAN, PEDESTAL, TIMING_RESOLUTION) Test per ASIC (OPTIMIZE_BIAS, SINE_SCAN, PEDESTAL, TIMING_RESOLUTION) 2 hour(s), 9 min(s), 29 sec(s) ~ 1 hour(s), 19 min(s), 29 sec(s) (w/out TIMING...) Test per Board with 10 TARGETX ASICs ESTIMATE: ~ 21 hour(s), 35 min(s) ESTIMATE: ~ 13 hour(s), 29 min(s), 29 sec(s) (w/out TIMING..) Test per Board with 10 TARGETX ASICs ESTIMATE: ~ 19 hour(s), 42 min(s), 50 sec(s) ESTIMATE: ~ 11 hour(s), 20 min(s), 17 sec(s) (w/out TIMING..) Time Saved per Board... 1 hour(s), 58 min(s), 17 sec(s) ~ 1 hour(s), 8 min(s), 17 sec(s) ESTIMATE: ~ 1 hour(s), 52 min(s), 45 sec(s) 16

PRODUCTION_TEST: Storing of Data KLMReadout_<SERIAL> KLMReadout_<SERIAL> MotherBoard_<SERIAL> MotherBoard_<SERIAL> RHIC_<SERIAL> RHIC_<SERIAL> _SCROD_<SERIAL> _SCROD_<SERIAL> ASIC0_TARGETX_<SERIAL> ASIC0_TARGETX_<SERIAL> OPTIMIZE_BIAS OPTIMIZE_BIAS SINE_SCAN SINE_SCAN PEDESTAL_TEST PEDESTAL_TEST TIMING_RESOLUTION_TEST TIMING_RESOLUTION_TEST NOTE: GREEN -> Directories TEAL -> Test Directories ASIC9_TARGETX_<SERIAL> ASIC9_TARGETX_<SERIAL> TRIG_SCAN TRIG_SCAN SIPM SIPM 17

PRODUCTION_TEST: Logging Data [1/3] DESCRIPTION: OPTIMIZE_BIAS, SINE_SCAN, PEDESTAL_TEST, TIMING_RESOLUTION_TEST DESCRIPTION: TRIG_SCAN, SIPM 18

PRODUCTION_TEST: Logging Data [2/3] Optimized SSToutFB values properly logged 19

PRODUCTION_TEST: Logging Data [3/3] Production_log with DateTime logged 20