1
Building a Next Generation Data Logging System Fanie Coetzer, Field Sales Engineer Northern South Africa
Outline Introduction to the Next Generation of Data Logging Signals and Signal Conditioning Data Logging Hardware Platforms Data Logging Software Timing, Triggering, and Synchronization Logging Data Visualizing Data 3
The History of Data Logging Telegraph Chart Recorder Digital Data Logger 1830 1920 1970 4
Moore s Law at Work in Data Logging Transistor count by date of introduction We foresee the need for DAQ systems that not only acquire data over a network, server, or PCs but also provide intelligence to help with the decision-making process. Mariano Kimbara, Senior Research Analyst, Frost & Sullivan 5
Moore s Law at Work in Data Logging Hard Drive Price Per Gigabyte $1 000 000.00 Apple: 5 MB @ $3,500 $100 000.00 $10 000.00 Seagate: 1 GB @ $849 $1 000.00 $100.00 $10.00 $1.00 $0.10 Seagate: 750 GB @ $200 $0.01 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2006 2008 6
Next Generation Data Logging System Take advantage of the latest COTS technologies Device 1 Device 2 Timing Controller Data Bus Intel CPU Memory Controller Nonvolatile Storage Processors Storage ADC Bus Technology FPGA 7
Future Capabilities of Next Generation Logging Systems Visualization Ability to quickly create custom user interfaces on tablets and smart phones Application Software Software customizable on mobile devices Storage Increased storage capacity and logging to the cloud I/O Rates and Timing Faster rates and more custom timing options Processing More advanced inline analysis and signal processing Connectivity Better wireless connectivity and synchronization (Wi-Fi, cellular, Ethernet, IEEE 1588) Size and Ruggedness Smaller, more rugged systems based on Intel s Atom and ARM 8
Building a Next Generation Data Logging System Condition Monitoring System Requirements: Measure vibration, speed, and temperature Rugged, stand-alone system Flexible software for custom user interface Correlate all measurement to same timebase Log data to local nonvolatile storage Integrate video streaming synchronized to sensor data View and manage data in a simple tool Playback all sensor data and video side-by-side 9
Mixed-Measurement Applications Are Diverse Vibration Torque Displacement Pressure Temperature Force Strain 10
Building a Next Generation Data Logging System Choose My Sensors and Signal Conditioning Sensor, Etc. Signal Conditioning Temperature: 2 x Thermocouples Amplification, Cold-Junction Compensation, Filtering Vibration: 2 x IEPE Accelerometers Amplification, IEPE Excitation, Filtering, AC Coupling Video: 1 x Camera None 11
Building a Next Generation Data Logging System Condition Monitoring System Requirements: Measure vibration, speed, and temperature Rugged, stand-alone system Flexible software for custom user interface Correlate all measurement to same timebase Log data to local nonvolatile storage Integrate video streaming synchronized to sensor data View and manage data in a simple tool Playback all sensor data and video side-by-side 12
Overview of NI Data Logging Platforms Stand-Alone NI CompactDAQ CompactRIO PXI Embedded Measurements Measurements with Control High-Performance Measurements Mix and match a variety of modules, designed for continuous, stand-alone measurements Design a measurement system with highly customizable onboard timing and signal processing Optimize for high-channel count systems and tight synchronization 13
What is Stand-Alone NI CompactDAQ? Embedded Controller Chassis (NI-STC3) C Series I/O C Series I/O C Series I/O 14
NI C Series I/O Modules Integrated DAQ, Signal Conditioning, & Connectivity Built-in Signal Conditioning Direct connection to sensors for temperature, pressure, acceleration, strain, load cell, current and so on High Quality Measurements Streaming up to 1 MS/s and 24-bit resolution Guaranteed Accuracy NIST traceable calibration Signal to Backplane Isolation Barrier Safety, noise immunity, common mode rejection 15
Building a Next Generation Data Logging System Choose My Platform and Modules Web Cam Thermocouples Accelerometers Tachometer Stand-alone NI CompactDAQ System: cdaq-9139 C Series Modules: NI 9211, NI 9234 16
Building a Next Generation Data Logging System Condition Monitoring System Requirements: Measure vibration, speed, and temperature Rugged, stand-alone system Flexible software for custom user interface Start acquisition off of a hardware trigger Correlate all measurement to same timebase Log data to local nonvolatile storage Integrate video streaming synchronized to sensor data View and manage data in a simple tool Playback all sensor data and video side-by-side 17
LabVIEW Has Been Proven Over Nearly 30 Years Withstanding the test of time across operating systems, buses, technologies, and more 18
Accelerate Your Productivity With LabVIEW Unified Software Solution Manage and organize all system resources in a single software environment. Hardware Connectivity Bring real-world signals into LabVIEW from any I/O on any instrument. Deployment Targets Deploy LabVIEW code to the leading desktop, real-time, and FPGA hardware targets. Parallel Programming Easily create independent loops that automatically execute in parallel. Convey With a Clear UI Create modern user interfaces to display measurements and results. Measure in Minutes Reduce development time with abundant sample projects and templates. Integrate Existing Code Combine and reuse.m files, C code, and HDL with graphical code. Analysis Libraries Use built-in high-performance analysis libraries designed for measurement applications. LabVIEW abstracts low-level complexity and integrates all of the tools engineers and scientists need to build any measurement or control system. 19
Chameleon for NI CompactDAQ by PVI Systems For Structural Test and Monitoring Applications Configuration-based software, powered by LabVIEW Acquire static and dynamic signals Measures voltage, current, vibration, strain, and temp Runs directly on stand-alone NI CompactDAQ Supports over 20 modules and USB, Ethernet, and stand-alone chassis "Using Chameleon turnkey software based on NI LabVIEW and DAQ software, we can measure more than 32 channels of pressure data from our sensors with expansion capabilities while maintaining time-synchronized data from transient shot events on the firing range. -Raytheon BBN 20
Building a Next Generation Data Logging System Choose My Software Web Cam Thermocouples Accelerometers Tachometer Stand-alone NI CompactDAQ System: cdaq-9139 C Series Modules: NI 9211, NI 9234 LabVIEW System Design Software 21
Building a Next Generation Data Logging System Condition Monitoring System Requirements: Measure vibration, speed, and temperature Rugged, stand-alone system Flexible software for custom user interface Start acquisition off of a hardware trigger Correlate all measurement to same timebase Integrate video streaming synchronized to sensor data View measurements remotely from tablet Log data to local nonvolatile storage View and manage data in a simple tool Playback all sensor data and video side-by-side 22
NI CompactDAQ Timing Basics Analog input, analog output, digital input, digital output tasks Sample Clock can be generated from internal or external source Timing Option Finite Samples Continuous Samples Hardware-Timed Single Point Description Acquire or generate a configurable number of samples at a configurable rate. Acquire or generate samples continuously, until explicitly stopped by the API. Acquire or generate samples continuously on the edge of a hardware clock. 23
7 Hardware-Timed Streams Built-In Timing Engines - 3 Analog Input - 1 Analog Output - 1 Digital Input - 1 Digital Output Additional Timing Sources - Counter/Timers - External PFI Lines 24
Demo 1: LabVIEW and Data Acquisition
Building a Next Generation Data Logging System Condition Monitoring System Requirements: Measure vibration, speed, and temperature Rugged, stand-alone system Flexible software for custom user interface Start acquisition off of a hardware trigger Correlate all measurement to same timebase Log data to local nonvolatile storage Integrate video streaming synchronized to sensor data View measurements remotely from tablet View and manage data in a simple tool Playback all sensor data and video side-by-side 26
Reducing Logged Data with Event-Based Logging Anomaly Detected Anomalous event could trigger adjusted data acquisition behavior, e.g. faster data rates Post-Trigger Data Data acquired after a detected event is often logged with more granularity than pre-trigger data Pre-Trigger Data Data acquired before an event can be stored in a buffer and later logged or simply discarded Discarded Data Historical data exceeding the length of the buffer is discarded 27
File Format Comparison ASCII Binary XML Database TDMS Exchangeable Small Disk Footprint Footprint Searchable Inherent Attributes Attributes High-Speed Streaming Streaming 28
TDMS File Format Single streaming binary file Data MyFile.tdms Set (File) Property Author = 1 John Smith Property Description n = Test Drive Channel Test Run Group(s) #1 Three levels of hierarchy for better organization File, groups, and channels Property Vehicle = 1 Malibu Property Track = East 2 Property Road_Surface n = Paved Engine Channel(s) Temperature Property TC_Type 1 = J Property Units = Deg n C Customizable, descriptive properties at each level Extensible and Scalable 29
Where should you save data? Onboard Storage USB Thumb Drive USB HDD USB SSD Ethernet or Cloud Storage Onboard Fastest Advantages Removable, swappable Price per GB Fast throughput Removable, swappable Large capacity Fast throughput Removable, swappable No moving parts Extended temperature Large capacity Considerations Data access and retrieval Limited disk space Slower throughput Susceptible to vibration Smaller capacities Price per GB Network connectivity Security 30
Cloud Technologies Web-Based Thin Clients Data Dashboard for LabVIEW Data Cloud Desktop Applications LabVIEW Stand-Alone NI CompactDAQ 31
Vision Integration with NI CompactDAQ IP Security Cameras Supported brands: Basler Vision Technologies Axis Communications Compressed images 1-5 frames per second (depending on resolution) Machine Vision, Scientific, Specialty Cameras Available on Stand-Alone NI CompactDAQ Full-frame rate, uncompressed images GigE Vision, EtherNet, USB options 32
Demo 2: TDMS Logging and Video Integration
Building a Next Generation Data Logging System Condition Monitoring System Requirements: Measure vibration, speed, and temperature Rugged, stand-alone system Flexible software for custom user interface Start acquisition off of a hardware trigger Correlate all measurement to same timebase Log data to local nonvolatile storage Integrate video streaming synchronized to sensor data View measurements remotely from tablet View and manage data in a simple tool Playback all sensor data and video side-by-side 34
Flexible Visualization Options with Stand-Alone NI CompactDAQ Headless Mobile Local Remote 35
Industry Trend: Integrating Mobile Devices Data Dashboard for LabVIEW Control and visualize data from LabVIEW systems on a tablet 36
Data Management with NI DIAdem Ready to use data search and mining Easy, flexible access to databases and files Live data collection and display Interactive analysis and report generation Automation through VBScript 37
Demo 3: Data Dashboard and Data Management
Building a Next Generation Data Logging System Condition Monitoring System Requirements: Measure vibration, speed, and temperature Rugged, stand-alone system Flexible software for custom user interface Start acquisition off of a hardware trigger Correlate all measurement to same timebase Log data to local nonvolatile storage Integrate video streaming synchronized to sensor data View measurements remotely from tablet View and manage data in a simple tool Playback all sensor data and video side-by-side 39
Future Capabilities of Next Generation Logging Systems Visualization Ability to quickly create custom user interfaces on tablets and smart phones Application Software Software customizable on mobile devices Storage Increased storage capacity and logging to the cloud I/O Rates and Timing Faster rates and more custom timing options Processing More advanced inline analysis and signal processing Connectivity Better wireless connectivity and synchronization (Wi-Fi, cellular, Ethernet, IEEE 1588) Size and Ruggedness Smaller, more rugged systems based on Intel s Atom and ARM 40
Thank you for attending Visit www./daq for more information