Data Acquisition (DAQ) Fundamentals

Similar documents
Transducers Signal conditioning DAQ hardware Software

ni.com Sensor Measurement Fundamentals Series

Developer Techniques Sessions

MAE334 - Introduction to Instrumentation and Computers. Final Exam. December 11, 2006

Measurement & Control of energy systems. Teppo Myllys National Instruments

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

Instrumentation (ch. 4 in Lecture notes)

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

Introduction to NI LabVIEW and Computer-Based Measurements. Elias Nicolas Applications Engineer National Instruments

PC Digital Data Acquisition

MEASUREMENT AND INSTRUMENTATION QUESTION BANK UNIT I INTRODUCTION. Part A

Module 1: Introduction to Experimental Techniques Lecture 2: Sources of error. The Lecture Contains: Sources of Error in Measurement

MECE 3320 Measurements & Instrumentation. Data Acquisition

Introduction to Measurement Systems

Signal Conditioning Fundamentals for PC-Based Data Acquisition Systems

EKT 314/4 LABORATORIES SHEET

USB Dynamic Signal Acquisition

Data acquisition and instrumentation. Data acquisition

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

Table of Contents...2. About the Tutorial...6. Audience...6. Prerequisites...6. Copyright & Disclaimer EMI INTRODUCTION Voltmeter...

ME 365 FINAL EXAM. Monday, April 29, :30 pm-5:30 pm LILY Problem Score

Strain Gauge Measurement A Tutorial

ELG3336 Design of Mechatronics System

Electronic Instrumentation and Measurements

CHAPTER 7 HARDWARE IMPLEMENTATION

Lab 2A: Introduction to Sensing and Data Acquisition

SCXI 8-Channel Isolated Analog Input Modules

Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Third Semester. Electrical and Electronics Engineering

Notes on Noise Reduction

Correction for Synchronization Errors in Dynamic Measurements

USE OF BASIC ELECTRONIC MEASURING INSTRUMENTS Part II, & ANALYSIS OF MEASUREMENT ERROR 1

IMAC 27 - Orlando, FL Shaker Excitation

Measurement, Sensors, and Data Acquisition in the Two-Can System

Lab 11. Speed Control of a D.C. motor. Motor Characterization

Applications area and advantages of the capillary waves method

Analog Signal Conditioning Accessories

IN Branch GATE Paper 1999 SECTION A

Module 3: Velocity Measurement Lecture 13: Two wire hotwire measurement. The Lecture Contains: Hotwire Anemometry. Electromagnetic Actuator

LabVIEW Based Instrumentation and Experimental Methods Course

VCSO Mechanical Shock Compensation

GATE 2019 ONLINE TEST SERIES

Measurement Techniques

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Chapter 2 Analog-to-Digital Conversion...

EKT 314/4 LABORATORIES SHEET

Measurement and Instrumentation

Filters And Waveform Shaping

sin(wt) y(t) Exciter Vibrating armature ENME599 1

PC-based controller for Mechatronics System

Response spectrum Time history Power Spectral Density, PSD

Common-source Amplifiers

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

Let`s get SIRIUS! SIRIUS Overview. SIRIUS from Dewesoft. SIRIUS Overview. The new hardware generation makes your measurement more precise!

Common-Source Amplifiers

AERO2705 Space Engineering 1 Week 7 The University of Sydney

B.E. Sem.VII [ETRX] Basics of VLSI

5. Transducers Definition and General Concept of Transducer Classification of Transducers

UPSC Electrical Engineering Syllabus

Analog to Digital Converters

Data Acquisition Boards and USB-DAQ

4 Things to Consider When Using a DAQ as a Data Logger

Jitter in Digital Communication Systems, Part 1

Electronic Measurements & Instrumentation UNIT What are the basic performance characteristics of a system?

SHOCK AND VIBRATION RESPONSE SPECTRA COURSE Unit 4. Random Vibration Characteristics. By Tom Irvine

Data Acquisition and Signal Conditioning

Part 2: Second order systems: cantilever response

Microprocessors & Interfacing

MEP 382: Design of Applied Measurement Systems Lecture 4: Digital Logic, Computer, Signals & Systems Basics

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

ACCURACY JUNGLE TRUE OR FALSE?

Sensors and Actuators Introduction to sensors

Intermediate and Advanced Labs PHY3802L/PHY4822L

Electronics II. Calibration and Curve Fitting

VT1419A Multifunctional Plus Measurement and Control Module

24-Bit, ks/s Dynamic Signal Acquisition and Generation

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

EDS-400A COMPACT RECORDER. New KYOWA ELECTRONIC INSTRUMENTS CO., LTD.

Chapter 30: Principles of Active Vibration Control: Piezoelectric Accelerometers

STRAIN, FORCE, PRESSURE, AND FLOW MEASUREMENTS

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

EXPERIMENT 12 PHYSICS 250 TRANSDUCERS: TIME RESPONSE

Downloaded from Downloaded from

1. Introduction. 2. Concept. reflector. transduce r. node. Kraftmessung an verschiedenen Fluiden in akustischen Feldern

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW

Basic Electronics Learning by doing Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras

Introduction. ELCT903, Sensor Technology Electronics and Electrical Engineering Department 1. Dr.-Eng. Hisham El-Sherif

CS545 Contents XIV. Components of a Robotic System. Signal Processing. Reading Assignment for Next Class

Question Bank SENSORS AND INSTRUMENTATION [EE-305/405]

2.5 GHz 75 Ω Multiplexer and SPDT Relay Switches

Experiment 8 Frequency Response

MEMORY RECORDER/ANALYZER

GATE 2009 Instrumentation Engineering

Measuring Temperature with an RTD or Thermistor

Chapter 1 Introduction

RX1032 PRECISION TEMPERATURE MEASUREMENTS FOR RUGGED ENVIRONMENTS FEATURES. 32-Channel Thermocouple Measurement System

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

Lab 9 AC FILTERS AND RESONANCE

Loop Design. Chapter Introduction

Transcription:

Flow Measurements Manometers Transducers Pitot tubes Thermocouples Hot wire systems a. Anemometers b. Probes - Simple - Slented - Cross-wire LDA (Laser Doppler Anemometry) PIV (Particle Image Velocimetry) ---------------------------------------------- Data Acquisition System

Data Acquisition (DAQ) Fundamentals Typical PC-Based DAQ System Personal computer Transducers Signal conditioning DAQ hardware Software http://zone.ni.com/

Data Acquisition (DAQ) Fundamentals Data acquisition involves gathering signals from measurement sources and digitizing the signal for storage, analysis, and presentation on a PC. Data acquisition (DAQ) systems come in many different PC technology forms for great flexibility when choosing your system. Scientists and engineers can choose from PCI (Peripheral Component Interconnect), PXI (PCI extensions for Instrumentation), PCI Express, PXI Express, PCMCIA, USB, Wireless and Ethernet data acquisition for test, measurement, and automation applications. PCI (Peripheral Component Interconnect) is an industry specification for connecting hardware devices to a computer's central processor There are five components to be considered when building a basic DAQ system : Transducers and sensors Signals Signal conditioning DAQ hardware Driver and application software (multiple programming environments, including NI LabVIEW, NI LabWindows /CVI, C/C++, Visual C#, and Visual Basic.NET)

http://zone.ni.com/devzone/cda/tut/p/id/4811 PXI is the open, PC-based platform for test, measurement, and control PXI systems are composed of three basic components chassis, system controller, and peripheral modules Standard 8-Slot PXI Chassis Containing an Embedded System Controller and Seven Peripheral Modules

A typical DAQ system with National Instruments SCXI signal conditioning accessories An SCXI system consists of multichannel signal conditioning modules installed in one or more rugged chassis. You can choose from a wide selection of analog input, analog output, digital I/O, and switching modules to fit your application needs exactly

Transducers and sensors A transducer is a device that converts a physical phenomenon into a measurable electrical signal, such as voltage or current. The ability of a DAQ system to measure different phenomena depends on the transducers to convert the physical phenomena into signals measurable by the DAQ hardware. Phenomenon Temperature Light Sound Force and Pressure Position and Displacement Acceleration ph Transducer Thermocouple, RTD, Thermistor Photo Sensor Microphone Strain Gage Piezoelectric Transducer Potentiometer, LVDT, Optical Encoder Accelerometer ph Electrode

Signals The appropriate transducers convert physical phenomena into measurable signals. However, different signals need to be measured in different ways. For this reason, it is important to understand the different types of signals and their corresponding attributes. Signals can be categorized into two groups: Analog Digital

Analog Signals An analog signal can be at any value with respect to time. A few examples of analog signals include voltage, temperature, pressure, sound, and load. The three primary characteristics of an analog signal include level, shape, and frequency Because analog signals can take on any value, level gives vital information about the measured analog signal. The intensity of a light source, the temperature in a room, and the pressure inside a chamber are all examples that demonstrate the importance of the level of a signal. Primary Characteristics of an Analog Signal

Digital Signals A digital signal cannot take on any value with respect to time. Instead, a digital signal has two possible levels: high and low. Digital signals generally conform to certain specifications that define characteristics of the signal. Digital signals are commonly referred to as transistor-to-transistor logic (TTL). TTL specifications indicate a digital signal to be low when the level falls within to.8 V, and the signal is high between 2 to 5 V. The useful information that can be measured from a digital signal includes the state (on or off, high or low ) and the rate of a digital how the digital signal changes state with respect to time

Signal Conditioning Sometimes transducers generate signals too difficult or too dangerous to measure directly with a DAQ device. For instance, when dealing with high voltages, noisy environments, extreme high and low signals, or simultaneous signal measurement, signal conditioning is essential for an effective DAQ system. Signal conditioning maximizes the accuracy of a system, allows sensors to operate properly, and guarantees safety. Signal conditioning accessories can be used in a variety of applications including: Amplification Attenuation Isolation (The system being monitored may contain high-voltage transients that could damage the computer without signal conditioning) Bridge completion Simultaneous sampling Sensor excitation Multiplexing (A common technique for measuring several signals with a single measuring device is multiplexing.)

Signal conditioning

Example for Need of Amplifiers Amplification The most common type of signal conditioning is amplification. Low-level thermocouple signals, for example, should be amplified to increase the resolution and reduce noise. For the highest possible accuracy, the signal should be amplified so that the maximum voltage range of the conditioned signal equals the maximum input range of the A/D Converter.

DAQ Hardware DAQ hardware acts as the interface between the computer and the outside world. It primarily functions as a device that digitizes incoming analog signals so that the computer can interpret them. Other data acquisition functionality includes: Analog Input/Output Digital Input/Output Counter/Timers Multifunction - a combination of analog, digital, and counter operations on a single device NI Wi-Fi Data Acquisition

Computer Address CPU Central Processing Unit Data Control Sampled Analog Input Signal A/D Converter 1111 Digital Output B bits/sample Input Device Keyboard Disk A/D Converter 111 11 Buss Memory Digital Output 11 1 11 1 Output Device Computer CRT monitors Printer Disk D/A Converter 1 Full Scale 1/2 LSB Analog Input Ref: http://cobweb.ecn.purdue.edu/~aae52/ LSB: least significant bit

=2 3 Full scale voltage range R=8V

A/D converter

Dynamic Response of Measurement Systems

A static measurement of a physical quantity is performed when the quantity is not changing in time. The deflection of a beam under a constant load would be a static deflection. However, if the beam were set in vibration, the deflection would vary with time (dynamic measurement).

Zeroth-, First- and Second-Order Systems: A system may be described in terms of a general variable x(t) written in differential equation form as: where F(t) is some forcing function imposed on the system. The order of the system is designed by the order of the differential equation. A zeroth-order system would be governed by:

A first-order system is governed by: A second-order system is governed by:

The zeroth order system indicates that the system variable x(t) will follow the input forcing function F(t) instantly by some constant value: The constant 1/a is called the static sensitivity of the system.

The first order system may be expressed as: The τ= a 1 /a has the dimension of time and is usually called the time constant of the system.

For step input : F(t)= at t= F(t)=A for t> Along with the initial condition x=x at t= The solution to the first order system is: where Steady state response (call x ) Transient response of the system The same solution can be written in dimensionless forms as:

The rise time is the time required to achieve a response of 9 percent of the step input. This requires: or t= 2.33 τ

http://cobweb.ecn.purdue.edu/~aae52/

Input signal examples: x(t) x(t-t ) Unit step function (Heaviside function) Shifted unit step function

. Input signal examples: Impulse function (Dirac delta function)

Dynamic Response of Measurement Systems Zero Order System: y = Kx(t)

First Order System τ + y = Kx(t) Step response - First Order System Amplitude 1.9.8.7.6.5.4.3.2.1 τ =.5 Dynamic Response of Measurement Systems τ = 1 τ = 2 dy dt t / τ y = Kx(1 e ) Impulse response y = Kx First Order System 2 4 6 8 1 t /τ Amplitude 1.9.8.7.6.5.4.3.2.1 τ =.5 τ = 1 τ = 2 e t /τ 2 4 6 8 1 t /τ

Dynamic Response of Measurement Systems First Order System Sinusoidal Response x Input = x sin( ωt) y = Φ = 2 2 1+ ω τ tan Kx 1 Output ( ωτ ) sin( ωt + Φ) amplitude Amplitude Decrease and Phase Shift 1.8.6.4.2 -.2 -.4 -.6 -.8 Sinusoidal Response - First Order System Input Output -1.5 1 1.5 2 2.5 time Gain db Phase deg -1-2 -3 1-1 1 1 1-3 -6 ωτ ωτ -9 1-1 1 1 1 Bode Plot

Dynamic Response of Measurement Systems 2 d y dy 2 + 2ζω ω 2 n + n y = dt dt ω - natural frequency n Second Order System ζ - damping factor systems 2 Kω x( t) ζ = 1- critical damping - no oscillations ζ =.7 - for fastest response 5% overshoot System comes to 5% of static value n Amplit tude in half the time for critically damped 2 1.8 1.6 1.4 1.2 1.8.6.4.2 Step response - Second Order System 5 1 15 2 ω t n

Second Order System - Sinusoidal Response = + + = = 2 1 2 2 2 1 2 tan ) sin( 2 1 ) sin( n n n n t KX y t X x ω ω ω ω ζ φ φ ω ω ω ζ ω ω ω Amplitude Dynamic Response of Measurement Systems ω /ω n Phase (deg) Amplitude (db)

Dynamic Response of Measurement Systems Second Order System - Impulse Response y = Kx e sin( 1 ζ + ζωn t 2 ωn φ t ) 1 Impulse response - Second Order System.8.6.4 Amplitude.2 -.2 -.4 -.6 -.8 2 4 6 8 1 time

Filters 1.2 1.2 1 1 Amplitude Ratio.8.6.4 Amplitude Ratio.8.6.4.2.2 1 2 3 4 5 F re q ue nc y (H z) Low Pass Filter Removes High Frequency Noise 1 2 3 4 5 F re q ue nc y (H z) High Pass Filter Removes DC and Low Frequency Noise (Such as 6, 12 Hz) 1.2 1.2 1 1 Amplitude Ratio.8.6.4 Amplitude Ratio.8.6.4.2.2 1 2 3 4 5 F re q ue nc y (H z) Band Pass 1 2 3 4 5 F re q ue nc y (H z) Band Stop

Example: MUSIC Basically, the equalizer in your stereo is nothing more than a set of band pass filters in parallel. Each filter has a different frequency band that it controls. The equalizer is used to balance the signal over different frequencies to shape the noise (music) amplitude frequency Dr. Peter Avitabile University of Massachusetts Lowell

The instrument that is used to make measurements will have some very definite frequency characteristics. This defines the usable frequency range of the instrument. As part of the lab and measurements taken, there was a different usable frequency range for the oscilloscope and the digital multimeter amplitude amplitude frequency frequency Dr. Peter Avitabile University of Massachusetts Lowell

amplitude amplitude frequency frequency Dr. Peter Avitabile University of Massachusetts Lowell

In addition to instruments, the actual transducers used to make measurements also have useful frequency ranges. For instance, a strain gage accelerometer and a peizoelectric accelerometer have different useful frequency ranges amplitude amplitude frequency frequency Dr. Peter Avitabile University of Massachusetts Lowell

Low Pass Filter Examples 1 1 1.8.8.8 Magnitude.6.4 Magnitude.6.4 Magnitude.6.4.2.2.2 1-1 1 1 1 Frequency Elliptic Filter 1-1 1 1 1 Frequency Bessel Filter 1-1 1 1 1 Frequency Butterworth 1 1.8.8 Magnitude.6.4 Magnitude.6.4.2.2 1-1 1 1 1 Frequency Chebyshev I Filter 1-1 1 1 1 Frequency Chebyshev II

Example Signal Fs = 1; t = :1/Fs:1; x =.5+ sin(2*pi*t*5)+.25*sin(2*pi*t*4); % DC plus 5 Hz signal and 4 Hz signal sampled at 1 Hz for 1 sec DC Level Amplitude (volts) 2 1.5 1.5 Total Signal Low Frequency Signal High Frequency -.5-1.2.4.6.8 1 Time (sec) http://cobweb.ecn.purdue.edu/~aae52/

Amplitude Ratio 1.2 1.8.6.4 Cheby2 Low Pass Recovers DC + 3Hz Amplitude (volts) 2 1. 5 1. 5 Original Signal Filter.2 -. 5 Filtfilt 1 2 3 4 5 Frequency (Hz) - 1. 2. 4. 6. 8 1 T i m e ( s e c ) 1.2 2 Amplitude Ratio 1.8.6.4 Cheby2 High Pass Recovers 4 Hz Amplitude (volts) 1. 5 1. 5.2 -. 5 1 2 3 4 5 Frequency (Hz) 1.2-1. 2. 4. 6. 8 1 T i m e ( s e c ) 2 Amplitude Ratio 1.8.6.4 Cheby2 Band Pass Recovers 3Hz Amplitude (volts) 1. 5 1. 5 -. 5.2-1 1 2 3 4 5 Frequency (Hz) - 1. 5. 2. 4. 6. 8 1 T i m e ( s e c ) 1.2 2 Amplitude Ratio 1.8.6.4 Cheby2 Stop Band Recovers DC + 4Hz Amplitude (volts) 1. 5 1. 5.2 -. 5 1 2 3 4 5 Frequency (Hz) - 1. 2. 4. 6. 8 1 T i m e ( s e c )

Measurement Error The basis for the uncertainty model lies in the nature of measurement error. We view error as the difference between what we see and what is truth. Measured value True value (bias error) Measurement error

Measurement Error Accuracy Measure of how close the result of the experiment comes to the true value Precision Measure of how exactly the result is determined without reference to the true value

Measurement Error Bias Error To determine the magnitude of bias in a given measurement situation, we must define the true value of the quantity being measured. Sometimes this error is correctable by calibration. To determine the magnitude of bias in a given measurement situation, we must define the true value of the quantity being measured. This true value is usually unknown. Random Error Random error is seen in repeated measurements. The measurements do not agree exactly; we do not expect them to. There are always numerous small effects which cause disagreements. This random error between repeated measurements is called precision error. We use the standard deviation as a measure of precision error.

Measurement Error Bias Error Systematic Error Remains Constant During Test Estimated Based On Calibration or judgement Precision ( Random Error ) Precision Index - Estimate of Standard Deviation A statistic, s, is calculated from data to estimate the precision error and is called the precision index s = N 1 ( x i x) N 1 2 True Value Bias Error β Average of measured values Total Error δ i δ i = β + ε i x x i Measured Value Random Error ε = i x i x

We may categorize bias into five classes : o large known biases, o small known biases, o large unknown biases and o small unknown biases that may have unknown sign (±) or known sign. The large known biases are eliminated by comparing the instrument to a standard instrument and obtaining a correction. This process is called calibration. Small known biases may or may not be corrected depending on the difficulty of the correction and the magnitude of the bias. The unknown biases, are not correctable. That is, we know that they may exist but we do not know the sign or magnitude of the bias. Five types of bias errors

Every effort must be made to eliminate all large unknown biases. The introduction of such errors converts the controlled measurement process into an uncontrolled worthless effort. Large unknown biases usually come from human errors in data processing, incorrect handling and installation of instrumentation, and unexpected environmental disturbances such as shock and bad flow profiles. We must assume that in a well controlled measurement process there are no large unknown biases. To ensure that a controlled measurement process exists, all measurements should he monitored with statistical quality control charts.

True Value Measurement Error True Value Precise, Accurate (Unbiased) Precise, Inaccurate (Biased) Imprecise, Accurate (Unbiased) Imprecise, Inaccurate (Biased)

ACCURACY AND PRECISION Instrument Readings True Value Accurate & precise Inaccurate but precise Imprecise but accurate Inaccurate & imprecise

Normal Distribution ( Gaussian or Bell Curve ) The normal distribution is a two parameter family of curves. The first parameter, µ, is the mean. The second, σ, is the standard deviation. The usual justification for using the normal distribution for modeling is the Central Limit Theorem which states (roughly) that the sum of independent samples from any distribution with finite mean and variance converges to the normal distribution as the sample size goes to infinity. The normal pdf ( probability density function) is: y = σ ( x µ ) 1 2 2σ e 2π 2 4.5 4. 3.5 Normal Distribution normalized so that the area under the curve = 1. Y 3. 2.5 sigma, σ 2. 1.5 1. Mean, µ.5...1.2.3.4.5.6.7.8.9 1. X

Parameter Estimation A desirable criterion in a statistical estimator is unbiasedness. A statistic is unbiased if the expected value of the statistic is equal to the parameter being estimated. Unbiased estimators of the parameters, µ, the mean, and σ, the standard deviation are: N xi Estimation of mean, µ x = 1 N [ mean(data) ] s = N 1 ( x i x) N 1 2 Estimation of standard deviation, σ [ std(data) ] N: number of data measured

Data Sample Signal from Hot Wire in a Turbulent Boundary Layer Output from an A/D Converter (in counts) at Equal Time Intervals Long Time Record Short Time Record 1 98 96 94 Amplitude 92 9 88 86 84 82 8 2 4 6 8 1 Time

Estimate of the Probability Density Function [ hist(data,# of bins) ] 8 7 6 5 4 3 2 1 85 9 95 1 15 11 Similar to a Gaussian curve Amplitude (data measured)

COMMON SENSE ERROR ANALYSIS Examine the data for consistent. No matter how hard one tries, there will always be some data points that appear to be grossly in error. The data should follow common sense consistency, and points that do not appear "proper" should be eliminated. If very many data points fall in the category of "inconsistent" perhaps the entire experimental procedure should be investigated for gross mistakes or miscalculations. Perform a statistical analysis of data where appropriate. A statistical analysis is only appropriate when measurements are repeated several times. If this is the case, make estimates of such parameters as standard deviation, etc. Estimate the uncertainties in the results. These calculations must have been performed in advance so that the investigator will already know the influence of different variables by the time the final results are obtained. Anticipate the results from theory. Before trying to obtain correlations of the experimental data, the investigator should carefully review the theory appropriate to the subject and try to think some information that will indicate the trends the results may take. Important dimensionless groups, pertinent functional relations, and other information may lead to a fruitful interpretation of the data. Correlate the data. The experimental investigator should make sense of the data in terms of physical theories or on the basis of previous experimental work in the field. Certainly, the results of the experiments should be analyzed to show how they conform to or differ from previous investigations or standards that may be employed for such measurements. (Ref. Holman, J. P., Experimental Methods for Engineers")