Update on Cold Electronics Test Stand Interfaces 20170109- Cold Electronics Meeting - B. Kirby 1
Overview ● Reminder: UDP-based readout for cold electronic test stands and upcoming production electronic tests ● Recent progress ● Upcoming work 2
UDP-Based Cold Electronic Interface PC UDP FEMB ● J. Fried (BNL) implemented a very simple UDP-based interface that allows direct ethernet connection between cold electronic boards (FPGA board, WIB) and readout PC (or switch) ● Jack has posted his readout firmware + LabView interface here: http://www.inst.bnl.gov/~jfried/LIQ_ARG/DUNE_SBND_FILES.htm 3
Updated Cold Electronics UDP Interface Software ● Simple python modules implemented for use with FEMB UDP interface ○ https://github.com/DUNE/femb_python ● Intended to simplify working with FEMB test stands ○ Provide a version controlled + stable readout ○ Physicists can define their own tests easily with python scripts ○ Automate board initialization, data-taking and analysis ○ Very easy to integrate signal generator / power supply control into test scripts ○ Generic interface to testing database ● Plan to use python-based readout to automate cold electronic production testing and documentation of results via database 4
Recent Progress ● Significant improvements to basic python package since last update ○ J. Hugon revised directory structure, committed code to official DUNE git repostiory, implemented a pip install script ○ Fully migrated to python3 ○ Implemented basic readout modules for 35t + SBND FEMBs, ADC ASIC chip tester and SBND + WIB 5
WIB Test Stand: Automated Gain and ENC Measurements ● As part of WIB + SBND integration tests, implemented a fully automated channel gain and ENC measurement: https://github.com/DUNE/femb_python/blob/master/femb_python/test_measurements/wibTestStand/doFembTest_gainMeasurement.py ● Automated measurement steps: ○ Check Test Stand: ■ Checks state of readout, bench supplies, executables and database interface ■ Initialize board to known “default” state ○ Perform Test: ■ Configure ASIC channels and record multiple “subruns” with different pulser signal sizes ○ Analyze data: ■ Analyze from multiple subruns to measure gain and noise for each channel ■ Produce and display a standard summary plot ● Measurement takes O(5 minutes) (including analysis) and produces ~10MB ○ Data-taking environment, output files and results automatically documented 6
WIB Test Stand: Automated Gain and ENC Measurement Plot Pedestal Mean vs Channel # FFT Vs Channel # Gain Vs Channel # ENC Vs Channel # Overall Gain Distribution Overall ENC Distribution 7
Database Interface ● Previously presented a version of the automated measurement package that included a simple database interface based on SQLalchemy and sqllite ○ Feedback suggested this was unnecessarily restrictitve, would be better to define a “generic” database interface ● Current model: each test (or run) produces a standard JSON file summarizing the details of the test, output files and results ● This JSON file can then be used to update the database using different frameworks ○ Not committed yet, sorry! ○ For upcoming production electronic tests at BNL we still expect to use SQLalchemy + local SQL server 8
Upcoming Work ● Need to finalize measurement projects for dedicated ASIC test boards, WIB testing in anticipation of upcoming production tests ● Revise GUI: currently using GTK library, very simple but some users have had a lot of trouble with installation. Need to make this easier. ● Start “practicing” production testing, shake out bugs in process. ● Documentation: must document each production test stand in detail, the automated measurement method and associated analysis ○ Documentation should go here: https://github.com/DUNE/femb_doc ● Set up production testing database servers (already discussed) ● Online monitor: need a package to parse production testing database and produce summary plots, provide complete testing records, monitor overall testing progress etc 9
Backup 10
Recommend
More recommend