Professional Documents
Culture Documents
Measurement and Instrumentation
Measurement and Instrumentation
Measurement and Instrumentation
x(t) y(t)
Measurement Where
system yocf = complementary-function part of solution
yopi = particular-integral part of solution
Complementary-Function Solution
The solution yocf is obtained by calculating the n roots of the algebraic characteristic
equation
Characteristic equation an D n an 1 D n 1 ... a1D a0 0
Complementary-function solution:
Important Notes
All the a’s and b’s other than a0 and b0 are zero.
a0 y( t ) b0 x( t ) y( t ) K x( t ) where K = static sensitivity = b0/a0
xm
x
V Vr here, K Vr / xm
Vr + xm
y=V Where 0 x xm and Vr is a reference voltage
x=0 -
All the a’s and b’s other than a1, a0 and b0 are zero.
dy (t )
a1 a0 y (t ) b0 x(t )
dt
dy (t ) y K
y (t ) Kx (t ) ( D)
dt x D 1
Where
K = b0/a0 is the static sensitivity or gain (in this case K=1)
= a1/a0 is the system’s time constant (in this case =mcp/hA dimension of time)
dT
T T
dt e t /
Multiplying by integrating factor
t dT 1 t 1 t
dv du d
e
Te T e
Note the form u v (uv)
dt dt dt dt
d t
1 t
T e T e
dt
d t 1 t Integrating both sides
dt Te dt T e dt
Te t T e t C........(iii ) C is the constant of integration whose
value is evaluated using the initial condition
at t 0, T To C To T
T T t
e .................(iv ) Substituting the value of C in eq. (iii)
To T
T To t
1 e ........(v) Alternatively eq.(iv) can also be written as (v)
T To
Heating and Cooling curves
• When a thermometer is suddenly placed into a different temperature environment,
the instrument temperature reading changes until the instrument temperature
reaches a steady-state (same temperature as the environment).
• This transient temperature measurement demonstrates the dynamic behavior of the
instrument.
• It is important to know how long it takes the instrument to reach steady-state so that
accurate temperature of the environment can be recorded at the appropriate time
interval.
First-Order Systems
All the a’s and b’s other than a1, a0 and b0 are zero.
dy (t )
a1 a0 y (t ) b0 x(t )
dt
dy (t ) y K
y (t ) Kx (t ) ( D)
dt x D 1
Where
K = b0/a0 is the static sensitivity or gain
yocf yopi
Transient Steady state
response response
U(t)
1.0 1.0
Output Signal, (y(t)-y0)/(KA-y0)
y (t ) KA
.8 .8 e t /
y (0) KA
Error fraction, em
.6 0.632 .6
y (t ) y0
.4 1 e t / .4 0.368
KA y0
.2 .2
0.0 0.0
0 1 2 3 4 5 0 1 2 3 4 5
t/ t/
Non-dimensional step response of first-order instrument
Determination of Time constant
y (t ) KA t
em e t / ln em 2.3 log em
y (0) KA
1
y (t ) KA
0.368 e t /
y (0) KA
Error fraction,em
.1
Slope = -1/
.01
.001
0 1 2 3 4 5
t
First-Order Systems: Ramp Response
Assume that at initial condition, both y and x = 0, at time = 0, the input quantity
start to change at a constant rate q is Thus, we have
0 t0
x(t )
q is t t 0
Therefore dy (t )
y (t ) Kq is tU (t )
dt
y (t )
Measurement error em x(t ) q ise t / q is
K
Transient Steady
error state error
First-Order Instrument: Ramp Response
10
6
Steady state
time lag =
4
Steady state
2 error = q is
0
0 2 4 6 8 10
t/
If we do interest in only steady state response of the system, we can write the
equation in general form
y (t ) Ce t / H ( ) sin t ( )
A
H ( )
1 ( ) 2 1/ 2
( ) tan 1
Where B() = amplitude of the steady state response and () = phase shift
First-Order Instrument: Frequency Response
H 1
M ( )
A 1 2 1/ 2
1
The amplitude ratio M ( ) The phase angle is ( ) tan 1 ( )
( ) 2 1
1.2 Dynamic error 0
-10
1.0 0
-20
.8 -30
Decibels (dB)
-2
-3 dB
0.707 -40
.6 -4
-50
-6
.4 -8 -60
-10 -70
.2 Cutoff frequency -80
-20
0.0 -90
.01 .1 1 10 100 .01 .1 1 10 100
Frequency response of the first order system
Frequency Response describe how the ratio of output and input changes
with the input frequency. (sinusoidal input)
Bandwidth the frequency band over which M() 0.707 (-3 dB in decibel unit)
Cutoff frequency: the frequency at which the system response has fallen to
0.707 (-3 dB) of the stable low frequency.
0.35
tr
fc
First-Order Systems: Frequency Response
Ex: Inadequate frequency response
Suppose we want to measure
x(t ) sin 2t 0.3 sin 20t
x(t) With a first-order instrument whose is 0.2 s and
static sensitivity K
Superposition concept:
K
For = 2 rad/s: B(2 rad/s) 21.8o 0.93K 21.8o
0.16 1
K
y(t)/K For = 20 rad/s: B (20 rad/s) 76o 0.24 K 76o
16 1
1
From the condition |Dynamic error| < 5%, it implies that 0 . 95 1.05
1
2 2
But for the first order system, the term 1 / 2 2 1 can not be greater than 1 so that the
constrain becomes 1
0.95 1
1 2 2
2
d y (t ) dy (t ) ( j ) 2 2
a2 a a0 y (t ) b0 x(t ) j 1 y (t ) Kx(t )
n n
2
dt 2 1
dt
1 d 2 y (t ) 2 dy (t )
y (t ) Kx(t )
n dt
2 2
n dt
2 1 t 2 1 t
Overdamped ( > 1): yoc (t ) C1e n
C2 e n
S1, 2 n n 2 1 S1, 2 2 1 n
j d
Ae t
t
yt
1
S1, 2 n
sin(d t )
1
t
Second-order Systems
1 d 2 y 2 dy D 2 2
For a step input x(t) y KAU (t ) 2 D 1 y (t ) KAU (t )
n2 dt 2 n dt n n
y (t )
Critically damped ( = 1): (1 n t )e nt 1
KA
.5
1.0
2.0 Practical systems use 0.6< <0.8
0.0
0 2 4 6 8 10
nt
1.0 100% 5%
.8
.6
.4
settling
time
.2
rise time
0.0
0 5 10 15 20
Time, t (s)
Typical response of the 2nd order system
Second-order System: Ramp Response
1 d 2 y 2 dy
For a ramp input x(t ) q is tU (t ) yt
n2 dt 2 n dt
2 2 1 2 2 1 2 1 t
e n
4 1 2
y (t ) 2q nt nt
Critically damped: q is t is 1 (1 )e
K n 1
Underdamped:
y (t )
K
q is t
2q is
n
1
e nt
2 1 2
sin 1 2 nt
tan
2 1 2
1
2 2 1
Second-order Instrument: Step Response
2q is
Steady state error =
10 n
8 Steady
state 2
Output signal, y(t)/K Ramp input
time lag =
n
6
4 = 0.3
0.6
2 1.0
2.0
0
0 2 4 6 8 10
Time, t (s)
ysteady (t ) B ( ) sint ( )
KA 2
B ( ) ( ) tan 1
1 / 2 /
n
2 2
n
2
1/ 2
/ n n /
Where B() = amplitude of the steady state response and () = phase shift
B 1
M ( )
KA 1 / 2 2 2 / 2 1/ 2
n n
Second-order Instrument: Frequency Response
0
0 = 0.1
2.0 6 -20
= 0.1 0.3
-40 0.5
1.5 -60
3
Decibel (dB)
1.0
0.5
-80
1.0 0 -100 2.0
-3 -120
1.0
.5 -6 -140
-10
2.0 -15 -160
0.0 -180
.01 .1 1 10 100 .01 .1 1 10 100
n n
Magnitude and Phase plot of second-order Instrument
Second-order Systems
For overdamped ( >1) or critical damped ( = 1), there is neither overshoot nor steady-
state dynamic error in the response.
In an underdameped system ( < 1) the steady-state dynamic error is zero, but the speed
and overshoot in the transient are related.
1.4
arctan( d / ) overshoot Td
Rise time: tr
d 1.2
o
.8
Peak time: tp
d peak
.6 time
Resonance
r n 1 2 2 .4
frequency: settling
1 time
Resonance Mr .2
amplitude: 2 1 2
rise time
0.0
0 5 10 15 20
where = n , d n 1 2 , and arcsin( 1 2 ) Time, t (s)
Dynamic Characteristics
Speed of response: indicates how fast the sensor (measurement system) reacts
to changes in the input variable. (Step input)
Rise time: the length of time it takes the output to reach 10 to 90% of full response
when a step is applied to the input
Time constant: (1st order system) the time for the output to change by 63.2% of its
maximum possible change.
Settling time: the time it takes from the application of the input step until the output
has settled within a specific band of the final value.
Dead time: the length of time from the application of a step change at the input of
the sensor until the output begins to change
Frequency Response: Bode Plot
In electrical engineering and control theory, a Bode plot is a graph of the
frequency response of a system. It is usually a combination of
A Bode plot is a graph of the magnitude (in dB) or phase of the transfer function
versus frequency.
Of course we can easily program the transfer function into a computer to make such
plots, and for very complicated transfer functions this may be our only recourse.
But in many cases the key features of the plot can be quickly sketched by hand using
some simple rules that identify the impact of the poles and zeroes in shaping the
frequency response.
The advantage of this approach is the insight it provides on how thecircuit elements
influence the frequency response. This is especially important in the designof
frequency-selective circuits.
We will first consider how to generate Bode plots for simple poles, and then discuss
how to handle the general second-order response.
Before doing this, however, it may be helpful to review some properties of transfer
functions, the decibel scale, and properties of the log function.
Bel and desiBel (dB) scale
H(s)= 1/(s+1) H(s)= s/(s+1) RC=1