Topics_4_filled
Topics_4_filled
Chapter 5
Sensor Dynamics
• Thus far we were only considering static or slow varying measurements, i.e., the
reading from the sensor is recorded after it has reached a steady state value.
• The completion of this topic will help you answer the following questions:
V0(t)
Vs
T(t)
Ts
ME 7203 109
R2
+Vs
Vin R1
- Vo
+
-Vs
ME 7203 110
R2
C +Vs
Vin R1
- Vo
+
-Vs
R2
C2
C1 +Vs
Vin R1
- Vo
+
-Vs
ME 7203 111
• However for dynamic measurement applications, linear sensors (more specifically sen-
sors having linear time invariant (LTI) models) are highly recommended. Reasons
being:
a. The system input x(t) and output y(t) relationship can be described using a
linear ordinary differential equation.
dn y dy dx d2 x dm x
an + · · · + a 1 + a 0 y = b0 x + b1 + b2 + · · · + bm (49)
dtn dt dt dt2 dtm
b. As a result the system can be described mathematically as a transfer function
G(s).
an sn + · · · + a1 s + a0 Y (s) = b0 + b1 s + b2 s2 + · · · + bm sm X(s)
Y (s) b0 + b1 s + b2 s2 + · · · + bm sm (50)
G(s) = = 2 n
X(s) a0 + a1 s + a2 s + · · · + an s
The order of the system is the highest power of s of the denominator polynomial.
c. Input and output waveforms have the same frequency content.
d. The system can be graphically represented as a bode plot (frequency response).
e. Variety of mathematical tools from control theory are available for design and
analysis. e.g., root locus, bode diagram, transient response, Fourier transforms
etc.
ME 7203 112
• For the dynamic case a sensor should satisfy the condition of superposition for it to
be considered as a linear sensor.
x1(t) y1(t)
LTI system
t t
y2(t)
x2(t)
LTI system t
t
• A real life sensor or system is never linear. It can only be approximated to a linear
system for a given operating range.
ME 7203 113
• For a linear sensor the output can be easily found using the sensor‘s frequency re-
sponse.
• The frequency response of a sensor includes the magnitude response M (ω), and the
phase response φ(ω). These dictate what happens to the amplitude A and phase φ0
of the signal at the output respectively. i.e.,
• The frequency response of a sensor dictates what happens to each of these constituent
signals (An sin(nωt + φn )) as a result of the sensor.
∞
X
y(t) = M (nω)An sin(nωt + φn + φ(nω)) (54)
n=0
• The individual frequency responses add together to form the output of the sensor y(t).
This combination is mathematically equivalent to the inverse Fourier transform.
ME 7203 115
x(t)
y(t) 20 log M(ω)
y(t)
K
1 20 log K
t ω
τ
System step response System Bode Magnitude plot
y(t) ɸ(ω)
+900
KA
A
t ω
-900
System Sinosoidal response System Bode phase plot
ME 7203 116
• First order sensors : The systems response is characterized by its time constant τ .
The transfer function has a denominator polynomial with s terms with highest power
1.
−t
τ ẏ + y = Kx y(t) = K(1 − e τ ) y(t) = T.R. + M ASin(ωt + φ)
Y (s) K K
= M (ω) = 1
X(s) τs + 1
1 + (ωτ )2
2
x(t)
y(t) 20 log M(ω)
y(t)
K
63%
1 20 log K
t 1/τ
ω
τ
System step response System Bode Magnitude plot
y(t) ɸ(ω)
+900
AM(ω)
A
ϕ
t 1/τ ω
-900
System Sinosoidal response System Bode phase plot
ME 7203 117
.5 1 1.5
t(s)
y(t)
• Second order sensors : The systems response is characterized by its natural frequncy
ωn and the damping ratio ζ. The transfer function has a denominator polynomial
with s terms with highest power 2.
x(t)
y(t) ζ=.25
ζ=0.5
20 log M(ω)
y(t)
K
ζ=.25
ζ=1
1 20 log K ζ=.5
ζ=1
t ωd ω
τ
System step response System Bode Magnitude plot
y(t) ɸ(ω)
+1800
AM(ω)
A
ϕ
t ωd ω
ζ=.25
-1800 ζ=1
20 log M(ω)
Magnitude Error
20 log K
1/τ ω
• The amplitudes of frequencies of the input signal x(t) are amplified or attenuated at
the output of a sensor.
• Amplitude distortion occurs when some frequencies are amplified at a different sen-
sitivity than of the flat region.
• Flat frequency response is necessary for frequency reproduction. e.g. For a vibration
measurement application, a flat response ensures that an accelerometer capture all
modes of vibration and their amplitudes without distortion.
• For first order systems the amplitude distortion is close to −30% for an input signal
of frequency τ1 rad/s. This is also termed as dynamic errors.
2. What is the expected maximum dynamic error of the sensor for an input
sinusoidal signal with a frequency of 500 Hz.
3. The input pressure signal x(t) to the sensor can be expressed as x(t) =
sin(200πt) + sin(1000πt). Compute the output signal y(t) of the sensor for
the above signal.
ME 7203 122
ME 7203 123
fs ≥ 2fm (55)
• The maximum frequency that can be measured using a signal which is sampled at a
frequency of fs is defined as the Nyquist frequency fN
fs
fN = (56)
2
• All frequencies above fN appear as aliases in the measured signal. The folding dia-
gram is used to identify the aliasing frequencies.
ME 7203 124
• In order to minimize the aliasing effect, we should low pass filter the measured signal
such that signals above fN are attenuated.
[4] Lye, L., Design and Analysis of Experiments, DOE Course notes, 2015.
[6] Analog Devices 335 3 axis accelerometer datasheet, Analog Devices, 2015. URL:
adxl335.pdf
[7] Temperature probes: How to choose the right temperature sensor type, Omega Inc. 2018.
URL: thermocouple-RTD.html