ni.com Digital Signal Processing for Every Application

Similar documents
NanoGiant Oscilloscope/Function-Generator Program. Getting Started

Getting Started with the LabVIEW Sound and Vibration Toolkit

Major Differences Between the DT9847 Series Modules

Techniques for Extending Real-Time Oscilloscope Bandwidth

Chapter 1. Introduction to Digital Signal Processing

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

Spectrum Analyser Basics

Introduction To LabVIEW and the DSP Board

Data Converters and DSPs Getting Closer to Sensors

Module 8 : Numerical Relaying I : Fundamentals

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

DT9837 Series. High Performance, USB Powered Modules for Sound & Vibration Analysis. Key Features:

Realizing Waveform Characteristics up to a Digitizer s Full Bandwidth Increasing the effective sampling rate when measuring repetitive signals

Appendix D. UW DigiScope User s Manual. Willis J. Tompkins and Annie Foong

Sound and Vibration Data Acquisition

Sound and Vibration Data Acquisition

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

Building Video and Audio Test Systems. NI Technical Symposium 2008

Experiment 13 Sampling and reconstruction

Digitizing and Sampling

EngineDiag. The Reciprocating Machines Diagnostics Module. Introduction DATASHEET

Oscilloscopes, logic analyzers ScopeLogicDAQ

EngineDiag. The Reciprocating Machines Diagnostics Module. Introduction DATASHEET

What to look for when choosing an oscilloscope

Analog Arts SA985 SA975 SA935 SA915 Product Specifications

REPORT DOCUMENTATION PAGE

2 MHz Lock-In Amplifier

Analog Arts SA985 SA975 SA935 SA915 Product Specifications [1]

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Amplification. Most common signal conditioning

DT8837. High Performance Ethernet Instrument Module for Sound & Vibration. Overview. Key Features

EMI/EMC diagnostic and debugging

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

Scanning A/D Converters, Waveform Digitizers, and Oscilloscopes

Precise Digital Integration of Fast Analogue Signals using a 12-bit Oscilloscope

DPD80 Visible Datasheet

AR SWORD Digital Receiver EXciter (DREX)

DPD80 Infrared Datasheet

4 MHz Lock-In Amplifier

Voice Controlled Car System

FFT Laboratory Experiments for the HP Series Oscilloscopes and HP 54657A/54658A Measurement Storage Modules

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

Adaptive Resampling - Transforming From the Time to the Angle Domain

IEEE Santa Clara ComSoc/CAS Weekend Workshop Event-based analog sensing

Choosing an Oscilloscope

2 MHz Lock-In Amplifier

Torsional vibration analysis in ArtemiS SUITE 1

Clock Jitter Cancelation in Coherent Data Converter Testing

LabView Exercises: Part II

Experiment 2: Sampling and Quantization

Digital Lock-In Amplifiers SR850 DSP lock-in amplifier with graphical display

PicoScope 9300 Series migration guide

MSO-28 Oscilloscope, Logic Analyzer, Spectrum Analyzer

Intro to DSP: Sampling. with GNU Radio Jeff Long

Chapter 6: Real-Time Image Formation

The high-end network analyzers from Rohde & Schwarz now include an option for pulse profile measurements plus, the new R&S ZVA 40 covers the

DT8837 Ethernet High Speed DAQ

1ms Column Parallel Vision System and It's Application of High Speed Target Tracking

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

S I N E V I B E S FRACTION AUDIO SLICING WORKSTATION

National Park Service Photo. Utah 400 Series 1. Digital Routing Switcher.

Introduction to Data Conversion and Processing

Implementation of Real- Time Spectrum Analysis

GALILEO Timing Receiver

Fraction by Sinevibes audio slicing workstation

B I O E N / Biological Signals & Data Acquisition

High Speed Data Acquisition Cards

Application Note #63 Field Analyzers in EMC Radiated Immunity Testing

Lab experience 1: Introduction to LabView

R&S FSW-B512R Real-Time Spectrum Analyzer 512 MHz Specifications

Build Applications Tailored for Remote Signal Monitoring with the Signal Hound BB60C

CZT vs FFT: Flexibility vs Speed. Abstract

Synthesized Clock Generator

Embedded Signal Processing with the Micro Signal Architecture

ATS MS/s 8-Bit PCI Digitizer

DIGITAL INSTRUMENTS S.R.L. SPM-ETH (Synchro Phasor Meter over ETH)

PEP-II longitudinal feedback and the low groupdelay. Dmitry Teytelman

Digital Fundamentals. Introduction to Digital Signal Processing

An Introduction to the Spectral Dynamics Rotating Machinery Analysis (RMA) package For PUMA and COUGAR

A Parametric Autoregressive Model for the Extraction of Electric Network Frequency Fluctuations in Audio Forensic Authentication

Politecnico di Torino HIGH SPEED AND HIGH PRECISION ANALOG TO DIGITAL CONVERTER. Professor : Del Corso Mahshid Hooshmand ID Student Number:

Scanning For Photonics Applications

100 MHz, 100 MS/s, 14-Bit Digitizer

Benefits of the R&S RTO Oscilloscope's Digital Trigger. <Application Note> Products: R&S RTO Digital Oscilloscope

Fa m i l y o f PXI Do w n c o n v e r t e r Mo d u l e s Br i n g s 26.5 GHz RF/MW

Sample. Data Acquisition and Signal Conditioning. Course Manual. Course Software Version 2011 February 2012 Edition Part Number P-01

Benchtop Portability with ATE Performance

Figure 1: Feature Vector Sequence Generator block diagram.

PicoScope 6407 Digitizer

Radar Signal Processing Final Report Spring Semester 2017

Measuring with digital storage oscilloscopes

Installation of a DAQ System in Hall C

SigPlay User s Guide

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

Troubleshooting EMI in Embedded Designs White Paper

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control

Development of an oscilloscope based TDP metric

Transcription:

Digital Signal Processing for Every Application

Digital Signal Processing is Everywhere High-Volume Image Processing Production Test Structural Sound Health and Vibration Monitoring RF WiMAX, and Microwave WLAN, GPS Test Space Wavelets Exploration Large Spectral Physics Analysis Applications Avionics Digital Filter Applications Design

Case Study in Real-Time Signal Processing Structural Health Monitoring for Donghai Bridge in China Connects Shanghai and the Yangshan deep-water port One of the world s longest cross-sea bridges.

Applying mrssi to Donghai Bridge 14 PXI systems for data acquisition and control Over 500 sensors including accelerometers, Fiber Bragg grating sensors, and anemoscopes GPS for system synchronization and time-stamping LabVIEW for mrssi algorithm implementation

Tools for Domain-Specific Analysis Sound & Vibration Toolkit Vision Development Module Robotics Module Biomedical Toolkit Automotive Diagnostic Command Set ECU Measurement and Calibration Toolkit NI Modulation Toolkit Measurement Suite for Fixed WiMAX WLAN Measurement Suite GPS Simulation Toolkit

What is Digital Signal Processing (DSP)? 1. Ensure signals are correctly digitized 2. Build the right signal processing algorithm Sensor Output Signal Conditioning ADC Choose the right FFT Digital Select Signal the best Processing: window Bus The mathematical manipulation of signals after they ve been 3. Put converted your analysis to a in digital the right form place Offline Software Inline

Sampling Your Signal 1. Ensure your sampled (digital) signal sufficiently represents the analog signal 2. Only take the parts of your signal that you need 1. Prevent buffer overflow 2. Reduce burden on on-board memory

Correctly Sampling Your Signal 1. Ensure your sampled (digital) signal is a true representation of your original analog signal Major components of the analog front end on a high-speed digitizer

Bandwidth Frequency at which the amplitude of the input signal, passed through the analog front end, is attenuated to 70.7% of its original amplitude Also known as the -3 db bandwidth or 3dB point

Typical Bandwidth of an Oscilloscope

Limited Bandwidth Impacts Measurement Digitizer bandwidth should be 3x to 5x the signal-bandwidth when looking at non sine-wave signals

Sampling Rate The rate at which a digitizer s ADC converts the input signal to digital data, after the signal has passed through the analog input path

Aliasing Alias A false lower frequency component that appears in sampled data acquired at too low a sampling rate

Shannon-Nyquist theorem A signal must be sampled at a rate greater than twice the highest frequency component of the signal to accurately reconstruct the waveform This is a special case of the theorem that applies to signals from 0 Hz - F s /2 Hz Nyquist Frequency (Fs/2) Sampling Frequency F s /2 Signal of interest in spectrum view F s

More generic version of Shannon-Nyquist A signal must be sampled as least twice as fast as the signal bandwidth Signal must be band limited. If not, use a bandpass filter Aliasing Undersampling F s /2 F s Sample twice as fast as this bandwidth requires

Correctly Sampling Your Signal 2. Only take the parts of your signal that you need 1. Prevent buffer overflow 2. Reduce burden on on-board memory Software Trigger Edge Trigger

Available Triggers* Software Software command starts the acquisition of posttrigger data Edge A signal crosses a trigger threshold that you specify Windowed A signal either enters or leaves a window you specify Hysteresis Removes incorrect trigger behavior as a result of noise Digital Occurs on either a rising or falling edge of a digital signal

What is Digital Signal Processing (DSP)? 1. Ensure signals are correctly digitized ADC Bus 2. Build the right signal processing algorithm Choose the right FFT Select the best window 3. Put your analysis in the right place Offline Software Inline

Frequency Domain Analysis Fourier s Theorem Any waveform in the time domain can be represented by the weighted sum of sines and cosines

Frequency Spacing and Symmetry of the FFT 1D FFT is defined as: where x=input sequence, N=number of elements of x, Y=transform result Frequency spacing: where F s =sampling rate

1D FFT: Even Number of Samples Array Element Y o Y 1 Y 2 Y (k-1) Y k Y -(k-1) Y n-2 Y n-1 n is even (k=n/2) Corresponding Frequency DC component 1 st Harmonic 2 nd Harmonic (k-1) th Harmonic Nyquist Frequency -(k-1) th Harmonic -2 nd Harmonic -1 st Harmonic FFT{X}, n=512 Most real-world signals have no imaginary components, and these positive negative purely harmonics real signals produce harmonics an FFT that is symmetric about the DC component at 0 Hz. This means that values at negative frequencies are exactly the same as their positive counterparts, and those points are considered redundant. DC Component Nyquist Component

1D FFT: Even Number of Samples Consider an example: 1024 samples of a real signal sampled at 100 ks/s Δf = 100 khz/1024 = 97.65625 Hz Array Element Y o Y 1 Y 2 Y 511 Y 512 Y 513 Y 1023 Corresponding Frequency 0 Hz 97.65625 Hz 195.3125 Hz 49.90234 khz 50 KHz -49.90234 khz -97.65625 Hz DC Component FFT{X}, n=1024 positive harmonics Nyquist Component negative harmonics

1D FFT: Odd Number of Samples n is odd (k=(n-1)/2) FFT{X} Array Element Y o Corresponding Frequency DC component positive harmonics negative harmonics Y 1 1 st Harmonic Y 2 2 nd Harmonic Y (k-1) (k-1) th Harmonic Y k k th Harmonic Y -(k-1) -(k-1) th Harmonic DC Component k th Harmonic Y n-2-2 nd Harmonic Y n-1-1 st Harmonic

The Power Spectrum The power at a particular frequency component is the square of the magnitude at that component Power is always real, and all phase information is lost Array Element S xx [0] S xx [1] = S xx [N-1] S xx [2] = S xx [N-2] S xx [k-2] = S xx [N-(k-2)] S xx [k-1] = S xx [N-(k-1)] S xx [k] For even n (k=n/2) Interpretation Power in DC component Power at 1 st harmonic Power at 2 nd harmonic Power at (k-2) th harmonic Power at (k-1) th harmonic Power at (k) th harmonic

Array-based Analysis vs Point-by-Point Analysis Point-by-point analysis A subset of inline analysis where results are calculated after every individual sample rather than on a group of samples.

Array-based Analysis vs Point-by-Point Analysis Array-based Pt-by-Pt Characteristics Limited compatibility with realtime systems Specify a buffer Delayed processing Asynchronous work style Characteristics Compatible with real-time systems No explicit buffers Immediate processing Synchronous work style Must initialize Such analysis is essential when dealing with control processes featuring highspeed, deterministic, single-point data acquisition. Latency between acquisition and decision is minimized.

Spectral Leakage Practical signals are finite, but the FFT assumes this time record repeats. If you have an integral number of cycles in your time record, the repetition is smooth at the boundaries. If not, you get discontinuities.

Effects of Spectral Leakage on an FFT Power Spectrum Integer number of periods Power Spectrum Non-integer number of periods

Windowing Windowing can be used to smooth these boundaries, reducing the size of the discontinuity and thus spectral leakage. Power Spectrum

Frequency Response: No Window The black curve shows the frequency response of FFT bin 3, blue is bin 4, etc. Note the poor sideband response of the filters

Frequency Response: 4-term Blackman Harris Using a 4-term Blackman Harris window before the FFT minimizes side lobes Tradeoff: the main lobe s -3 db bandwidth increased from 1 bin to 2 bins

Choosing a Filter Signal Characteristic Strong frequency components far from your frequency of interest Strong frequency components near your frequency of interest Area of interest is 2+ nearby frequencies Amplitude accuracy of a single frequency of interest is important Flat signal, or broadband in frequency content Window Characteristic Window with a high side lobe rolloff rate Low maximum side lobe level Narrow main lobe to maximize spectral resolution Window with a wide main lobe Uniform window or no window Not sure? A Hanning window will do the job most of the time, and is a good starting point

Learn More Windowing Techniques Find a handy guide online search windowing fft Windowing: Optimizing FFTs Using Window Functions

What is Digital Signal Processing (DSP)? 1. Ensure signals are correctly digitized ADC Bus 2. Build the right signal processing algorithm Choose the right FFT Select the best window 3. Put your analysis in the right place Offline Software Inline

Analysis in a Generic System Architecture Offline I/O Processor FPGA I/O I/O I/O Inline with acquisition hardware On processor during acquisition

When Should Analysis be Offline? Offline Analysis Analysis performed after data acquisition Benefits Not limited by timing and memory constraints of data acquisition Greater data interactivity. You have the ability to freely explore raw data and results of analysis Doesn t bottleneck your acquisition. Offline analysis might be necessary for intensive algorithms operating on large data sets Typical Use Cases Only useful when you do not need to make decisions as a result of this analysis as you acquire data Often used to identify the cause and effect of variables by correlating multiple data sets Histograms, trending, and curve-fitting are common offline analysis tasks

Performing Analysis in Software During Acquisition I/O Processor FPGA I/O I/O I/O General Purpose OS Can run many tasks at a time Familiar environment General Purpose Real-Time OS Precise timing Higher level of determinism Typically run one program at a time Usually no user interface

Analyze Inline with Acquisition Hardware I/O Processor FPGA I/O I/O I/O Put analysis algorithms directly onto an FPGA True parallelism High reliability as designs become a custom circuit Runs algorithms at deterministic rates on the order of nanoseconds Reconfigurable

FPGA Technology What is an FPGA? Software defined hardware No operating system is needed for execution of logic I/O Blocks Logic Inline signal processing with minimal latency Dedicated logic in silicon for highest reliability FPGA High-speed and deterministic control

Mapping LabVIEW to an FPGA F A B C D W X Y Z

FPGA Enables Data Reduction & In-line DSP Filtering Peak-detect FFTs Custom triggering Algorithmic pattern generation Co-processing Modulation/demodulation Acquire Process Display Image Sensor LCD Display NI 6581 Adapter Virtex-5 LX85 FPGA Modules

High Performance Application: Real-Time OCT Imaging Goal: Create a medical instrument to detect cancer without the patient undergoing a stressful biopsy A 3D optical coherence tomography (OCT) imaging system is a non-invasive solution with better resolution than traditional MRI or PET scans.

High Performance Application: Real-Time OCT Imaging Researchers used LabVIEW to perform analysis on highly parallel computing architectures. These technologies enabled them to achieve the fast processing necessary for 3D imaging. Used LabVIEW with NI FlexRIO to compute over 700,000 512-point FFTs every second Real-time 3D image rendering and display was performed using a high performance NVIDIA Quadro GPU

Analysis in a 3D OCT Application GPU CPU 3D Image Rendering Offline data exploration using LabVIEW I/O Real-Time Processor FPGA I/O I/O I/O Intensive FFT Processing Synchronized multichannel acquisition

Already CLAD Certified? You re immediately eligible to take the Certified LabVIEW Developer exam. Start preparing now! Join a local user group Prepare using resources on Developer Zone /training/certification_prep Time yourself during practice exams Note: CLAD certification must be current to take the CLD exam Email certification@ to register for an exam near you.