usbpix software status and plans dr. jens weingarten

16
USBPix software status USBPix software status and plans and plans Dr. Jens Weingarten

Upload: meagan-burns

Post on 06-Jan-2018

221 views

Category:

Documents


0 download

DESCRIPTION

PixLib is the functional layer of the current ATLAS Pixel DAQ software. Testsystem sw == Detector sw represents FE hardware functionality abstract interface to DAQ hardware  actual hardware (i.e. ROD or USBpix) inherited from base class DB interfaces for configuration and scan data custom, ROOT-based DB What is PixLib? Jens Weingarten, Uni Goettingen 3 PixModuleGroup PixModule PixFe PixMcc PixModule PixFe PixMcc PixModule PixFe PixMcc PixScan PixController PixConfDBInterface RootDB to application… to hardware…

TRANSCRIPT

Page 1: USBPix software status and plans Dr. Jens Weingarten

USBPix software USBPix software status and plansstatus and plans

Dr. Jens Weingarten

Page 2: USBPix software status and plans Dr. Jens Weingarten

hardware

h/w libraries

Software frameworkSoftware framework

03.05.23Jens Weingarten, Uni Goettingen 2

ROD USBPix

RodDaq SiUSBLib

RodPix

CtrlUSBPixCtrl

PixLib::PixController

PixLib

Applications

new

changes

needed

We started development for USBPix from a Pixel DAQ version from about 3 years ago, not to have to use full infrastructure. (not necessary for a lab test system)

Software is based on a collection of C++ classes (PixLib) that encapsulate the functionality of the Pixel hardware (both Pixel module and readout hardware).

Applications layer needs very few changes to work with single FE-I3. Can otherwise be used out of the box.

New hardware necessitated new interface class, based on FPGA and micro-controller firmware provided by bonn.

Page 3: USBPix software status and plans Dr. Jens Weingarten

PixLib is the functional layer of the current ATLAS Pixel DAQ software.

Testsystem sw == Detector sw

• represents FE hardware

functionality• abstract interface to DAQ hardware actual hardware (i.e. ROD or USBpix) inherited from base class• DB interfaces for configuration and scan data• custom, ROOT-based DB

What is PixLib?What is PixLib?

03.05.23Jens Weingarten, Uni Goettingen 3

PixModuleGroupPixModule

PixFePixMcc

PixModulePixFePixMcc

PixModulePixFePixMcc

PixScan

PixController

PixConfDBInterfaceRootDB

to application…

to hardware…

Page 4: USBPix software status and plans Dr. Jens Weingarten

Applications: STcontrolApplications: STcontrol

03.05.23Jens Weingarten, Uni Goettingen 4

• load/edit/save FE configurations• configure/reset FE• configure/execute scans (some pre-defined, no hidden presets in scan configuration)• view/analyze/plot results (optimized for low memory usage)

• control external hardware (e.g. power supplies, meters, probe- station, etc.)• measure DCS quantities through USB or GPIB (e.g. on-board ADCs, SMUs, etc.) e.g. probecard (inherited from PixDCS)

Page 5: USBPix software status and plans Dr. Jens Weingarten

Applications: ModuleAnalysisApplications: ModuleAnalysis

03.05.23Jens Weingarten, Uni Goettingen 5

• display contents of results file (memory saving)• load selected/all items in a file• various pre-defined analyses:

• threshold/noise distributions• crosstalk• spectrum from TOT data

• refitting of scan data (s-curves, TOT calibration, etc.)• comparisons between scans (difference, ratio, correlation of quantities)• uses ROOT (plot options, command line, macro execution)

Page 6: USBPix software status and plans Dr. Jens Weingarten

Hardware interfaceHardware interface

03.05.23Jens Weingarten, Uni Goettingen 6

There is one single class in PixLib (PixController) that encapsulates the hardware interface. This class sends FE configurations, executes scans, downloads histograms, and sets the run mode of the system (occupancy, TOT histograms or raw data).

For the ATLAS Pixel system the RodPixController was derived from that and uses common ATLAS VME and custom ROD/BOC classes.

For the USB system a new USBPixController was derived which uses DLLs provided by Bonn. These encapsulate micro-controller and FPGA functions on the board, allowing execution of one scan loop on the board, histogramming and a raw data mode.

The type of controller is determined in higher hierarchy levels by dynamic cast, making it safe and easy to use the same software with both systems.

Page 7: USBPix software status and plans Dr. Jens Weingarten

Why PixLib?Why PixLib?

03.05.23Jens Weingarten, Uni Goettingen 7

• provides access to complete FE configuration (global and pixel register)

• uses custom ROOT-based DB format• can read and write TurboDAQ format config files

• lots of standard scan algorithms implemented and debugged• used during ATLAS Pixel system test• scan configuration completely accessible easy non-standard scans

• modular design will allow for easy transition from single-chip to multi-chip module• PixController class single h/w dependent component• easy implementation of new hardware through inheritance from base classes

• FE-I generations• peripheral h/w: DCS, probestation

• (mostly) platform-independent implementation• all developments are compatible with current and future DAQ systems and can be used in the experiment software

Page 8: USBPix software status and plans Dr. Jens Weingarten

Available functionalityAvailable functionality

03.05.23Jens Weingarten, Uni Goettingen 8

Scans• 0D scans (e.g. digital, analog scan) and 1D scans (e.g. threshold scan) available• every FE DAC available as scan parameter• ‘DCS’ scans: IV curve, DAC calibration using GPIB or USB interfaces• 2D scans (e.g. TDAC/FDAC tuning) available• timewalk and intime threshold scan under investigation (hardware timing resolution > 1 ns)• crosstalk and source scan being tested

Histograms• occupancy available, all maps for a threshold scan fit into on-board memory• TOT available, TOT_mean and TOT_sigma calculated offline• S-Fit histograms available, calculated on host as post-loop action• no LVL1 histograms

General• strobe duration adjustable• all standard masks available• selftrigger being tested

• unavailable ROD functionality caught by exceptions• limitations through USB accesses apparent when downloading data (but saving to disk dominates)

Page 9: USBPix software status and plans Dr. Jens Weingarten

Validation IValidation I

03.05.23Jens Weingarten, Uni Goettingen 9

188.7e 217.3e

212.8e428.2e

Threshold and noise results as expected from TurboDAQ.

Page 10: USBPix software status and plans Dr. Jens Weingarten

Validation IIValidation II

03.05.23Jens Weingarten, Uni Goettingen 10

FDAC tuning as expected TOT calibration as expected

Page 11: USBPix software status and plans Dr. Jens Weingarten

IssuesIssues

03.05.23Jens Weingarten, Uni Goettingen 11

issue with retrieval of last scan

histogram

There are also some indications of a difference in threshold between STcontrol and TurboDAQ with the same settings problems with DAC setting?under investigationA bug, not a feature!

Page 12: USBPix software status and plans Dr. Jens Weingarten

PlansPlans

03.05.23Jens Weingarten, Uni Goettingen 12

Prototype characterisation:

•implementation of test-chains should be straight-forward if firmware supports it

•will provide access to every configuration bit through standard config interface (‘global’/’pixel register’)

•implementation of FE-I4 class starts soon• change register sizes• adapt PixLibs scan mechanisms (possible because FE-I4

command structure very similar to FE-I3)• significant changes needed in analysis (histogram sizes

hardcoded in some places)• module emulator needed for debugging can be reused for ROD operation

•analysis for test-chains to be implemented compare bit-sequences

Page 13: USBPix software status and plans Dr. Jens Weingarten

PlansPlans

03.05.23Jens Weingarten, Uni Goettingen 13

Production testing:

1.Wafer level:• probestation control is being implemented• run standard set of tests and analyses using

‘primitive list’ function (available)• creation of a wafermap to be implemented in analysis

software (automated analysis plus geographical representation using position from probestation)

2.Module level:• single-chip module: done!• multi-chip module: should be straight-forward from

software side (firmware main construction site)• multi-board operation necessary !

Page 14: USBPix software status and plans Dr. Jens Weingarten

TestbeamTestbeam

03.05.23Jens Weingarten, Uni Goettingen 14

Beam

6 telescope plains

DUT

EUDAB readout

TLU

Multi-IO board was designed to be compatible with EUDET trigger-logic-unit integration ‘on DAQ level’ straight-forward; USBPix data producer needed, telescope readout incl. tracking, alignment provided by EUDET experience exists after integration of standard Pixel test system implement data taking mode in USBPix

Page 15: USBPix software status and plans Dr. Jens Weingarten

03.05.23Jens Weingarten, Uni Goettingen 15

Backup

Page 16: USBPix software status and plans Dr. Jens Weingarten

Why PixLib?Why PixLib?

03.05.23Jens Weingarten, Uni Goettingen 16

Calibration

Console

RODDSP code

Histogram server

CASTOR

Analysis Schedule

r

Analysis Tasks

Conn DB Conf DB

CalibResults DB

MetaData DB

DB server

DCS

IS

local storag

e

On-LineOff-Line

A diverse application layer based on PixLib has been/is being developed for ATLAS Pixels, which can be re-used for IBL Synergy