Chapter 1. ReadingAssignment-02
Chapter 1. ReadingAssignment-02
18.1 Range
18.2 Resolution
18.3 Sensitivity
18.4 Error
18.5 Repeatability
18.6 Linearity and Accuracy
18.7 Impedance
18.8 Nonlinearities
18.9 Static and Coulomb Friction
18.10 Eccentricity
18.11 Backlash
18.12 Saturation
18.13 Deadband
18.14 System Response
18.15 First-Order System Response
Joey Parker 18.16 Underdamped Second-Order System Response
University of Alabama 18.17 Frequency Response
Mechatronic systems use a variety of sensors and actuators to measure and manipulate mechanical,
electrical, and thermal systems. Sensors have many characteristics that affect their measurement capa-
bilities and their suitability for each application. Analog sensors have an output that is continuous over
a finite region of inputs. Examples of analog sensors include potentiometers, LVDTs (linear variable
differential transformers), load cells, and thermistors. Digital sensors have a fixed or countable number
of different output values. A common digital sensor often found in mechatronic systems is the incremental
encoder. An analog sensor output conditioned by an analog-to-digital converter (ADC) has the same
digital output characteristics, as seen in Fig. 18.1.
18.1 Range
The range (or span) of a sensor is the difference between the minimum (or most negative) and maximum
inputs that will give a valid output. Range is typically specified by the manufacturer of the sensor. For
example, a common type K thermocouple has a range of 800∞C (from -50∞C to 750∞C). A ten-turn
potentiometer would have a range of 3600 degrees.
18.2 Resolution
The resolution of a sensor is the smallest increment of input that can be reliably detected. Resolution is
also frequently known as the least count of the sensor. Resolution of digital sensors is easily determined.
A 1024 ppr (pulse per revolution) incremental encoder would have a resolution of
1 revolution 360 degrees degrees
------------------------------ × ------------------------------ = 0.3516 -----------------
1024 pulses 1 revolution pulse
The resolution of analog sensors is usually limited only by low-level electrical noise and is often much
better than equivalent digital sensors.
18.3 Sensitivity
Sensor sensitivity is defined as the change in output per change in input. The sensitivity of digital sensors
is closely related to the resolution. The sensitivity of an analog sensor is the slope of the output versus
input line. A sensor exhibiting truly linear behavior has a constant sensitivity over the entire input range.
Other sensors exhibit nonlinear behavior where the sensitivity either increases or decreases as the input
is changed, as shown in Fig. 18.2.
18.4 Error
Error is the difference between a measured value and the true input value. Two classifications of errors
are bias (or systematic) errors and precision (or random) errors. Bias errors are present in all measure-
ments made with a given sensor, and cannot be detected or removed by statistical means. These bias
errors can be further subdivided into
• calibration errors (a zero or null point error is a common type of bias error created by a nonzero
output value when the input is zero),
• loading errors (adding the sensor to the measured system changes the system), and
• errors due to sensor sensitivity to variables other than the desired one (e.g., temperature effects
on strain gages).
average accuracy is poor. The second set of data shows a low degree of precision (high standard deviation),
but the average accuracy is good. The third set of data shows both low precision and low accuracy, while
the fourth set of data shows both high precision, high repeatability, and high accuracy.
18.7 Impedance
Impedance is the ratio of voltage and current flow for a sensor. For a simple resistive sensor (such as a
strain gage or a thermistor), the impedance Z is the same as the resistance R, which has units of ohms (W),
V
Z R = ---I = R
For more complicated sensors, impedance includes the effects of capacitance, C, and inductance, L.
Inclusion of these terms makes the impedance frequency sensitive, but the units remain ohms:
V 1 V
Z C = ---I = ----------
jCω
- and Z L = ---I = jL ω
where j = – 1 is the imaginary number and ω is the driving frequency. The impedance form is
particularly nice for analyzing simple circuits, as parallel and series inductances can be treated just like
resistances. Two types of impedance are important in sensor applications: input impedance and output
impedance. Input impedance is a measure of how much current must be drawn to power a sensor (or
signal conditioning circuit). Input impedance is frequently modeled as a resistor in parallel with the
18.8 Nonlinearities
Linear systems have the property of superposition. If the response of the system to input A is output A,
and the response to input B is output B, then the response to input C (= input A + input B) will be
output C ( = output A + output B). Many real systems will exhibit linear or nearly linear behavior over
some range of operation. Therefore, linear system analysis is correct, at least over these portions of a
system’s operating envelope. Unfortunately, most real systems have nonlinearities that cause them to
operate outside of this linear region, and many common assumptions about system behavior, such as
superposition, no longer apply. Several nonlinearities commonly found in mechatronic systems include
static and coulomb friction, eccentricity, backlash (or hysteresis), saturation, and deadband.
18.11 Backlash
If two otherwise perfect gears are not mounted on a center-to-center distance that exactly matches the
sum of the pitch radii, there will be a small clearance, or backlash, between the teeth. When the input
gear reverses direction, a small rotation is required before this clearance is removed and the output gear
begins to move. Gear backlash is just one of many phenomena that can be characterized as hysteresis,
as shown in Fig. 18.8. Clearance between shafts and bearings can cause hysteretic effects also. Backlash
exhibits effects similar to those for eccentricity, i.e., a loss of repeatability, particularly when approaching
a measured point from different directions. The gear backlash problem is so prevalent and potentially
harmful that many manufacturers go to great lengths to minimize or reduce the effect:
• gears mounted closer together than the theoretically ideal spacing,
• split “anti-backlash” gears that are spring loaded to force teeth to maintain engagement at all times,
• external spring-loaded mounts for one of the gears to force engagement, or
• specially designed gears with anti-backlash features.
18.13 Deadband
Another nonlinear characteristic of some actuators and sensors is known as deadband. The deadband is
typically a region of input close to zero at which the output remains zero. Once the input travels outside
the deadband, then the output varies with input, as shown in Fig. 18.10. Analog joystick inputs frequently
use a small amount of deadband to reduce the effect of noise from human inputs. A very small movement
of the joystick produces no output, but the joystick acts normally with larger inputs.
Deadband is also commonly found in household thermostats and other process type controllers, as
shown in Fig. 18.11. When a room warms and the temperature reaches the setpoint (or desired value)
on the thermostat, the output remains off. Once room temperature has increased to the setpoint plus
half the deadband, then the cooling system output goes to fully on. As the room cools, the output stays
fully on until the temperature reaches the setpoint minus half the deadband. At this point the cooling
system output goes fully off.
dy ( t ) 1
------------ + ---- y ( t ) = f ( t )
dt τ
where y(t) is the dependent output variable (velocity, acceleration, temperature, voltage, etc.), t is the
independent input variable (time), τ is the time constant (units of seconds), and f (t) is the forcing
function (or system input).
The solution to this equation for a step or constant input is given by
– t/t
y ( t ) = y ∞ + ( y 0 – y ∞)e
where y∞ is the limiting or final (steady-state) value, y0 is the initial value of the independent variable at
t = 0.
A set of typical first-order system step responses is shown in Fig. 18.13. The initial value is arbitrarily
selected as 20 with final values of 80. Time constants ranging from 0.25 to 2 s are shown. Each of these
curves directly indicates its time constant at a key point on the curve. Substituting t = τ into the first-
order response equation with y0 = 20 and y∞ = 80 gives
–1
y ( t ) = 80 + ( 20 – 80 )e = 57.9
Each curve crosses the y(τ) ≈ 57.9 line when its time constant τ equals the time t. This concept is
frequently used to experimentally determine time constants for first-order systems.
where y(t) is the dependent variable (velocity, acceleration, temperature, voltage, etc.), t is the independent
variable (time), ζ is the damping ratio (a dimensionless quantity), ωn is the natural frequency (typical
units of rad/s), and f (t) is the forcing function (or input).
The response of an underdamped ( 0 ≤ ζ < 1 ) second-order system to a unit step input can be deter-
mined as:
ζ
y ( t ) = 1 – e –ζωn t cos ω n 1 – ζ t + ------------------ sin ω n 1 – ζ t
2 2
1–ζ
2
This second-order system step response is often characterized by a set of time response parameters
illustrated in Fig. 18.15.
These time response parameters are functions of the damping ratio ζ and the natural frequency ωn:
• peak time, TP : the time required to reach the first (or maximum) peak
π
T P = -------------------------
ωn 1 – ζ
2
• percent overshoot, %OS: amount the response exceeds or overshoots the steady-state value
2
– ( ζπ / 1 – ζ )
%OS = 100 e
• settling time, TS: the time when the system response remains within ±2% of the steady-state value
4
T S = ---------
ζω n
• rise time, TR: time required for the response to go from 10% to 90% of the steady-state value.
Figure 18.16 shows the nondimensional rise time (ωnTR) as a function of damping ratio, z.
A frequently used approximation relating these two parameters is
Figures 18.17 and 18.18 show the unit step response of a second-order system as a function of damping
ratio ζ.
FIGURE 18.18 Initial second-order system step response vs. damping ratio, ζ.
dy ( t ) 1
------------ + -- y ( t ) = f ( t ) = A sin ( ω t )
dt τ
where ω is the frequency of the sinusoidal input and τ is the first-order time constant. The steady-state
solution to this equation is
y ( t ) = AM sin ( ω t + Φ )
2 −1
where M = 1/ ( τω ) + 1 is the amplitude ratio (a dimensionless quantity), and Φ = −tan (τω) is the
phase angle.
Figure 18.19 is a plot of the magnitude ratio MdB and the phase angle Φ as a function of the non-
dimensional frequency, τω. Note that the magnitude is frequently plotted in terms of decibels, where
MdB = 20 log10(M).
The frequency at which the magnitude ratio equals 0.707 (or –3 dB) is called the bandwidth. For a
first-order system, the bandwidth is inversely proportional to the time constant. So, ω = 1/τ.
A generic second-order system with a sinusoidal input of amplitude A and frequency ω would have
the dynamic equation of
2
d y(t) dy ( t )
+ 2 ζω n ------------ + ω n y ( t ) = A sin ( ω t )
2
--------------
2
dt dt
AM
- sin ( ω t + Φ )
y ( t ) = --------
ωn
2
where
1
M = -----------------------------------------------------------------------------
2 2
[ 1 – ( ω / ω n ) ] + [ 2 ζ ( ω /ω n ) ]
2 2
−1 2 ζ ( ω /ω n )
Φ = – tan ----------------------------
1 – ( ω / ωn )
2 2
1
M P = ------------------------
2ζ 1 – ζ
2
ωP = ωn 1 – 2 ζ
2
The peak value in an experimentally determined frequency response can be used to estimate both the
natural frequency and damping ratio for a second-order system. These parameters can then be used to
estimate time domain responses such as peak time and percent overshoot.
Reference
Nise, N. S., Control Systems Engineering, 2nd ed., Benjamin/Cummings, 1995.