You are on page 1of 38

Dynamic Characteristics

Dynamic characteristics tell us about how well a sensor


responds to changes in its input. For dynamic signals, the sensor or
the measurement system must be able to respond fast enough to keep
up with the input signals.

Input signal
x(t)

Sensor
or
system

Output signal
y(t)

In many situations, we must use y(t) to infer x(t), therefore a


qualitative understanding of the operation that the sensor or
measurement system performs is imperative to understanding the
input signal correctly.

General Model For A Measurement System


nth Order ordinary linear differential equation with constant coefficient
d m 1 x (t )
dx (t )
d n 1 y (t )
dy (t )
d m x (t )
d n y (t )
+
+
L
+
+
(
)
=
+
+
L
+
b
+ b0 x (t )
a
a
a
y
t
b
b
an
n

m
m

1
1
0
1
1
n
n 1
m
m 1
dt
dt
dt
dt
dt
dt

mn
y(t)
x(t)
t
as and bs

F(t) = forcing function

Where

= output from the system


= input to the system
= time
= system physical parameters, assumed constant

y(0)
The solution

x(t)

Measurement
system

y(t)

y (t ) = y ocf + y opi

Where 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 + ... + a1 D + a0 = 0

Roots of the characteristic equation:

D = s1 , s2 ,..., sn

Complementary-function solution:
Ce st

1. Real roots, unrepeated:


2. Real roots, repeated:
each root s which appear p times
3. Complex roots, unrepeated:
the complex form: a ib

(C

2
p 1
st
+
C
t
+
C
t
+
...
+
C
t
e
)
0
1
2
p 1

Ce at sin(bt + )
[C0 sin(bt + 0 ) + C1t sin(bt + 1 ) + C2t 2 sin(bt + 2 )

4. Complex roots, repeated:


each pair of complex root which appear p times

+ ... + C p 1t p 1 sin(bt + p 1 )]e at

Particular Solution
Method of undetermined coefficients:
y opi = Af (t ) + B f (t ) + C f (t ) + ...
Where f(t)
= the function that describes input quantity
A, B, C = constant which can be found by substituting yopi into ODEs

Important Notes

9 After a certain-order derivative, all higher derivatives are zero.


a certain-order derivative, all higher derivatives have the same
9 After
functional form as some lower-order derivatives.
2 Upon repeated differentiation, new functional forms continue to arise.

Zero-order Systems
All the as and bs other than a0 and b0 are zero.

y (t ) = Kx (t )

a0 y (t ) = b0 x(t )

where K = static sensitivity = b0/a0

The behavior is characterized by its static sensitivity, K and remains


constant regardless of input frequency (ideal dynamic characteristic).

xm
Vr

+
x=0

y=V
-

x
here, K = Vr / xm
V = Vr
xm
Where 0 x xm and Vr is a reference voltage

A linear potentiometer used as position


sensor is a zero-order sensor.

First-Order Systems
All the as and bs other than a1, a0 and b0 are zero.
a1

dy (t )
+ a 0 y (t ) = b0 x (t )
dt

dy (t )
+ y (t ) = Kx (t )
dt

y
K
(D) =
x
D + 1

Where K = b0/a0 is the static sensitivity


= a1/a0 is the systems time constant (dimension of time)

First-Order Systems

Surface
area A

Ti

Consider a thermometer based on a mass m =V


with specified heat C (J/kg.K), heat transmission
area A, and (convection heat transfer coefficient U
(W/m2.K).
(Heat in) (Heat out) = Energy stored

Assume no heat loss from the thermometer

Sensor
m, Ttf, C

UA(Ti Ttf )dt 0 = VCdTtf

VC
Thermometer based on a mass,m with
specified heat, C

dTtf
dt

+ UATtf = UATi

Therefore, we can immediately define K =1 and = VC/UA

dTif
dt

+ Tif = Ti

First-Order Systems: Step Response


Assume for t < 0, y = y0 , at time = 0 the input quantity, x increases instantly
by an amount A. Therefore t > 0
0 t 0
x(t ) = AU (t ) =
A t > 0

dy (t )
+ y (t ) = KAU (t )
dt
y (t ) = Ce t / + KA

The complete solution:


2

U(t)

yocf

Transient
response

yopi
Steady state
response

Applying the initial condition, we get C = y0-KA, thus


gives
0

-1

2
Time, t

y (t ) = KA + ( y0 KA)e t /

First-Order Systems: Step Response


Here, we define the term error fraction as
y (t ) KA y (t ) y ()
=
= e t /
y0 KA
y ( 0) y ( )

1.0

1.0

.8

.8
Error fraction, em

Output Signal, (y(t)-y0)/(KA-y0)

em (t ) =

0.632

.6

y (t ) y0
= 1 e t /
KA y0

.4

.6
.4

0.368

.2

.2
0.0

y (t ) KA
= e t /
y (0) KA

3
t/

0.0

3
t/

Non-dimensional step response of first-order instrument

Determination of Time constant


y (t ) KA
= e t /
y (0) KA

ln em = 2.3 log em =

1
y (t ) KA
= e t /
y (0) KA

0.368

Error fraction, em

em =

.1

Slope = -1/

.01

.001

3
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

Therefore
The complete solution:

t0
0
x(t ) =
q&is t t > 0
dy (t )
+ y (t ) = Kq&is tU (t )

dt
y (t ) = Ce t / + Kq&is (t )
Transient Steady state
response response

Applying the initial condition, gives


Measurement error

em = x(t )

y (t ) = Kq&is (e t / + t )
y (t )
= q&ise t / + q&is
K
Transient
error

Steady
state error

First-Order Systems: Ramp Response


10

Input x(t)

Output signal, y/K

y(t)/K

Steady state
time lag =

Steady state
error = q&is

2
0

10

t/

Non-dimensional ramp response of first-order instrument

First-Order Systems: Frequency Response


From the response of first-order system to sinusoidal inputs, x(t ) = A sin t
we have

dy
+ y = KA sin t
dt

The complete solution:

(D + 1) y(t ) = KA sin t

y (t ) = Ce t / +

KA
1 + ( )

Transient
response

sin t tan 1

Steady state
response

)
Frequency
response

If we do interest in only steady state response of the system, we can write the
equation in general form
y (t ) = Ce t / + B( ) sin[t + ( )]

B( ) =

KA

[1 + ( ) ]

2 1/ 2

( ) = tan 1

Where B() = amplitude of the steady state response and () = phase shift

First-Order Systems: Frequency Response


M ( ) =

The amplitude ratio

( ) 2 + 1

-2

-3 dB

.6

-4

.4

-6
-8
-10
Cutoff frequency

.1

-20
1

10

100

-20
Phase shift, ()

.8
0.707

( ) = tan 1 ( )

-10

Decibels (dB)

0.0
.01

The phase angle is


0

1.0

.2

Dynamic error

1.2

Amplitude ratio

M ( ) =

B
1
=
KA 1 + ( )2 1/ 2

-30
-40
-50
-60
-70
-80
-90
.01

.1

Frequency response of the first order system

10

100

Dynamic error, () = M() -1: a measure of an inability of a system to


adequately reconstruct the amplitude of the input for a particular frequency

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:
For = 2 rad/s: B (2 rad/s) =
A

y(t)/K

For = 20 rad/s: B (20 rad/s) =


A

K
21.8o = 0.93K 21.8o
0.16 + 1
K
76o = 0.24 K 76o
16 + 1

Therefore, we can write y(t) as


y (t ) = (1)(0.93K ) sin(2t 21.8o ) + (0.3)(0.24 K ) sin(20t 76o )
y (t ) = 0.93K sin(2t 21.8o ) + 0.072K sin(20t 76o )

Second-Order Systems
In general, a second-order measurement system subjected to arbitrary input, x(t)
2

a2

d y (t )
dy (t )
+
+ a0 y (t ) = b0 x(t )
a
1
2
dt
dt

D 2 2

2 +
D + 1 y (t ) = Kx(t )
n n

1 d 2 y (t ) 2 dy (t )
+
+ y (t ) = Kx(t )
2
2
n dt
n dt
The essential parameters
K=

b0
a0

a1
2 a0 a2

n =

a0
a2

= the static sensitivity


= the damping ratio, dimensionless
= the natural angular frequency

Second-Order Systems
Consider the characteristic equation
1 2 2
D +
D +1 = 0
2

n
n
This quadratic equation has two roots:

S1, 2 = n n 2 1

Depending on the value of , three forms of complementary solutions are possible


+ 2 1 t

Overdamped ( > 1):

yoc (t ) = C1e

Critically damped ( = 1):

yoc (t ) = C1e nt + C2te nt

Underdamped (< 1): :

yoc (t ) = Ce nt sin n 1 2 t +

+ C2 e

2 1 t

Second-Order Systems
Case I Underdamped (< 1):

Case 2 Overdamped ( > 1):

yHtL

S1, 2 = n n 2 1

S1, 2 = 2 1 n

= jd

Case 3 Critically damped ( = 1):

Ae

S1, 2 = n

sin(d t + )

yHtL

=1
>1
t

Second-order Systems
Example: The force-measuring spring
consider a spring with spring constant Ks under applied force fi
and the total mass M. At start, the scale is adjusted so that xo = 0
when fi = 0;
forces=(mass)(acceleration)

dxo
d 2 xo
fi B
K s xo = M
dt
dt 2
( MD 2 + BD + K s ) xo = f i
the second-order model:

K=

1
Ks

m/N

Ks
rad/s
M
B
=
2 Ks M

n =

Second-order Systems: Step Response


For a step input x(t)

D 2 2

2 +
D + 1 y (t ) = KAU (t )
n n

1 d 2 y 2 dy
+
+ y = KAU (t )
2
2
n dt
n dt

With the initial conditions: y = 0 at t = 0+, dy/dt = 0 at t = 0+

The complete solution:


Overdamped ( > 1):

+ 2 1 +
y (t )
=
e
2
KA
2 1

Critically damped ( = 1):

y (t )
= (1 + nt )e nt + 1
KA

Underdamped (< 1): :

y (t )
e nt
=
sin 1 2 nt + + 1
KA
1 2

2 1 n t

2 1
2 1
2

2 1 t

+1

= sin 1 1 2

Second-order Systems: Step Response


Ringing period

Output signal, y(t)/KA

2.0

Ringing frequency:

=0
0.25

1.5

d = n 1 2

Rise time decreases with but


increases ringing

0.5
1.0

Optimum settling time can be obtained


from ~ 0.7

.5

1.0

Practical systems use 0.6< <0.8

2.0
0.0

Td =

10

nt

Non-dimensional step response of second-order instrument

Second-order Systems: Step Response


1.4

overshoot

Output signal, y(t)/KA

1.2
100% 5%

1.0
.8
.6
.4

settling
time

.2
0.0

rise time

10

15

Time, t (s)
Typical response of the 2nd order system

20

Second-order Systems: Ramp Response


For a ramp input x(t ) = q&is tU (t )

1 d 2 y 2 dy
+
+ y = Kq&is tU (t )
2
2
n dt
n dt

With the initial conditions: y = dy/dt = 0 at t = 0+


The possible solutions:
Overdamped:

2q&is
y (t )
= q&is t
n
K

2 2 1 2 2 1
1 +
e

4 2 1

Critically damped:

Underdamped:

2q&
y (t )
= q&is t is
n
K
2q&is
y (t )
= q&is t
K
n

2 2 + 1 2 2 1
4 1
2

2 1 n t

+ 2 1 t

nt nt

1
(
1
)e

e nt
sin 1 2 nt +
1
2 1 2

2 1 2
= tan
2 2 1
1

Second-order Systems: Ramp Response


Steady state error =

Output signal, y(t)/K

10
8

6
4

= 0.3
1.0
2.0
0

Steady state
time lag = 2

Ramp input

2q&is

0.6

10

Time, t (s)

Typical ramp response of second-order instrument

Second-order Systems: Frequency Response


The response of a second-order to a sinusoidal input of the form x(t) = Asint
KA
y (t ) = yocf (t ) +
sin[t + ( )]
1/ 2
2 2
2
1 ( / n ) + (2 / n )

{[

where

( ) = tan 1

2
/ n n /

The steady state response of a second-order to a sinusoidal input


ysteady (t ) = B ( ) sin[t + ( )]

B( ) =

KA

{[1 ( / ) ] + (2 / ) }
2 2

1/ 2

( ) = tan 1

2
/ n n /

Where B() = amplitude of the steady state response and () = phase shift
M ( ) =

B
1
=
KA 1 ( / )2 2 + (2 / )2 1/ 2
n
n

{[

Second-order Systems: Frequency Response


The phase angle

The amplitude ratio


M ( ) =

( ) = tan 1

{[1 ( / ) ] + (2 / ) }
2 2

1/ 2

2
/ n n /

0.3

1.5

0.5

1.0

.5

3
0
-3
-6
-10
-15

1.0
2.0

0.0
.01

.1

1
/n

10

100

0 = 0.1

-20
Phase shift, ()

= 0.1

Decibel (dB)

Amplitude ratio

2.0

0.3

-40
-60
-80

0.5
1.0
2.0

-100
-120
-140
-160
-180
.01

.1

1
/n

Magnitude and Phase plot of second-order Instrument

10

100

Second-order Systems
For overdamped ( >1) or critical damped ( = 1), there is neither overshoot nor steadystate 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 / )

Rise time:

tr =

Maximum
overshoot:

M p = exp / 1 2

Peak time:

tp =

Resonance
frequency:

r = n 1 2 2

Resonance
amplitude:

Mr =

1
2

Output signal, y(t)/KA

1.2

2 1

Td

overshoot

1.0
.8
peak
time

.6
.4

settling
time

.2

rise time

0.0

where = n , d = n 1 2 , and = arcsin( 1 2 )

10
Time, t (s)

15

20

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 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.

Transfer Function: a simple, concise and complete way of describing the sensor
or system performance

H(s) = Y(s)/X(s)
where Y(s) and X(s) are the Laplace Transforms of the input and output respectively.
Sometimes, the transfer function is displayed graphically as magnitude and phase
plots VS frequency (Bode plot).

Dynamic Characteristics
Frequency Response describe how the ratio of output and input changes
with the input frequency. (sinusoidal input)

Dynamic error, () = M() - 1 a measure of the inability of a system or sensor


to adequately reconstruct the amplitude of the input for a particular frequency

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.

tr

0.35
fc

Dynamic Characteristics
Example: A first order instrument is to measure signals with frequency content up to 100 Hz with
an inaccuracy of 5%. What is the maximum allowable time constant? What will be the phase shift
at 50 and 100 Hz?

Solution: Define

M ( ) =

2 2 + 1

1 100%
Dynamic error = (M ( ) 1) 100% =
2 2
+1
1
0
.
95

1.05
From the condition |Dynamic error| < 5%, it implies that
2 2
+1
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

Solve this inequality give the range

+1
0 0.33
2 2

The largest allowable time constant for the input frequency 100 Hz is =
The phase shift at 50 and 100 Hz can be found from

= arctan

This give = -9.33o and = -18.19o at 50 and 100 Hz respectively

0.33
= 0.52 ms
2 100 Hz

Dynamic Characteristics

Amplitude ratio M()

1.05
0.95

M() 0.95 region or


() 0.05 region

Dynamic Characteristics
Example: A temperature measuring system, with a time constant 2 s, is used to
measured temperature of a heating medium, which changes sinusoidal between 350
and 300oC with a periodic of 20 s. find the maximum and minimum values of
temperature, as indicated by the measuring system and the time lag between the output
and input signals
2
Solution: y (t ) = 325 + 21.2 sin( t 0.56) o C
60

x(t), y(t)

x(t)
350oC

350oC

325oC

325oC

300oC

300oC

TL

Dynamic Characteristics
Example: The approximate time constant of a thermometer is determined by immersing
it in a bath and noting the time it takes to reach 63% of the final reading. If the result is
28 s, determine the delay when measuring the temperature of a bath that is periodically
changing 2 times per minute.
t d = 6.7s

Dynamic Characteristics
Example: A pressure transducer has a natural frequency of 30 rad/s, damping ratio of
0.1 and static sensitivity of 1.0 V/Pa. A step pressure input of 8x105 N/m2 is applied.
Determine the output of a transducer.
Solution:

y (t ) = 0.8[1 e 3t sin( 29.85t + 1.47)] V

Example: A second order instrument is subjected to a sinusoidal input. Undamped


natural frequency is 3 Hz and damping ratio is 0.5. Calculate the amplitude ratio and
phase angle for an input frequency of 2 Hz.
Solution:

Amplitude ratio y(t)/x(t) = 1.152 and phase shifts 50.2o.

Dynamic Characteristics
Example: An Accelerometer is to selected to measure a time-dependent motion. In particular,
input signal frequencies below 100 Hz are of prime interest. Select a set of acceptable parameter
specifications for the instrument, assuming a dynamic error of 5% and damping ratio =0.7
n 1047 rad/s

Amplitude ratio M()

Amplitude ratio M()

Solution:

1.05
0.95

/ n

1.05
0.95

/ n

Response of a General Form of System to a Periodic Input


The steady state response of any linear system to the complex periodic
signal can be determined using the frequency response technique and
principle of superposition.
Let x(t)

x(t ) = A0 + ( An cos n0t + Bn sin n0t )


n =1

The frequency response of the measurement system

y (t ) = KA0 +
n =1

An2 + Bn2 KM (n0 ) sin (n0t + M (n0 ) + n (n0 ) )

Where KM() = Magnitude of the frequency response of the measurement


system and
M() = Phase shift = tan-1(An/Bn)

Response of a General Form of System of a Periodic Input


yHt L

xHt L

x(t)

Linear
system

y(t)

|KM()|

|x()|

|Y()|

0
n

20 30 40 50

20 30 40 50

Y()

Response of a General Form of System to a Periodic Input


Example: If qi(t) as shown in Figure below is the input to a first-order system with a
sensitivity of 1 and a time constant of 0.001 s, find Qo(i) and qo(t) for the periodic
steady state.
qi(t)

1
Qo (i ) =
n =1 n

+1
-0.02

-0.01

0.01

0.02

t, sec

-1

1
qo (t ) =
n =1 n

qoH tL

n=7
n=5
n=3

0.5

0.01

-1

n
2
( n o ) + 1
1

Where n = odd number

sin(n ot + n ) and n
2

( n o ) + 1

= arctan(n o )

qoH tL

-0.5

0.02

0.03

0.04

n = 25

0.5

0.01
-0.5
-1

0.02

0.03

0.04

You might also like