The LIGO Data Monitoring Tool. John G. Zweizig LIGO, Caltech



Similar documents
FFT Spectrum Analyzers

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Matched Filter Recovery of S5 Hardware Injections

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Structural Health Monitoring Tools (SHMTools)

FREQUENCY RESPONSE ANALYZERS

OAG Tools for General Users

TI 313 (1.0 EN) d&b Remote network - Integration

Monitoring Software using Sun Spots. Corey Andalora February 19, 2008

DATA PROCESSING SOFTWARE

GETTING STARTED WITH LABVIEW POINT-BY-POINT VIS

Digital Signal Controller Based Automatic Transfer Switch

WINDAQ Data Acquisition and Playback Software

Basics of Simulation Technology (SPICE), Virtual Instrumentation and Implications on Circuit and System Design

Chapter 3 Operating-System Structures

In: Proceedings of RECPAD th Portuguese Conference on Pattern Recognition June 27th- 28th, 2002 Aveiro, Portugal

EView/400i Management Pack for Systems Center Operations Manager (SCOM)

FOXBORO. I/A Series SOFTWARE Product Specifications. I/A Series Intelligent SCADA SCADA Platform PSS 21S-2M1 B3 OVERVIEW

CHAPTER 2: USING THE CAMERA WITH THE APP

Khóa học dành cho các kỹ sư hệ thống, quản trị hệ thống, kỹ sư vận hành cho các hệ thống ảo hóa ESXi, ESX và vcenter Server

Stretching A Wolfpack Cluster Of Servers For Disaster Tolerance. Dick Wilkins Program Manager Hewlett-Packard Co. Redmond, WA dick_wilkins@hp.

The Microsoft Windows Hypervisor High Level Architecture

Understanding Dynamic Range in Acceleration Measurement Systems. February 2013 By: Bruce Lent

August, 2000 LIGO-G D.

Increase System Efficiency with Condition Monitoring. Embedded Control and Monitoring Summit National Instruments

Monitoring PostgreSQL database with Verax NMS

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

Business Application Services Testing

find model parameters, to validate models, and to develop inputs for models. c 1994 Raj Jain 7.1

Practical On-Line Vibration Monitoring for Papermachines

EDM SOFTWARE ENGINEERING DATA MANAGEMENT SOFTWARE

DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS

Modeling a GPS Receiver Using SystemC

Nios II Software Developer s Handbook

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

THREE YEAR DEGREE (HONS.) COURSE BACHELOR OF COMPUTER APPLICATION (BCA) First Year Paper I Computer Fundamentals

Propagation Channel Emulator ECP_V3

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

ELECTRICAL ENGINEERING

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

Technical Training Module ( 30 Days)

Chapter 2 System Structures

FFT Frequency Detection on the dspic

Example of Standard API

TDMS Test & Data Management Software

Ovation Operator Workstation for Microsoft Windows Operating System Data Sheet

SAN Conceptual and Design Basics

Improved metrics collection and correlation for the CERN cloud storage test framework

Compute Cluster Server Lab 3: Debugging the parallel MPI programs in Microsoft Visual Studio 2005

Cell Phone Vibration Experiment

TURBOtech srl. SED-635 Digital Excitation System. Industrial Electronics Sector FEATURES

Spectrum Analyzers. R9211Series. R9211A/9211B/9211C/9211E FFT Analyzer Series. Choice of 4 Types To Fit the Application

Analysis of Open Source Drivers for IEEE WLANs

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

11/22/

Author: Dr. Society of Electrophysio. Reference: Electrodes. should include: electrode shape size use. direction.

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

Test & Data Management Software

UNIVERSITY OF CALIFORNIA. Los Angeles. Software for A Fault Tolerant. Microcontroller Network. A thesis submitted in partial satisfaction

A Sound Analysis and Synthesis System for Generating an Instrumental Piri Song

Agenda. Michele Taliercio, Il circuito Integrato, Novembre 2001

SignalPad Data Logging and Analysis Software

Chapter 6, The Operating System Machine Level

Cisco Active Network Abstraction 4.0

Active Vibration Isolation of an Unbalanced Machine Spindle

Measuring Temperature withthermistors a Tutorial David Potter

CycurHSM An Automotive-qualified Software Stack for Hardware Security Modules

The data acquisition system of the XMASS experiment

Technical Information

TECHNOLOGY Computer Programming II Grade: 9-12 Standard 2: Technology and Society Interaction

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

NNMi120 Network Node Manager i Software 9.x Essentials

Introduction to Embedded Systems. Software Update Problem

Xgig 8G Fibre Channel Analyzer

Automotive. Aerospace. bout Us. Defense. Energy. Maritime. Education. Electronics. and more

Enhanced Diagnostics Improve Performance, Configurability, and Usability

ECONseries Low Cost USB DAQ

Cover. SEB SIMOTION Easy Basics. Collection of standardized SIMOTION basic functions. FAQ April Service & Support. Answers for industry.

SECTION CONTROL SOFTWARE

GSM/EDGE Output RF Spectrum on the V93000 Joe Kelly and Max Seminario, Verigy

Embedded Component Based Programming with DAVE 3


theguard! ApplicationManager System Windows Data Collector

GEDAE TM - A Graphical Programming and Autocode Generation Tool for Signal Processor Applications

EDM Cloud Remote Monitoring Solutions. Crystal Instruments, January 2014

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

VALAR: A BENCHMARK SUITE TO STUDY THE DYNAMIC BEHAVIOR OF HETEROGENEOUS SYSTEMS

How To Use A High Definition Oscilloscope

SECTION WEB-BASED POWER MONITORING COMMUNICATIONS SYSTEM

TMA Management Suite. For EAD and TDM products. ABOUT OneAccess. Value-Adding Software Licenses TMA

Fifty Critical Alerts for Monitoring Windows Servers Best practices

Surveillance System Using Wireless Sensor Networks

MPC 4. Machinery Protection Card Type MPC 4 FEATURES. Continuous on-line Machinery Protection Card

A generic framework for game development

Structural Health Monitoring Tools (SHMTools)

ADVANCED SCHOOL OF SYSTEMS AND DATA STUDIES (ASSDAS) PROGRAM: CTech in Computer Science

DAQlink III System 24 bit Acquisition System

Transcription:

The LIGO Data Monitoring Tool John G. Zweizig LIGO, Caltech GDS Final Design Review Pasadena, May 7, 1999 1

A) Introduction 1. Purpose Contents 2. S/W Requirements 3. H/W Requirements 4. Architecture B) S/W Components 1. Data Distribution 2. Trigger Management 3. Process Environment and Control C) Background Applications 1. C ++ Environment 2. C Environment 3. Example D) Foreground Applications 1. Foreground Overview. 2. ROOT Classes 3. ROOT Macros 4. ROOT session example 2

Features: Introduction: General Access to all current data. Sufficient computational power for complex calculations. Interactive data analysis and presentation. Limited output (triggers, status displays, data summaries). On-line development and computation environment. Geared to provide immediate feedback. Uses: Detect and tag known disturbances or signals. Search for pathological conditions. Gauge interferometer state and performance. Check Data integrity. Interactive testing and diagnosis. 3

Introduction: Usage Model Innovation: Identify faults, noise sources. Immediate access to all current data. Analysis with a high-level data manipulation language. Graphical data presentation. Rapid development cycle (interpretive scripts). Display Manager: Display current running state. Graphical user interface. Complex calculations on current data. Some process management (launch processes) Development: Test and debug monitor algorithms. Interpretive environment. Extensive scientific function library. Production Monitoring: Continuous data scanning. Process supervision. Run-time function library. Online data access. Result presentation/recording. 4

Introduction: Sample Monitors Stationary Behavior of IFO Channels 60 Hz (& harmonics) contamination Violin mode amplitudes Stack vibration level Internal mirror resonance amplitudes Non-Gaussian noise level (outlier frequency, contribution to RMS) Distortion from normal ambient power spectrum Correlation among longitudinal & orientational DOF s. General operational state (e.g. good lock, marginal lock, unlocked) Strain sensitivity at various frequencies. Maximum viewing distance for in-spiral standard candle(s) Stationary Behavior of Environmental Channel Distortion from normal ambient power spectrum Correlation with key IFO channels. 5

Introduction: Sample Monitors Transient Behavior of IFO Channels Known shape impulses e.g. wire relaxations, dropped objects, railed actuators, etc. Flickering optical modes Violin mode ring-up, ring-down. Servo instability Generic band-limited RMS growth Out-of-band resonance excitation Large-amplitude excursion Onset of electronic analog or digital saturation Readout malfunction (lost/duplicated data, sticky bits) Dust particle falling through beam (tough!) Non-stationary time-frequency behavior (waterfall/carpet plots, wavelet analysis) Transient Behavior of Environmental Channels Seismic tremors, gunshots, trucks, lightening, wind. 6

Introduction: Requirements The DMT must provide Online access to current data A means to specify & record faults or unusual events (triggers) discovered in the data. A means to present data in a way conducive to immediate understanding of the IFO state. Sufficient computational power to do all this. Example techniques that will be used Bit manipulations. Matched filters. Convolutions. Fourier transforms (Power spectra). Exotica (time/frequency plots, wavelets). 7

Hardware Architecture CDS Frame Builder & Network Data Server Reflective Memory LIGO IFO Sun E-450 Fiberchannel Fiberchannel CDS Components GDS Data Monitor Server Sun E-450 LDAS Components Data Server Sun WS LDAS Control & Monitoring Sun WS Signal Conditioner Sun WS Compute Server Beowolf Cluster LDAS ATM Network 8

Software Architecture External Services GDS Services Application Environment 9

Software: Data Distribution Frame Data Allows off-line testing Exchange of Monitors and off-line analysis functions. Software available. Shared Memory Buffer Manager. Allow efficient parallel access to data. Provide synchronization primitives. Tested: Robust, no bottlenecks. Data Pusher Copies data from NDS to shared memory. Currently running: uses 4.5% of Sun Ultra-1. Constant use, 1MB/s from 40m IFO. Shared Memory Utility programs smcreate: Create a shared memory partition. smdump: Print partition status. smraw: Hex+ASCII dump of raw data. smrepair: Clean up after dead consumers. 10

Software: Trigger Management Trigger Definition/Requirements Triggers describe unusual events detected by an online monitor. Trigger records must fully describe the trigger source. Triggers must be routed to one/more handlers (operator console, meta-database, expert system). Trigger Description Model: Preliminary Processing Filter/Transformation Trigger Detection Input Data f Transformed Data det Results Frame ID Interferometer ID Frame Time Epoch Starting Time Time span Channel ID Online Flag Transformation ID FFT Digital Filter Histogram Fixed Parameters Window Time Other Parameters Series Type X-axis # Bins First bin value Bin Width Units Y-axis Data type Units Data[] Program ID Program Name Program Version Parameters Frequency Range Threshold Values Other Parameters Trigger ID Trigger type Sub-type Result data Time offset Trigger results 11

Software: Trigger Architecture Monitor Application Monitor Application Monitor Application Monitor Application Trigger API Trigger API Trigger API Trigger API Trigger Message Protocol Trigger Broker Epics Channel EPICS Alarm System DMT Status Display LDAS meta-data Trigger Generation API: Classes correspond to trigger description stages. User constructs objects. Write to disk (prototype) or route to Broker. Trigger Broker: Maintains routing and status tables. Routes triggers to appropriate destination. Prevents flooding of message channels or database. 12

Software: Process Control The process control subsystem must perform the following functions Start up DMT services and background monitors when the DMT platform is booted. Make sure all monitors continue to run. Make a list of current processes available to a user. Allow the user to start, stop or change the parameters of a background monitor or DMT service. Status: Not necessary until LIGO running starts. Design, implementation will start 4Q1999. 13

Background: C ++ Environment Monitor structure Each monitor is a class derived from DMTBase Execution control, I/O handling in base class methods. Specific functionality in derived class virtual functions. Allows combining monitors into a single process. Monitor Specific (User Class) functions: Class constructor: Initialization. ProcessFrame: Frame data processing function. Attention: External interrupt handler. Class destructor: Termination, present results. Additional Classes & Methods Par: parameter access and storage. Trigger classes: Trigger generation and routing. Others: additional classes will be implemented as useful/necessary. 14

Background: C Environment Overview C environment provided to encourage contributions from the widest possible base. Provide environment similar to that for C ++ applications. Use simple interface layers (wrappers) when possible between C and C ++ implementations. Implementation: Uses FrameL rather than FrameCPP. Skeleton functions written to emulate the base class functionality. C callable functions interface to DMT classes. 15

Monitor Example: BitTest BitTest: Monitor class Based on DMTBase class. Inherited Methods: constructor, destructor, ProcessFrame(). Data member: list of ChanBit objects. ChanBit: Channel data handling class Methods: constructor, destructor, Scan(), Print(), various accessors. Data members: Masks of bits stuck on/off, current & longest repeat counts, last data word, statistics. main() Generated by EXECDMT(BitTest) macro BitTest() Monitor constructor Read in a configuration file Create ChanBit object for each channel, add it to list. 16

Monitor Example: BitTest (cont d) BitTest::ProcessFrame() Process one frames data Loop over ChanBit objects in list Find/unpack data for the appropriate channel. Invoke ChanBit::Scan() to process data. BitTest() Monitor destructor Invoke ChanBit::Print() for each ChanBit object. Delete the list. ChanBit() Channel constructor Initialize data members. ChanBit::Scan() Process data from one frame. Loop over data elements OR data into stuck off mask, AN D data into stuck on mask. Increment repeat count if data word is the same as last, reset it if not. Collect statistics. ChanBit::Print() Print data from one channel. ChanBit() Monitor destructor (NULL) 17

Foreground: Overview The foreground environment must have the following Scripting with a high level interpretive language. Efficient access to outside data. Graphical scientific data presentation capability. Programmable user interfaces. ROOT was chosen as the initial foreground implementation because Designed for use in Physics experiments. Good support for scientific graphics, GUIs. It s free. Uses a scripting language (C ++ ) that can be used outside the ROOT environment. Easily expandable data object and algorithm libraries. 18

Foreground: Root User Classes Data Access * Dacc: Get data from file or shared memory. * Channel: Unpack Adc data to TSeries. Data Containers * FSeries: Storage, manipulation of frequency series. * TSeries: Storage, manipulation of time series. * DVector: Generic data vector. * Time: GPS time arithmetic and conversion. * Interval: Time intervals. Mathematics * Complex: Complex number arithmetic (template). * Poly: Polynomial manipulation (template). Note: *= prototype version exists! 19

Root User Classes (cont d) Science * Chirp: Base class for template functions. * Inspiral: Newtonian binary in-spiral template. Other Templates: Optimal Filter: Find template waveform in FSeries. Engineering FIR Filter Design: High-pass, low-pass, etc. Filter Implementation: In the time domain. Note: *= prototype version exists! 20

Foreground: Root Macros Interpretive scripts (macros) are used in the foreground to enter commonly used groups of commands or procedures. Session Control * sboxlogon: Attach input data source, load useful macros. * sboxlogoff: Release (close) data partition (file). Graphical Primitives * Bode: Bode plot of an FSeries. Spectrum: Frequency spectrum. * THist: Histogram a time series. * TPlot: Plot a time series. Graphical User Interfaces Noise spectrum (best estimate). Volume of sensitivity vs. time. Note: *= prototype version exists! 21

Foreground: ROOT Session 22

Foreground: ROOT Time Plot 23

Foreground: ROOT ADC Histogram 24

Foreground: ROOT Bode Plot 25