Linear Approximation
Linear Approximation
Noise and errors are additive since the outputs are in series. Because the inputs are
in parallel thermally, and because the thermocouples are essentially identical, the errors
are also identical (or nearly so) and therefore the output error is n times the error (or
noise) of a single thermocouple.
FIGURE 2.17 ¢ V
Hysteresis in a 10 V
sensor. Increase in
stimulus
Ideal transfer
function Hysteresis
Decrease in
stimulus
Stimulus
0 Max
2.2 Input and Output Characteristics 53
Transfer function:
using tangent to a point Stimulus
axis intercept b as shown in detail in Appendix A. The linear best fit to the data (see
Equation (A.15)) is
! "! " ! "! " ! "! "
P
n P
n P
n P
n P
n P
n P
n
n xi yi % xi yi yi %xi2 xi xi yi
i¼1 i¼1
i¼1 i¼1 i¼1 i¼1 i¼1
a¼ ! n "2 , b¼ ! n "2 : (2.19)
P
n
2
P P
n
2
P
n xi % xi n xi % xi
i¼1 i¼1 i¼1 i¼1
This provides a ‘‘best’’ fit (in the least squares sense) through the points of the transfer
function and can be used for purposes of measuring the nonlinearity of the actual sensor
or actuator. If this method is used, nonlinearity is the maximum deviation from
this line.
There are many variations on both of these methods. In some cases a sensor is only
expected to operate in a small section of its span. In this case, either method may be
applied for that portion of the span. Another method that is sometimes employed is to
take a midpoint in this reduced range and draw a tangent to the transfer function through
the selected point and use this tangent as the ‘‘linear’’ transfer function for purposes of
defining nonlinearity (line 3 in Figure 2.18). Needless to say, each method results in
different values for nonlinearity and, while these are valid, it is important for the user to
know the exact method used.
It should also be noted that in spite of the foregoing, nonlinearity is not neces-
sarily a ‘‘bad’’ thing or something that needs correction. In fact, there are instances in
which a nonlinear response is superior to a linear response and there are sensors and
actuators that are intentionally and carefully designed to be nonlinear. An example is
the common potentiometer used as a volume control, especially in audio systems.
Notwithstanding the fact that most current volume control systems tend to be digital
and many are linear, our hearing is not linear—in fact, it is logarithmic. This allows
the ear to respond to minute pressure changes (as low as 10%5 Pa) as well as high
pressures (high power sound)—as high as 60 Pa. Normally the range is given between
0 and 130 dB. To accommodate this natural response, potentiometers for volume
control were also designed as logarithmic to conform with our ears’ response. Even
some digital potentiometers are logarithmic. The following example discusses these
issues a bit more, but the important point is that this nonlinear response has been
designed on purpose to fit a particular need and in this case a nonlinear response is
superior.