Professional Documents
Culture Documents
Engineering Measurements
Engineering Measurements
Engineering Measurements
Indrawanto
Mechanical Engineering Department
Faculty of Mechanical and Aerospace Engineering
ITB
2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Textbook
Purpose of Measurement
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Measurements
Direct/Indirect comparison (rulers, balance scale,
interferometer)
Calibrated system (odometer, spring scale, pressure gage)
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Systematic characteristics
Static characteristics of
Measurements
Accuracy
Precision
Ideal straight line
Non-linearity
Sensitivity
Environmental effects
Hysteresis
Resolution
Wear and ageing
Error bands
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Accuracy &
Precision
Precision
Accuracy
(can be calibrated)
(can be averaged)
Indrawanto, FTMD-ITB,
Neither
Definition of Non-Linearity
O OMAX
O OMIN = MIN
(I I MIN )
I MAX I MIN
OIDEAL = K I + a
K = ideal straight - line slope =
OMAX OMIN
I MAX I MIN
N (I ) = O (I ) (KI + a ) or O (I ) = KI + a + N (I )
N
Max NL as procentage of f.s.d =
100%
OMAX OMIN
q=m
O (I ) = a0 + a1 I + a2 I 2 + L + aq I q + L + am I m = aq I q
q =0
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Sensitivity
Environmental effects
Thermocouple
sensitivity.
dO
dN
=K+
dI
dI
Sensitivity: change of an instruments output per unit
change in the measured quantity
Modifying
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Interfering
O = KI + a + N (I ) + K M I M I + K I I I
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Hysteresis
H
100%
OMAX OMIN
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Resolution
Resolution expressed as a
percentage of f.s.d.
I R
100%
I MAX I MIN
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Error bands
Nonlinearity, hysteresis and resolution effects
in many sensors and transducers are small
that is difficult and not worthwhile to exactly
quantify each individual effect. In these cases
the manufacturer defines the performance of
the element in terms of error band.
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Statistical characteristics
Normal probability
density function
O
O
O
O =
I +
I M + I I I
I
I M
I
Small deviation from the
mean value
Bias:
calibration
consistent human error
loading error
Precision:
disturbances
noise
variable conditions
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
O 2
O
2
I +
I
I M
O =
2
2
2 O 2
M +
I I
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
p(O ) =
(O O )2
exp
2
2
2
p(R0 ) =
R0
(R0 R0 )2
exp
2
2
2 R0
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
O = K I + a + N (I ) + K M I M I + K I I I
Mean value of output for a batch of elements
2
2
2
2
O 2
O
O
O
O
2
2
2
I2M +
I2I +
O =
I +
I K +
a + L
K
a
I
I M
I I
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Calibration
Calibration
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Calibration
Ideal output
O = On = K1 K2 K3 Ki KnI
E = (K1K2K3Kn -1)
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Example
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
10
Example
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
11
Summary of calculation
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Error band
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
12
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Closed-loop
Dynamic characteristics of
measurement systems
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
13
W = U A(TF T ) watts
d
[T T (0 )]
dt
dT
dt
i.e.
kg J kg -10 C -1
J
=
= secs
- 2 0 -1
2
W
W m C m
MC dT
+ T = TF
UA dt
First order linear differential equation
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
dT
+ T = TF Linear first order diff. eq.
dt
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Laplace transform
f (s ) = e st f (t ) dt
[sT (s ) T (0 )]+ T (s ) = TF (s )
At initial conditions
equal zero
sT (s ) + T (s ) = TF (s )
i.e.
( s + 1)T (s ) = TF (s )
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
14
Transfer function
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Vin V = iR
d q Cd V
Charge q = CV , current i =
=
dt
dt
dV
+ V = VIN
RC
dt
i.e.
dV
+ V = VIN , E = RC
dt
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
FIN F =
dx
dt
displacement x =
F
, k Nm 1 = spring stiffness
k
dF
+ F = FIN
k dt
dF
M
+ F = FIN , M =
dt
k
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
15
Thermal Th =
Mechanical M =
= RM C M ; RM = , CM =
1
k
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
F = F F (0 ), x = x x(0 )
x& = x& ,
x = &x&
m d 2 x dx
1
+
+ x = F
2
k dt
k dt
k
=
k
rad / sec
m
Undamped
natural
frequency
n =
n2
1 2 2
1
s + 1 x (s ) = F (s )
2s +
k
n
n
2 km
x (s ) 1
= G (s )
F (s ) k
Damping
ratio
1 d 2 x 2 dx
1
+
+ x = F
n2 dt 2 n dt
k
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Linear second
order differential
equation
G (s ) =
n2
1
2
s +
s +1
2
Transfer function
for a second-order
element
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
16
f 0 (s ) = G (s ) f i (s ) =
where =
( = charge on the capacitance)
thus
2
1
+
+ =
2
(1 + s )s
f 0 (s ) =
(1 + s )s (1 + s )
B
s
B=1, A=-t
f 0 (s ) =
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
(1 + s )s
1
1
s (s + 1 / )
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
t
f 0 (s ) = 1 exp
G (s ) =
n2
Output signal
due to a unit
step input
0.8
0.4
Expressing in
Partial functions
0.2
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
1
2
s +
s +1
2
f 0 (s ) =
1
1 2 2
2s +
s + 1 s
n
n
f 0 (s ) =
As + B
C
+
1 2 2
s
2 s +
s + 1
n
n
0.6
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
17
f 0 (s ) =
=
(s + 2 n )
1
s s 2 + 2 n s + n2
(s + 2 n )
1
s (s + n )2 + n2 1 2
f 0 (t ) = 1 e nt cos n 1 2 t +
(s + n )
n
1
=
2
2
2
2
s (s + n ) + n 1
(s + n ) + n2 1 2
n
1
1
f 0 (s ) =
s s + n (s + n )2
f 0 (t ) = 1 e n t cosh n
(1 )
1 t +
sin n 1 2 t
(1 )
2
sinh n
1 t
f 0 (t ) = 1 e nt (1 + n t )
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
1
I
(1 + s ) s 2 + 2
A
Bs + c
f 0 (s ) =
+
(1 + s ) s 2 + 2
I
I
I
, B=
, C=
2 2
)
(1 + 2 2 )
(1 + 2 2 )
f 0 (s ) =
1
I
2 I
s +
+
2 2
2 2
(1 + ) (1 + s ) (1 + ) s 2 + 2
(1 +
1
I
+
2 2
) (1 + s )
(1 +
1
2 I
(1 + 2 2 ) (1 + s ) +
(1 +
2)
A=
(1 +
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
(1 +
+s
s2 + 2
(1 +
cos + s sin
s2 + 2
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
18
Bode Diagram
2)
, sin =
I
e t / +
2 2
4
11+4
244
3
f 0 (s ) =
Transient term
(1 +
2)
sin (t + )
Magnitude (dB)
(1 +
1 + 2 2
1444
424444
3
Sinusoidal term
-10
-20
-30
-40
0
Phase (deg)
cos =
-45
-90
-2
10
-1
10
10
10
10
Frequency (rad/sec)
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
n2
1
2
s +
s +1
G ( j ) =
n2
10
Magnitude (dB)
( j )
2
( j ) + 1
n
G ( j ) =
Bode Diagram
20
0
-10
1
2 2
2
1 2 4 2 2
n
n
-20
2 / n
arg G ( j ) = tan 1
2
2
1 / n
-30
-40
0
-45
Phase (deg)
G (s ) =
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
-90
-135
-180
-1
10
10
Frequency (rad/sec)
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
19
K1G1(s)
Input i.e.
true signal
O2 (s )
O1 (s ) = I 2 (s )
K2G2(s)
2
I i ( s )
Oi (s )
KiGi(s)
3
O (s )
I n (s )
KnGn(s)
4
E (t ) = O(t ) I (t )
Output i.e.
measured
signal
O (s )
= G (s ) = G1 (s )G2 (s )L Gi (s )L Gn (s )
I (s )
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
(s ) = 20
1
1
1
1
2
s (1 + 10 s ) 1 + 10 4
1
s
1 +
200
1
A
B
Cs + D
= 20
4
(
)
+
s
s
0
.
1
s
+
10
(s + 200)2
E (t ) = TM (t ) TT (t )
= 20{ Ae 0.1t + Be 10 t Ee 200t (1 + 200t )}
4
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
20
Periodic Functions
I (t ) = I sin t
G ( j ) =
A function f(t) is said to be periodic it is defined for all real t and if there is some
positive number p such that
f (t + p ) = f (t )
G ( j ) =1 =
)(
5 2
0.10
f (t + np) = f (t )
+ 10 ]}
for all t
h(t ) = af (t ) + bg (t )
(a,b constant)
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Periodic Signals
Integrating the series term by term over one period f(t), we obtain
f (t ) = a 0 + a1 cos 0 t + a 2 cos 2 0 t + L
+ b1 sin 0 t + b2 sin 2 0 t + L
f (t ) dt = a dt + a cos t dt + a cos 2 t dt + L
0
T0
T0
T0
n =1
n=2
f (t ) = a 0 + a n cos n 0 t + bn sin n 0 t
<t <
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
T0
+ b1 sin 0 t dt + b2 sin 2 0 t dt + L
where
T0
T0
a0 =
1
T0
f (t ) dt
T0
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
21
Multiplying both sides by cos mw0t and integrating over a period of f(t),
we obtain
The first term integrates to zero. We multiply each term of the series
in parentheses by cos w0t and integrate term by term to obtain
f (t )cos m t dt = a cos m t dt
0
T0
T0
+ a n cos n 0 t cos m 0 t dt
T0 n =1
+ bn sin n 0 t cos m 0 t dt
T0 n =1
n =1
T0
T0
+ bn sin n 0 t cos m 0 t dt
n =1
T0
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
0, m n
I 1 = sin m 0 t sin n 0 t dt =
T0 / 2, m = n 0
T0
0, m n
I 2 = cos m 0 t cos n 0 t dt =
T
/
2
0 , m=n0
T0
and
f (t ) cos m t dt = a
0
T0
T0
2
am =
2
T0
f (t )cos m t dt ,
0
m0
T0
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
bm =
2
T0
f (t )sin m t dt
0
T0
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
22
Example
Example Contd
Recalling that w0=2p/T0, we see that
T0
A 0<t < 2
f (t ) =
T
A 0 < t < T0
2
and
2
T0
T0 / 2
T0
2
A cos m t dt + T ( A)cos m t dt
0
bm =
0 T0 / 2
m0T0
= sin m = 0
2
am =
sin
(1)
T0 / 2
T0
2 A sin m 0t
sin m0t
T0 m0 0
m 0 T / 2
0
2
T0
T0 / 2
T0
2
A sin m t dt + T ( A)sin m t dt
0
0 T0 / 2
T0 / 2
T0
2 A cos m0t
cos m0t
=
+
T0
m0 0
m0 T / 2
0
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Example Contd
Example Contd
bm =
2A
(1 cos m )
T0
which results because cos 2mp = 1. Finally, since cos mp=-1 for
m odd and cos mp = 1 for m even, we obtain
f (t ) =
4A
1
1
4A
, m odd
bm = m
0,
m even
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
23
Periodic Signals
n =
n=
n =1
n =1
I (t ) = In sin n1t
n =1
n=
2 +T / 2
an =
f (t ) cos n1t dt
T T / 2
2 +T / 2
bn =
f (t )sin n1t dt
T T / 2
1 +T / 2
a0 =
f (t ) dt = average value of f (t ) over T
T T / 2
n =1
n =
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Excitation
= 0
= 20
Excitation
= 0
Response
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
= 20
= 3 0
Response
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
24
Excitation
=
0
2
= 0
3 0
2
80
1
1
1
G ( j ) 0.100,
G (3 j ) 0.033,
G (5 j ) 0.020,
G (7 j ) 0.014
Response
TM (t ) =
80
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Y (s ) =
Y (s ) =
(s + 2 )(s + 4 )
s(s + 1)(s + 3)
C1 C2
C
+
+ 3
s s +1 s + 3
(s + 2 )(s + 4) = 8
(s + 1)(s + 3) s =0 3
(s + 2 )(s + 4) = 3
C2 =
s (s + 3) s = 1
2
(s + 2)(s + 4) = 1
C3 =
s (s + 1) s = 3
6
C1 =
8
3
1
y(t ) = 1(t ) e t 1(t ) e 3t 1(t )
3
2
6
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
F (s ) =
C1 = sF (s ) s =0 = 1
1
s s + s +1
(s
C C s + C3
F (s ) = 1 + 22
s s + s +1
f (t ) = 1 e t / 2 cos
+ s + 1 + (C2 s + C3 )s = 1
s + 12 + 12
1
F (s ) =
s (s + 12 )2 + 34
3
4
1 t / 2
e sin
3
3
4
t 1(t )
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
25
Example 2
F (s ) =
C1 = (s + 1)F (s ) s = 1 =
s+3
(s + 1)(s + 2)2
F (s ) =
C1
C
C3
+ 2 +
s + 1 s + 2 (s + 2 )2
C2 =
=2
d
(s + 2)2 F (s ) = 2
ds
s = 2
C3 = ( s + 2 ) F ( s )
s+3
(s + 2)2 s =1
s = 2
s+3
=
= 1
s + 1 s = 2
G (s ) =
Pout (s )
1
=
Pin (s ) 2s + 1
Pin bar 10
-1
T second
f (t ) = 2e t 2e 2t te 2 t 1(t )
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Signals
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
26
y=
1
T0
y(t )dt
T0
y=
Mean for
continuous signal
2 =
1
T0
Mean for
sampled signal
T0
[y(t ) y] dt
2
2 =
1 i=N
yi
N i =1
1 i =N
2
( yi y )
N i=1
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
or
y =0
yrms =
yrms =
1 T0 2
y dt
T0 0
1 i=N 2
yi
T0 i =1
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
27
C j = P1 + P2 + L + Pj
The cumulative
probability
The probability
1
(n1 + n2 + L + n j )
N
1
Cm = (n1 + n2 + L + nm )
N
1
= N = 1 (since n1 + n2 + L + nm = N )
N
=
Pj =
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Py, y +y = P = p( y )y
P( y ) = lim C j
p( y ) =
y0
Cumulative probability
distribution function
dP
dy
Probability density
function
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Py1 , y2 = p( y )d y
y2
y1
p( y ) =
( y y )2
1
exp
2 2
2
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
28
an =
bn =
n=
n =
n=1
n=1
i= N
i= N
2
N
y cos(n iT ) = N y cos 2n N
2
N
y sin (n iT ) = N y sin 2n N
i =1
i =1
i= N
i= N
i =1
i =1
1 = 2Indrawanto,
/ T0 , a0 FTMD-ITB,
= mean y
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Power Spectrum
wn = 12 an2 + bn2
Wn = w0 + w1 + w2 + L + wn
Cumulative power
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
W ( ) = lim Wn
(w) =
1 0
dW
d
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
29
Autocorrelation function
1
T0
= b 2 lim
1
T0
T0
T0
A Simple Correlator
1
T0 T
0
Ryy ( ) = lim
T0
Ryy ( ) =
Autocorrelation
function of a
continuous signal
T0
0
T0
b2
1
cos 1 lim
T0 T
2
0
T0
dt
b2
1
lim
2 T0 T0
T0
= b cos 1
2
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
= mT , m = 0,1, 2,K
Ryy (mT ) = lim
1 i=N
yi yim
N i =1
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
Ryy ( ) =
b12
b2
b3
cos + 2 cos 2 + 3 cos 31
2
2
2
30
Summary
In order to specify a random signal we need to
know:
For random signals, Ryy() and () are related by the Fourier transform:
Ryy ( ) = ( )cos d
or
( ) =
Ryy ( ) cos d
meanand standarddeviation
or
To specify amplitude
behavior
either powerspectraldensity
To specify frequency/time
behavior
For a signal with () constant up to C and zero for higher frequencies then
C
sin
A cos d = A
0
0
sin C
=A
C
R yy ( ) =
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
R yy (0) = lim
T0
1
T0
T0
y 2dt = ( ) d
0
2
R yy (0) = y RMS
= WTOT
The autocorrelation
coefficient at zero
time delay
Indrawanto, FTMD-ITB,
Engineering Measurements, 2013
31