Professional Documents
Culture Documents
2-1
2. Measurement System Behaviour
Static Specifications
Dynamic Specifications and Analysis
Measurement System Model
Zero-order sensors
First-order sensors
Second-order sensors
Instrumentation and Sensors Prof XiaoQi Chen
2-2
STATIC SPECIFICATIONS
Sensor specifications
Instrumentation and Sensors Prof XiaoQi Chen
2-3
Static Specifications
The properties of the system after all transient
effects have settled to their final or steady state.
Resolution
Precision
Accuracy
Errors: systematic errors, random errors
Sensitivity
Hysteresis
Drift
Linearity
Range
Others
Instrumentation and Sensors Prof XiaoQi Chen
2-4
Resolution
The minimal change of the measurand value necessary to produce a detectable
change at the output.
Resolution depends on mechatronic applications
In motion control, position is often measured using an optical encoder, which
output in counts. A 1000-count encoder means that the encoder will output
1000 counts in one complete revolution without interpolation.
In vision systems, which resolution is given in the pixel counts in the horizontal
and vertical direction, e.g. A 768 x 576 CCD camera, and typically, the intensity
of each pixel is 0 to 255 for a grey-level camera.
Instrumentation and Sensors Prof XiaoQi Chen
2-5
Resolution
Resolution due to quantization (ADC)
The smallest change in the analog input is determined by the number of bits in
ADC, e.g. 8-bit resolution means there are 256 steps in the output. Note: both
Full-Scale/2^n and FS / (2^n-1) appear in difference references book. (ref to
the course reading paper). The difference is negligible when ADC has a good
resolution.
E.g., a voltage sensor with analog-to-digital convertor outputs an 8-bit number
for 0 to 5 V, resolution of 20 mV
mV 20
255
5
1 2
5
8
~ =
= =
o
downscale upscale
o
h
h
r
y y
r
e
e
Instrumentation and Sensors Prof XiaoQi Chen
2-21
Linearity
Linearity Plot of sensors input and output response is linear
If inputs x and y result in outputs f(x) and f(y)
Then for any a and b
The closeness of the calibration curve to a specified straight line
(i.e., theoretical behaviour, least-squares fit), normally desired
Nonlinearity, a measure of the deviation of the two curves, usually
expressed as a percentage of span
Most sensors should have good linearity around the typical operating
point which is usually in the middle of the span
Nonlinearities often manifested as some peculiar specifications, such
as saturation and hysteresis
Instrumentation and Sensors Prof XiaoQi Chen
2-22
Linearity Error
Difference between measured value y(x) and linear curve fit
y
L
(x).
Expressed as a % of FSO
Nonlinearity in a Ultrasonic Sensor
100 %
) ( ) (
) (
max
max
) (
1 0
=
=
+ =
o
L
L
x L L
L
r
e
e
y x y x e
x a a x y
Instrumentation and Sensors Prof XiaoQi Chen
2-23
Types of Errors
Overall error: square root of the sum of squares
of all known errors.
2 / 1
1
2
) (
=
=
M
i
i c
e u
Instrumentation and Sensors Prof XiaoQi Chen
2-24
Range
Range (Span)
A dynamic range of stimuli which may be converted by a sensor
Represents the highest possible input which can be applied to the
sensor without causing unacceptably large inaccuracy
Full Scale Output, or FSO
The algebraic difference between the electrical output signals
measured with maximum input stimulus and the lowest input stimulus
applied.
Dynamic range
Measure of spread between the lower and upper limits of input
values to the sensor while maintaining normal operation
Ratio of maximum input value to minimum input value
Measured in decibels (10 times the common logarithm)
E.g., sensor for motor current between 1 mA to 20 Amps
dB 43
001 . 0
20
log 10 =
|
.
|
\
|
min max
y y r FSO
o
= =
Instrumentation and Sensors Prof XiaoQi Chen
2-25
Other Static Specifications
Sensitivity to Disturbance
All calibrations and specifications of a sensor are only valid under
controlled conditions of temperature, pressure, humidity, etc
Sensitivity to Disturbance is a measure of the magnitude of change of
sensor output with respect to the change in ambient conditions
Cross-Sensitivity
Sensitivity to environmental parameters orthogonal to the target
parameters
E.g., a flux-gate compass sensitive to ferrous building materials and
not useful indoors
Generally undesirable
Output impedance
Important for proper interface between the sensor and the interface
electronic circuit
Instrumentation and Sensors Prof XiaoQi Chen
2-26
Example - specifications for a typical
pressure sensor
(Full Scale Output)
Know measurement uncertainties when the errors are inherent !
Instrumentation and Sensors Prof XiaoQi Chen
2-27
DYNAMIC SPECIFICATIONS AND ANALYSIS
Measurement System Model
Zero order sensors
First order sensors
Second order sensors
Instrumentation and Sensors Prof XiaoQi Chen
2-28
Dynamic Specifications and Analysis
The properties of the system transient response to an input
Dealing with sensor response to varying input signals
Originating from the presence of energy-storing elements in the
sensor
Inertial: masses, inductances
Capacitances: thermal, electrical
Instrumentation and Sensors Prof XiaoQi Chen
2-29
Dynamic specifications and analysis
Determined by analyzing the response of the sensor to various
inputs
Impulse, step, ramp, sinusoidal, white noise
Sensor response can be characterised by
speed, e.g. rise time, delay time or peak time
parameters that represent damping, e.g. overshoot, settling time, or
steady-state error
Instrumentation and Sensors Prof XiaoQi Chen
2-30
Measurement System Model
(input-x, output-y)
The dynamic response of the sensor is (typically) assumed to be
linear
Sensor modelled as a constant-coefficient linear differential
equation. Sensor output y is related to sensor input x:
Zero (k=0), first (k=1) and second (k=2) order systems are
considered in practice
Laplace transform results in a transfer function relating input and
output
) ( ) (
) ( ) ( ) (
0 1
2
2
2
t x t y a
dt
t dy
a
dt
t y d
a
dt
t y d
a
k
k
k
= + + + +
) ( ) ( ) (
0 1
2
2
s X s Y a s a s a s a
k
k
= + + + +
0 1
2
2
1
) (
) (
) (
a s a s a s a s X
s Y
s G
k
k
+ + + +
= =
> =
s =
0 t ) (
0 t 0 ) (
A t x
t x
KA t y
dt
t dy
= + ) (
) (
t
t /
0
) ( ) (
t
e KA y KA t y
+ =
Time
response
Steady
response
Transient
response
Instrumentation and Sensors Prof XiaoQi Chen
2-35
First-order sensors
step input
As t approaches infinity, y
approaches KA.
Re-write the response equation in
the form:
The term I(t) is called the error
fraction of the output signal.
A time equivalent to 2.3t is
required to achieve 90% of the
applied step input for a first-order
system.
t /
0
) (
) (
t
e
y y
y t y
t
= + T t T
dt
t dT
hA
mc
s
v
) (
) (
C T C T = =
37 re temperatu state steady and ; 20
0
C] [ 17 37 ) (
/
=
t t
e t T
What is the time constant?
How sensor parameters affect the
sensor response?
Instrumentation and Sensors Prof XiaoQi Chen
2-38
First-order sensors sine function input
et e
et
e
e e e
et e
et
e t
e
t
t
1
2
/
0
1
2
/
tan ) (
) ( 1 (
) (
)] ( sin[ ) ( ) (
written - re , y on depends C where
) tan sin(
) ( 1 (
) (
sin ) (
) (
sin ) (
= u
+
=
u + + =
+
+ =
= +
=
KA
B
t B Ce t y
t
KA
Ce t y
t KA t y
dt
t dy
t A t x
t
t
Where B represents the amplitude of the
steady response and u represents the phase
shift. The phase shift causes time delay
time of units in delay time the ,
) (
where
)] ( sin[ ) ( ) (
1
1
/
e
e
|
| e e
t
u
=
+ + =
t B Ce t y
t
Relationship between a sinusoidal
input and the sensor output
Instrumentation and Sensors Prof XiaoQi Chen
2-39
First-order sensors
sine function input
Define magnitude ratio, M, as the ratio of
the output signal amplitude to the input
signal amplitude
For the first-order system, the frequency
bandwidth is defined traditionally as the
frequency band over which M>0.707; in
terms of the decibel:
It is the band of frequencies within which
M remains above -3 dB
The functions M and u represent the
frequency response of the measurement
system to periodic inputs
2
) ( 1 (
1 ) (
) (
et
e
e
+
= =
KA
B
M
) ( log 20 e M dB =
Instrumentation and Sensors Prof XiaoQi Chen
2-40
First Order Sensors
Example
A temperature sensor is to be selected to measure temperature within
a reaction vessel. It is suspected that the temperature will behave as a
simple period waveform with a frequency somewhere between 1 and 5
Hz. Consider the sensor as a first-order system and assume that a
dynamic error of +/2% is acceptable. Select a sensor with a suitable
time constant.
Instrumentation and Sensors Prof XiaoQi Chen
2-41
Second-order sensors
Inputs and outputs are related by a second-order differential
equation
We can express this second-order transfer function as
Where
k is the static gain
, is known as the damping ratio
e
n
is known as the natural frequency
) ( ) (
) ( 2 ) ( 1
2
2
2
t Kx t y
dt
t dy
dt
t dy
n n
= + +
e
e
Instrumentation and Sensors Prof XiaoQi Chen
2-42
Second-order sensors - step function response
Response types
Underdamped (,<1)
Critically damped (,=1)
Overdamped (,>1)
For underdamped systems, the transient response will be oscillatory
about the steady value and occurs at the ringing frequency
or with a period
Time constant
2
1 e e =
n d
d
d
T
e
t 2
=
n
e
t
1
=
Instrumentation and Sensors Prof XiaoQi Chen
2-43
Second-order sensors - step response
Response parameters
Rise time (t
r
)
The time required to achieve a
value within 90% of the step input
Settling time (t
s
)
The time required for a
measurement systems oscillation
to settle within +/-10% of the
steady value.
Time to peak (t
p
)
The time required for a
measurement systems oscillation
to reach the first peak
Peak overshoot (M
p
)
Instrumentation and Sensors Prof XiaoQi Chen
2-44
Second-order sensors
Example: Accelerometers are used in seismic and vibration engineering to
determine the motion of large bodies to which the accelerometer is
attached. The physical parameters are given below. Derive the natural
frequency and damping ratio of the accelerometer.
Instrumentation and Sensors Prof XiaoQi Chen
2-45
Second Order Sensors Sine Function Input
t KA t y
dt
t dy
dt
t dy
t A t x
n n
e
e
e
e
sin ) (
) ( 2 ) ( 1
sin ) (
2
2
2
= + +
=
2 / 1 2 2
2 / 1 2 2
2
1
} ] / 2 [ ] ) / ( 1 {[
1 ) (
) (
ratio Magnitude
} ] / 2 [ ] ) / ( 1 {[
) (
output state steady of amplitude
)
) / ( 1
) / 2
( tan ) ( shift phase
)] ( sin[ ) ( ) ( ) (
n n
n n
n
n
steady steady
KA
B
M
KA
B
t B t y t y
e e e e
e
e
e e e e
e
e e
e e
e
e e e
+
= =
+
=
= u
u + = =