Professional Documents
Culture Documents
Manometers
Transducers
Pitot tubes
Thermocouples
Hot
H t wire
i systems
t
a. Anemometers
b. Probes
- Simple
- Slented
- Cross-wire
LDA (Laser Doppler Anemometry)
PIV (Particle Image Velocimetry)
---------------------------------------------Data Acquisition System
Personal computer
Transducers
Signal conditioning
DAQ hardware
Software
http://zone.ni.com/
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
A typical
yp
DAQ system
y
with National Instruments SCXI signal
g
conditioning
g
accessories
Phenomenon
Temperature
Light
Sound
Force and Pressure
Position and Displacement
A
Acceleration
l ti
pH
Transducer
Thermocouple, RTD, Thermistor
Photo Sensor
Microphone
Strain Gage
Piezoelectric Transducer
Potentiometer, LVDT, Optical Encoder
A
Accelerometer
l
t
pH Electrode
Signals
Analog Signals
An analog signal can be at any value with respect to time
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
h b are allll examples
l th
thatt d
demonstrate
t t th
the iimportance
t
off
the level of a 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
p
indicate a digital
g
signal
g
to be low when the level falls within
0 to 0.8 V, and the signal is high between 2 to 5 V.
Signal Conditioning
Sometimes transducers generate signals too difficult or too dangerous to
measure directly with a DAQ device.
For instance, when dealing
g with high
g voltages,
g
noisy
y environments, extreme high
g
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
u t p e g ((A co
common
o tec
technique
que for
o
measuring several signals with a single
measuring device is multiplexing.)
Signal
conditioning
DAQ Hardware
DAQ hardware acts as the interface between the computer and the outside world
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
M l if
i - a combination
bi i off analog,
l
di
digital,
i l and
d counter operations
i
on a single
i l
device
Computer
CPU
Central Processing
Unit
Address
Data
101011
Sampled Analog
Input Signal
Control
Input
Device
Keyboard
Disk
A/D Converter
A/D
Converter
Digital Output
B bits/Sample
111
110
Digital
p
Output
Buss
Memory
101
100
011
010
Output
Device
CRT monitors
Computer
Printer
Disk
D/A Converter
Ref: http://cobweb.ecn.purdue.edu/~aae520/
001
000
0
1/2 LSB
Full
Scale
A l Input
Analog
I
t
LSB: least significant bit
=23
A/D converter
Dynamic Response of
Measurement Systems
Zeroth-, First
Zeroth
First- and Second
Second-Order
Order Systems:
A system may be described in terms of a general
variable
i bl x(t)
(t) written
itt in
i differential
diff
ti l equation
ti form
f
as:
The zeroth order system indicates that the system variable x(t) will
follow the input forcing function F(t) instantly by some constant
value:
Th constant
The
t t 1/a
1/ 0 is
i called
ll d th
the static
t ti sensitivity
iti it off the
th system.
t
F(t)=0 at t=0
F(t)=A for t>0
Along
g with the initial condition x=x0 at t=0
The solution to the first order system is:
where
Steady
Transient
state
response of
response the system
(call x)
The same solution can be written in dimensionless forms as:
or
t 2.303
t=
2 303
F(t)
http://cobweb.ecn.purdue.edu/~aae520/
x(t)
Output signal
Input signal
x(t ) = K F (t )
I
Input
t signal
i
l examples:
l
F(t)
F(t-t0)
.
I
Input
t signal
i
l examples:
l
Impulse
p
function ((Dirac delta function))
I
Input
t signal
i
l examples:
l
Square Wave: A square wave is a series of rectangular pulses.
dx
+ x = K F (t )
dt
Step response
- First Order System
Impulse response
First Order System
x = K F (0) (1 e t / )
1
=1
0.8
09
0.9
0.8
=2
0.7
0.7
Amplitu
ude
Amp
plitude
= .5
0.9
0.6
0.5
0.4
0.6
0.5
0.4
0.3
0.3
02
0.2
02
0.2
0.1
0.1
x = K F ( 0) e t /
t /
10
=1
=2
= .5
0
t /
10
Output
-10
Input
-20
04
0.4
0.2
-30 -1
10
Output
-0.2
10
10
10
-30
30
-0.4
-60
-0.6
-0.8
-1
1
0
Phase deg
amplitude
0.6
Gain dB
0.5
time
1.5
2.5
-90
-1
10
10
Bode Plot
- damping factor
= 1 - critical damping - no oscillations
= .7 - for fastest response
1.8
16
1.6
1.4
Amplittude
d 2x
dx
2
2
+
2
x
=
K
n
n
n F (t )
2
dt
dt
n - natural frequency
S
Step
response - Second
S
O
Order System
S
5% overshoot
System comes to 5% of static value
in half the time for critically damped
systems
1.2
1
0.8
0.6
0.4
0.2
0
10
nt
15
20
x=
K F (0)
2 2
2
1 + 2
n n
Amplitude
(dB)
Ph
Phase
(deg)
/ n
sin( t + )
n
1
= tan
2
Amplitud
de
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
0
20
40
60
time
80
100
1 .2
1 .2
0 .8
8
0 .8
8
Amplitude Ratio
Amplitude Ratio
Filters
0 .6
0 .4
0 .2
0
10
20
30
F re q u e n c y (H z)
40
50
1 .2
0 .8
0 .8
0 .4
0 .2
10
20
3
F re q u e n c y (H
1 .2
0 .6
6
Amplitude Ratio
Amplitude Ratio
0 .4
0 .2
0 .6
0 .6
6
0 .4
0 .2
10
20
30
F re q u e n c y (H z)
Band Pass
40
50
10
20
30
F re q u e n c 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.
t l
Th equalizer
The
li
i used
is
d to
t balance
b l
th signal
the
i
l over different
diff
t
frequencies to shape the noise (music)
amplitude
frequency
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 p
part of the lab and measurements taken,, there was a
different usable frequency range for the oscilloscope and the digital
multimeter
amplitude
lit d
amplitude
lit d
frequency
frequency
Dr. Peter Avitabile University of Massachusetts Lowell
amplitude
amplitude
frequency
f
frequency
Dr. Peter Avitabile University of Massachusetts Lowell
amplitude
lit d
amplitude
lit d
frequency
frequency
Dr. Peter Avitabile University of Massachusetts Lowell
0.8
0.8
0.8
0.6
0.6
0.6
0.4
02
0.2
0.4
02
0.2
10
Frequency
10
0 -1
10
Elliptic Filter
10
Frequency
10
0 -1
10
B
Bessel
l Filt
Filter
B tt
Butterworth
th
0.8
0.8
0.6
0.6
0.4
0.2
0 -11
10
0.4
02
0.2
Magn
nitude
0 -1
10
Magnitude
Magnitude
Magn
nitude
Magnitude
0.4
0.2
10
Frequency
10
Chebyshev I Filter
0 -11
10
10
Frequency
Chebyshev II
Example Signal
Fs = 100;
t = 0:1/Fs:1;
x=
=.5+
5+ sin(2*pi*t*5)+
sin(2 pi t 5)+.25
25*sin(2*pi*t*40);
sin(2 pi t 40);
% DC plus 5 Hz signal and 40 Hz signal sampled at 100 Hz for 1 sec
2
DC Level
Total Signal
Am
mplitude (volts)
1.5
Low Frequency
Signal
1
0.5
High Freq
Frequency
enc
0
-0.5
-1
http://cobweb.ecn.purdue.edu/~aae520/
0.2
0.4
0.6
Time (sec)
0.8
1 .5
Cheby2
Low Pass
0.8
0.6
0.4
Recovers
R
DC + 3Hz
Amplitude (volts)
Amplitude Ratio
1.2
10
20
30
Frequency (Hz)
40
50
06
0.6
0.4
0 .2
0 .4
0 .6
T im e (s e c )
0 .2
0 .4
0 .6
T im e (s e c )
0 .2
0 .4
0 .6
T im e (s e c )
1
0 .5
0
-1
10
20
30
Frequency (Hz)
40
50
12
1.2
1 .5
Cheby2
Band Pass
0.8
0.6
Recovers
3Hz
0.4
1
Amplitude (volts)
Amplitude Ratio
0 .4
0 .6
T im e (s e c )
- 0 .5
0.2
0 .5
0
- 0 .5
-1
0.2
- 1 .5
10
20
30
Frequency (Hz)
40
50
1.2
1 .5
Recovers
R
DC + 40Hz
0.8
Cheby2
Stop Band
0.6
0.4
Amplitude (volts)
Amplitude Ratio
0 .2
1 .5
Amplitu
ude (volts)
Amplitud
de Ratio
Recovers
40 Hz
Cheby2
High Pass
0.8
1
0 .5
0
- 0 .5
0.2
0
Filtfilt
0
Filter
-1
1.2
0 .5
- 0 .5
0.2
0
Original
Si
Signal
l
-1
10
20
30
Frequency (Hz)
40
50
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
M
Measure off how
h
exactly
tl th
the result
lt iis d
determined
t
i d without
ith t
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
measured. Sometimes this
error is correctable by calibration.
To determine the magnitude of bias in a given measurement situation
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
p
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
Average of measured values x
Bias Error
Bi
E
True Value
Systematic Error
Remains Constant During Test
Estimated Based On
xi Measured Value
Calibration
or judgement
Bias Error
Precision ( Random Error )
Precision Index - Estimate of
Standard
Deviation
A statistic, s, is calculated
from data to estimate the p
precision
error and is called the precision
index
N
s=
(x x)
i
N 1
Random Error
i = xi x
Total Error i
i = + i
Measurement Error
True Value
Imprecise,
p
, Accurate ((Unbiased))
True Value
Imprecise,
p
, Inaccurate ((Biased))
True
V l
Value
Accurate
&
precise
Inaccurate
but
precise
Imprecise
but
accurate
Inaccurate
&
imprecise
4.0
3.5
3.0
2.5
sigma,
1
y=
e
2
( x )2
2 2
4.5
2.0
1.5
Mean
Mean,
1.0
0.5
0.0
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
P
Parameter
t Estimation
E ti ti
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
x=
Estimation of mean,,
[ mean(data) ]
s=
2
(
x
x
)
i
1
N 1
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
Amplitu
ude
940
920
900
880
860
840
820
800
20
40
60
Time
80
100
800
700
600
500
400
300
200
100
0
850
900
950
1000
Amplitude
(data measured)
Similar to a Gaussian curve
1050
1100