B163 Instrumentation & DAQ - Indico

Transcription

CERNTE-MSC-SCDb163instrumentation & DAQ2020-04-09C.1 BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

MotivationGOALS: instrumentation: Focus on low noise & high acquisition speed: low noise instruments maximize data rate, synchronized parallel acquisition live data, no limit in number of pointsGOALS: DAQ & control software: Focus on reliability: instruments & GUI on separate computers & processes Focus on modularity, flexibility & upgradability instruments & GUI in modules: class based approach modules are separated & stand-alone: addition / modificationdoes not affect others any combination of modules, each module as n ‘clones’2C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

Instrumentation3C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

InstrumentsAvailable instruments: Nano-voltmeters Keithley 2182A, Keithley 182 Keysight 34420A Multimeters NI-DMM 7.5 digits (PXI-4071), 6.5 digits (PXI-4070) Keysight 3458A, Keysight 3457A Keithley 2002, Keithley 2001, Keithley 2000Instrument selection: Qualitative tests on superconductor measurements no digital / analog filtering setting integration time to reach required noise levels comparing data rate & price4C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

InstrumentsInstrument performance: Minimal range 200 µV max signal 1 mV range is sufficient nano-voltmeters: 1 mV (34420A), 3 mV (182), 10 mV (2182A) multimeters: 100 mV Noise nano-voltmeters, 3458A and NI-DMMs can reach sufficiently lownoise levels: 50 nV Data rate nano-voltmeters and 3458A provide significantly higher datarate than NI-DMMs at the same noise level to reach 7.5 digits resolution nano-voltmeters and 3458A : 1 - 2 NPLC integration NI-DMM (PXI-4071): 7 NPLC integration5C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

InstrumentsLow voltage DAQ instruments: Nano-voltmeters Keithley 2182A, Keithley 182 Keysight 34420A Multimeters3.4 kCHF NI-DMM 7.5 digits (PXI-4071), 6.5 digits (PXI-4070) Keysight 3458A, Keysight 3457A Keithley 2002, Keithley 2001, Keithley 2000 Cannot reach required noise levels Obsolete Data rate too low Price too high6C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

InstrumentsMaximize data rate, no limit in number of points: Direct read-out, no buffer Integration end has to trigger read-out of last data point Independent of connection type or busSynchronize acquisition of multiple instruments: Simultaneous integration start on all instruments Wait for integration end of all instruments for next cycle Independent of connection type or busCommon interface: Acquisition complete signal output: ‘VM complete’ Start acquisition input: ‘trigger’7C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

VM complete & triggerFast readout: VM complete signal: Send hardware interrupt initiate reading 2 possibilities with NI hardware: hardware timed single point clock 1 per counter 1 for all AI value change event 1 for all P0.x DI M-series DAQ: 4, X-series DAQ: 5, counter card: 91.1 kCHFSynchronization: trigger signal: Wait for all VM complete signals send ‘trigger’ to startnext acquisition cycle Any NI-FPGA can provide this functionality Why separate and not both functionality with FPGA? no recompiling of FPGA code, modularity better with interrupt ‘VM complete’ & ‘trigger’ on PXIe-408x only via bus8C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

ApproachInstrumentation: low voltage DAQ Hardware synchronization in 2 stages 1st stage: fetch last value upon VM complete 2nd stage: synchronization of multiple 2182A / DMMsPXI: waits for hardware timedclock tick reads last value with ‘fetch’RS232clock tickVM complete signal2182A/DMM: triggered9 Full speed down to 1 NPLC Live data without limit innumber of pointsDAQ: PFI input hardware timed singlepoint clock matched with counterFPGA: waits for all VM completesignals during a cycle configurable timeout sends hardware trigger toall instruments to start anew cycletriggerC. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

ApproachOverview: wire test station:FGC (6 kA)GUI PC #2 (any): plots data saving analysisGUI PC #1 (any): plots data saving analysis measurement control instrument remotesEthernetPXI #1 (Pharlap): 2x NI-DMM 4x 2182A (via RS232) 1x FPGA 1x Lakeshore M224 1x counter card 1x magnet (serial)10cryo publishedvaluesGatewayanalog control PS (1kA)instrument synchronizationanalog PS controlquench detectiontransient voltage recorderC. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

DAQ & control software11C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

ApproachSoftware: general concept Transparent networked communication n sources – m sinks control, data & synchronization: any data type Class based & object oriented standardized IO channels inheritance of common features, including front-panel Fully modular instruments & GUI elements as stand-alone modules any instrument & GUI combination, creates ‘clones’ of modules settings from text settings files, automation-conditions Unified software for all superconductor test stations wire test stations & LN2 test station as subsets of FRESCA12C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

Software package utilizationDevelopment languages: NI Labview (control & DAQ) ‘perfect’ support of NI hardware (including FPGA) many instrument drivers & communication frameworks good for GUI- reputation of being ‘messy’ with many instruments 1 instrument or GUI element per module - reputation of being unreliable & slow separation of instruments & GUI, all modules in individual processes - reputation of being difficult to maintain & upgrade new instruments added in new modules, no affect on existing ones class based approach with inheritance to minimize development effort standard packages / frameworks & provide good documentation Python (analysis)13C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

Status14C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

ApproachDevelopment platform: LN2 test station:GUI PC #1 (any): plots data saving analysis measurement control instrument remotesEthernetGatewayPXI #1 (Pharlap): 1x NI-DMM 2x 182A (via GPIB) 1x FPGA 1x multiplex 1x multifunc. DAQ 15C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

StatusRT part Core (communication, control, data saving) implemented Low voltage DAQ instruments implemented Keithley 2182A, Keithley 182, Keithley 2000, PXI-4071, PXI-4070 optional multiplexing: Keithley 7001 FPGA implemented analog PS control instrument synchronization, with ‘step & hold’ functionality transient voltage recorder & quench detection signal filtering (moving average) directly in FPGA memory 8x 500 kHz raw data rate 8x 10 kHz – 50 Hz filtered data rate 4x 500 kHz quench detection with thresholding & discrimination 100% stable: it measures since 3 weeks, no issues16C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

StatusGUI part Launcher & data communication implemented Data saver implemented automatic start / stop via conditions Basic X-Y plot implemented automatic start / stop via conditions improvement for transient data needed (very resource hungry) some ‘comfort’ features (e.g. saving of plot colors & symbols) In progress station cryogenic display sample information entry with database access in α status: basic measurements possiblethanks to our testing team: Iole, Gilles, Lukasz & Al17C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

GUI ‘α - version’18C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

Launcher & settings filescorresponding moduleautomaticstart / stopdata sourcesdata source overviewGUI module settings files launcher take entirefolder each file spawns clone ofcorresponding module19folder for settings filesC. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

PS controlvisualization of the current cyclecurrent cycle(‘FRESCA syntax’)20C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

XY-plot & data saverchannel selectionchannel selection21start / stop conditionsC. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

Video22C. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

CERNTE-MSC-SCD- Thank you for your attention with the ‘β’ version, we will ask some of you to test deployment plan:testing LN2 test station FRESCA wire test stations you will get a version that works wellC. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB23

Other SCD test stationsOverview: FRESCA:FGC (32 kA)GUI PC #2 (Windows 10): plots data saving analysisEthernetPXIe #1 (RT OS): 2x NI-DMM 8x 2182A (via RS232) 2x FPGA 2x matrix 32x16 2x multifunc. DAQ 2x counter card24GUI PC #1 (Linux): plots data saving analysis measurement control instrument remotesFGC (16 kA)cryo publishedvaluescryo PLC20 mAGatewaycompactRIO (FPGA): 1x current input 1x current outputPXI #2 (RT OS / Linux): 2x matrix 32x16 4x transient recorder 1x multifunc. DAQPXI #3 (RT OS / Linux): 12x uQDS (via USB) 2x multifunc. DAQC. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

Other SCD testsSC-link DEMO2 test: Add synchronization to MSC-TF PXIe chassis Cost neutralGUI PC #1 (Linux / Windows):PXIe #1 (RT OS): 9x NI-DMM 1x counter cardPXIe #2 (RT OS): 9x NI-DMM 1x counter cardPXIe #3 (RT OS): 9x NI-DMM 1x counter cardPXIe #4 (RT OS): 9x NI-DMM 1x counter card25 plotsdata savingmeasurement controlinstrument remotesGatewayEthernetcryo publishedvaluesFGC (20 kA)PXI #5 (RT OS): 4x Keithley 2182A 2x NI-DMM 1x counter cardPXI #6 (RT OS): 2x Keithley 182 1x Keithley 2000 1x multifunc. DAQC. BARTH, P. KOZIOL, A. STIMAC & A. GHARIB

2 possibilities with NI hardware: hardware timed single point clock 1 per counter 1 for all AI value change event 1 for all P0.x DI M-series DAQ: 4, X-series DAQ: 5, counter card: 9 Synchronization: trigger signal: Wait for all VM complete signals send trigger to start next acquisition cycle