Скачать презентацию The GLAST online software Gamma-ray Large Area Space Скачать презентацию The GLAST online software Gamma-ray Large Area Space

ce12805d3ff4f62c94594396f8985b0d.ppt

  • Количество слайдов: 29

The GLAST online software Gamma-ray Large Area Space Telescope Luca Latronico Glast Italia software The GLAST online software Gamma-ray Large Area Space Telescope Luca Latronico Glast Italia software meeting Udine 31 -31/1/2003 § what is the online software in GLAST § LAT hardware and DAQ § core software architecture (class hierarchy) § DAQ/online roadmap: use and evolution of the software § tools (Python, Qt, Hippodraw) § some tkr preliminary examples/results § afternoon tutorial Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online software – what is it for? Electronics detector performance: tracks, hits, events Data Online software – what is it for? Electronics detector performance: tracks, hits, events Data Ac. Quisition: • test LAT hdw • calibration • environmental data monitoring (T, I, V) • data taking Required tools: Drivers to electronics Test scripts User GUIs Data analysis Visualization tools Online and Electronics Ground Support Equipment (EGSE) Subsystems (TKR, CAL, ACD) – LAT Integration and Test Mission operation – flight software Our definition of online: DAQ and monitoring on the ground prior to launch No interference with flight software developement …. but …. Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online software – how is it made Online software: Python scripts Qt GUIs Hippo. Online software – how is it made Online software: Python scripts Qt GUIs Hippo. Draw Low-level drivers Compiled C code hardware Flight software Compiled C code Luca Latronico Low-level drivers Compiled C code Glast italian software meeting, Udine 01/30/2003

GLAST Instrument: the Large Area Telescope (LAT) Tracker • Array of 16 identical “Tower” GLAST Instrument: the Large Area Telescope (LAT) Tracker • Array of 16 identical “Tower” Modules, each with a tracker (Si strips) and a calorimeter (Cs. I with PIN diode readout) and DAQ module. • Surrounded by finely segmented ACD (plastic scintillator with PMT readout). Grid DAQ Electronics Luca Latronico ACD Calorimeter Thermal Blanket • Aluminum strong-back “Grid, ” with heat pipes for transport of heat to the instrument sides • high modularity Glast italian software meeting, Udine 01/30/2003

GLAST Tracker Design Overview • 16 “tower” modules, each with 37 cm of active GLAST Tracker Design Overview • 16 “tower” modules, each with 37 cm of active cross section One Tracker Tower Module • 83 m 2 of Si in all, like ATLAS • 11500 SSD, ~ 1 M channels • 18 x, y planes per tower – 19 “tray” structures • 12 with 3% r. l. W on top (“Front”) • 4 with 18% r. l. W on bottom (“Back”) Super. Glast • 3 with no converter foils (3 -in-a-row L 1 T) – Every other tray is rotated by 90°, so each W foil is followed immediately by an x, y plane of detectors Carbon • 2 mm gap between x and y oriented detectors thermal • Trays stack and align at their corners panel • The bottom tray has a flange to mount on the grid. • Electronics on sides of trays: – Minimize gap between towers Electronics – 9 readout modules on each of 4 sides • high modularity Luca Latronico flex cables Glast italian software meeting, Udine 01/30/2003

Tracker tower read-out architecture • 24 64 -channels CMOS VLSI (custom ASIC ) readout Tracker tower read-out architecture • 24 64 -channels CMOS VLSI (custom ASIC ) readout chips handle a single detector layer • data can shift left/right with a read-out controller (custom ASIC CMOS) at each end at 20 MHz clock frequency • Fast-OR signals also move l/r or in both directions • A single dead chip can be bypassed without losing data from any other chips • Complete 0 -suppression and formatting takes place in the controller chips, i. e. fully digital output • The read-out controller pass data down a tower in a token-controlled protocol Luca Latronico simplified block diagram of the GLAST TKR readout Glast italian software meeting, Udine 01/30/2003

Tracker front-end electronics mini. MCM 7 GTFE 2 GTRC tray with full-size MCM 24 Tracker front-end electronics mini. MCM 7 GTFE 2 GTRC tray with full-size MCM 24 encapsulated FE 2 encapsulated RC 1 ladder bias circuit Luca Latronico Glast italian software meeting, Udine 01/30/2003

LAT electronics hierarchy Survival jargon AEM : ACD Electronics Module TEM : Tower Electronics LAT electronics hierarchy Survival jargon AEM : ACD Electronics Module TEM : Tower Electronics Module GEM : Global trigger Electronics Module GASU : Global trigger ACD Signal distribution Unit CC : Cable Controller RC : Read-out Controller FE : Front-End GLT : GLobal Trigger Luca Latronico Glast italian software meeting, Udine 01/30/2003

The LAT registers Luca Latronico Glast italian software meeting, Udine 01/30/2003 The LAT registers Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online software hierarchy Luca Latronico Glast italian software meeting, Udine 01/30/2003 Online software hierarchy Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online software hierarchy An xml schema file is loaded to pass the hardware configuration Online software hierarchy An xml schema file is loaded to pass the hardware configuration and load the tree of pointers: lat = read. Schema(‘Simple. Tem. Schema. xml') Navigation of the hierarchy is done using methods like down/up/node, e. g. TKR-FE 5/layer 3/CC 2 : my. GTFE = lat. down. TEM(0). down. TCC(2). down. TRC(3). down. TFE(5) Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online software – accessing registers § each register has: mnemonics, serial nb, size § Online software – accessing registers § each register has: mnemonics, serial nb, size § Set() [Get()] looks for mnemonics and set [reads] the register value § dataless commands are treated as registers of zero size e. g. access MODE register on FE 5/layer 3/CC 2 : § my. GTFE. MODE = 0 x 0 § lat. down. TEM(0). down. TCC(2). down. TRC(3). down. TFE(5). MODE § mymode = lat. TEM[0]. TCC[2]. TRC[3]. TFE[5]. MODE as for standard DAQ software Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online software – constraints, conversions Luca Latronico Glast italian software meeting, Udine 01/30/2003 Online software – constraints, conversions Luca Latronico Glast italian software meeting, Udine 01/30/2003

I&T test stand runtime environment Finite State Machine framework § user GUI § handles I&T test stand runtime environment Finite State Machine framework § user GUI § handles hardware configuration § run test scripts § handles communication with logger, database, data monitor Luca Latronico Glast italian software meeting, Udine 01/30/2003

References / entry point Core software development at SLAC: http: //www-glast. slac. stanford. edu/LAT/INT/ONLINE/Default. References / entry point Core software development at SLAC: http: //www-glast. slac. stanford. edu/LAT/INT/ONLINE/Default. htm Essential documents ØTEM + ~anything downstream (GTCC, GTRC, GTFE) LAT-TD-00605 -D 1 TEM Primer ØTrigger • GLAST LAT Test Stand Communications Interface (online web page – look at Mini. GLT section) • LAT-TD-00606 -D 1 LAT Inter-module Communications ØSpecific nodes and test plans for TKR: node location GTCC TEM GTRC TMCM GTFE TMCM MCM* TOWER doc LAT-TD-00605 -D 1 TEM Primer LAT-TD-248 LAT-TD-247 LAT-TD-249 LAT-TD-191 -02 LAT-SS 152(level IV specs) LAT-SS 17(level III specs) TKR specific tools – soon available at http: //glastserver. pi. infn. it/glast Luca Latronico Glast italian software meeting, Udine 01/30/2003

Instrument integration and calibration plan Subsystems acceptance, qualification, environmental tests milestone instrument schedule source Instrument integration and calibration plan Subsystems acceptance, qualification, environmental tests milestone instrument schedule source activity Engineering Model (EM) 4 -trays TKR 1 full-tower CAL no ACD 3 -4/03 CR VG 17 Me. V g Calibrations Calibration Unit 4 full towers (CU) 5 -6/04 e+ h g Calibrations + science perf. verification Flight Unit (FU) LAT (16 towers) 10/04 CR, VG Calibrations + science perf. verification Flight Unit (FU) LAT (16 towers) 05 spacecraft integration CR airplane test October 2006 - LAUNCH Luca Latronico Glast italian software meeting, Udine 01/30/2003

The Engineering Model milestone 1 TKR module with 4 live trays (3 XY planes) The Engineering Model milestone 1 TKR module with 4 live trays (3 XY planes) 1 full scale tower CAL Tower electronics Calibrate the system Charge injection Cosmic rays 17. 6 Me. V photons Timescale - february/june 2003 TKR commissioning : • si sensors test • ladder assembly and test • tray production • FE/RC/MCM production • development of tools for system tests Luca Latronico (from I&T/SVAC) Glast italian software meeting, Udine 01/30/2003

EGSE - Tower test setup TEST JIG will be used for EM and full EGSE - Tower test setup TEST JIG will be used for EM and full tower tests on ground during I&T Luca Latronico Glast italian software meeting, Udine 01/30/2003

The Engineering Model milestone – DAQ architecture Luca Latronico Glast italian software meeting, Udine The Engineering Model milestone – DAQ architecture Luca Latronico Glast italian software meeting, Udine 01/30/2003

I&T test stand - DAQ hardware overview • Vx. Works • low level drivers I&T test stand - DAQ hardware overview • Vx. Works • low level drivers VME Proc LV CMD EVT XBRD +28 V COM PSA TEM bias Sensors+Read-out ELX bias (both TKR and CAL) to CAL GASU cable TRAY TEM TRAY DAQ/Online • high level python interface (Py. LAT) Workstation • data analysis and monitoring Read-out event rate 1 KHz Luca Latronico Glast italian software meeting, Udine 01/30/2003

I&T test stand - a picture Luca Latronico Glast italian software meeting, Udine 01/30/2003 I&T test stand - a picture Luca Latronico Glast italian software meeting, Udine 01/30/2003

Test stand – some more survival jargon ØEM : Engineering Model ØEGSE : Electronics Test stand – some more survival jargon ØEM : Engineering Model ØEGSE : Electronics Ground Support Equipment ØTEM : Tower Electronics Module ØPSA : Power Supply Assembly ØGASU : Global trigger ACD Signal distribution Unit ØXBRD : transition board, currently supplying the GASU-trigger and PDU (Power Distribution Unit) functionalities ØLCB : LAT Communication Board – currently implemented as the COM card, will be a custom c. PCI board to pulg into the VME processor ØINTERFACE BOARD : temporary board to connect the TEM to the MCM (same as the one used in the UCSC system, where it connects the MCM directly to the COM card with NO TEM) ØITAR : International Traffic in Arms Regulations Luca Latronico Glast italian software meeting, Udine 01/30/2003

I&T / flight DAQ architecture Allowed independent EGSE/flight software development Use of spacecraft communication I&T / flight DAQ architecture Allowed independent EGSE/flight software development Use of spacecraft communication protocols Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online tools – Qt GUIs Set of C++ classes Converted to Python with SIP/SWIG Online tools – Qt GUIs Set of C++ classes Converted to Python with SIP/SWIG Commercial version for development Free version for learning Luca Latronico Glast italian software meeting, Udine 01/30/2003

Online analysis-visualization tools : Hippo. Draw GUI-driven analysis tool by P. Kunz Set of Online analysis-visualization tools : Hippo. Draw GUI-driven analysis tool by P. Kunz Set of C++ classes Java and Qt GUIs Now providing python scripting capabilities Luca Latronico Glast italian software meeting, Udine 01/30/2003

The TKR subsystem point of view – DAQ ladder tests The source profile does The TKR subsystem point of view – DAQ ladder tests The source profile does NOT change when random noise triggers, obtained by lowering the threshold on boundary channels, are added – the ladder and the read-out are fully efficient Luca Latronico Glast italian software meeting, Udine 01/30/2003

The TKR subsystem point of view – DAQ ladder tests • 50% rate point The TKR subsystem point of view – DAQ ladder tests • 50% rate point corresponds to median of the charge-release distribution • assuming a plateau @ 400 Hz (which isn’t evident from the plot, but consistent with a rough measurement performed with a Geiger) this turns out to be about 6 f. C ~ 40 ke- ~> 1 MIP • deviations from effects like high charge release from slow electrons, charge sharing, inclined tracks Luca Latronico Glast italian software meeting, Udine 01/30/2003

Work plans for EM ØBefore delivery to I&T : § suite of scripts for Work plans for EM ØBefore delivery to I&T : § suite of scripts for trays/mini-tower testing: § hardware configurations § dead channels (charge injection, b source scan) § noise evaluation (threshold scans, counting rates / occupancy) § library of TKR specific functions and test routines Ø During I&T effort at SLAC § same scripts inside standard run-time acquisition § low level elx functional tests § test grid: ü high level functional tests (load/read back – configure system) ü calibrations (dead chans – noise – To. T) ü run (17. 6 Me. V g reconstruction) ü low level tests in response to specific problems § connection to SAS software Ø Two people been at SLAC (Latronico, Baldini), one currently at SLAC (Cohen-Tanugi), two students from Pisa Luca Latronico Glast italian software meeting, Udine 01/30/2003

Afternoon tutorial Tutorial Ø Running an application from the Run. Control Ø Python. Win Afternoon tutorial Tutorial Ø Running an application from the Run. Control Ø Python. Win IDE module browsing using the Python documenter: browse g. LAT. py and tkr_lib. py Ø Write a Qt GUI in python Ø Hippo. Draw for data analysis using a python script and the data inspector Luca Latronico Glast italian software meeting, Udine 01/30/2003