Escolar Documentos
Profissional Documentos
Cultura Documentos
1. Introduction
Nowadays an increasing number of measuring instruments are
equipped with microprocessors. This applies especially to
instruments utilising a transducer to measure a physical
quantity. In calibrating such apparatus one has to cope with
manufacturing tolerances of the transducers, offset and scaling
errors of the measuring instrument and drift and nonlinear
behaviour of both. The errors due to the measuring instrument
generally can be trimmed within acceptable limits. Errors which
originate from the transducers, however, usually have to be
corrected either with the aid of a special signal conditioning
circuit, or arithmetically. A microprocessor makes an excellent
expedient to do the latter.
There are several methods to calculate correctly scaled
output signals from transducers. These methods may be divided
into three groups.
The simplest way is to store a look-up table in a read-only
memory and calculate the quantity to be measured by linear
interpolation. The calculation formula is simple and universal
but each type of transducer requires its own table. Besides,
correction for drift and manufacturing tolerances is not always
easy.
Another way is to store a set of characteristic parameters for
each transducer and calculate the inverse function of the
relationship between its electrical output and the physical
quantity to be measured. Now, only small sets of parameters are
sufficient. However, each type of transducer requires its own?
sometimes rather complicated calculation routine. Besides, the
transfer function of the transducer is not always explicitly
known.
The third method is to use an interpolation formula using
three or more calibration points. In this way one routine is
sufficient to calculate the quantity to be measured of any
transducer. It is not necessary to know the transfer function of
the transducer explicitly, a limited set of calibration points being
sufficient.
The three-point interpolation algorithm which is described in
the present paper is believed to be the most practical method for
general use. The three calibration values are transformed into a
set of three parameters. One of the three parameters controls the
0022-3735/85/010061+ 04 $02.25 G 1985 The Institute of Physics
zero offset, the second one determines the scale factor and the
third one compensates for the nonlinear behaviour of a
transducer. Recalibrating the zero offset has no influence on the
scaling and linearising parameters. Neither is the latter
influenced by recalibrating the scaling parameter. This method is
especially useful in data-acquisition systems in which various
kinds of transducers are used together.
4= f(XI
(1)
(3)
H=f (h)
V(y)=c, + 1 +czy
-.
1+
(4)
...
c1 Y
1 +czy
(5)
(6)
M=f(m)
V ( H )- V ( M ) h - m
V ( M ) - V(L)- m - 1 -
I.
(7)
H + L - 2M
H ( M - L)- L(H - M )
(8)
61
W T Bolk
(9)
+ ~ 2 H ) ( +1 c,L)(d/(H-L)).
By substituting (19) and (20) in (12) and using (17) and (18) co is
found to be
L bJ/P2)d
co=n1 + (alP)L
(10)
(1 1)
P=
+ L - 2M
(13)
H ( M - L ) -L ( H - M )
(14)
y=(H-M)(M-L)(H-L).
(15)
P + aL,= ( H - L ) ( M - L )
P + CZH= (H -L)(H- M )
(P + aL)(P + a H )= y(H - L).
(16)
(17)
(18)
Now,
c2= a//?.
By substituting (19) in (10) and using (18) c 1 is found to be
CI =
[1 +(alP)Hl[1
+(alP)Lld
H-L
(H -M ) ( M - L ) ( H - L)d
(21)
[ H ( M - L ) -L ( H - M ) I 2
t
(C)
0
30
60
90
120
150
180
210
240
270
300
62
Fe-CuNi
NiCr-Ni
PtRh-Pt
0.0
29.9
60.0
89.9
120.0
150.0
180.5
210.7
241.1
270.8
300.0
0.0
29.4
59.3
89.4
119.6
150.0
180.9
21 1.4
241.9
271.4
300.0
0.0
29.4
59.3
89.3
119.5
150.0
180.3
210.5
240.5
270.4
300.0
0.0
29.4
59.3
89.3
119.5
150.0
180.4
210.5
240.5
270.4
300.0
0.0
29.3
59.3
89.8
120.1
150.0
179.5
209.1
239.0
269.3
300.0
0.0
29.3
59.3
89.8
120.1
150.0
179.6
209.1
239.0
269.3
300.0
0.0
27.6
57.0
87.5
118.7
150.0
181.2
21 1.8
242.0
27 1.4
300.0
0.0
27.1
56.3
86.9
118.3
150.0
181.6
212.6
242.9
272.0
300.0
Nil00
PtlOO
t
(C)
0
30
60
90
120
150
180
210
240
270
300
0.00
29.98
59.97
89.97
119.98
150.00
180.02
2 10.03
240.03
270.02
300.00
0.00
29.95
59.94
89.94
119.97
150.00
180.03
210.06
240.06
270.05
300.00
0.0
30.1
60.2
90.2
120.1
150.0
179.8
209.7
239.7
269.8
300.0
0.0
28.8
58.4
88.5
119.1
150.0
181.1
2 12.1
242.7
212.3
300.0
(24)
V ( H )- V(M) h - m
V ( M ) - V(L)- m - 1 -
NTC
PTC
(C)
0
6
12
18
24
30
36
42
48
54
60
0
5
10
17
23
30
37
43
49
55
60
0
-11
-4
7
19
30
39
46
52
56
60
0.00
5.97
11.96
17.96
23.98
30.00
36.02
42.04
48.04
54.03
60.00
0.00
5.94
11.91
17.92
23.96
30.00
36.05
42.08
48.09
54.07
60.00
I -k
(25)
(134
p= 2kH(M- L ) - 2( 1 - k ) L ( H - M )
(144
7=4k(l- k ) ( H - M ) ( M - L ) ( H - L ) .
(1 5a)
By applying (13a), (14a) and (15a) the equations (22), (20) and
(19) can now be used to calculate co, c1 and c2 respectively. Also
(lo), (12) and (18) remain valid.
7. Analogue linearisation;a special case
The analogue linearisation of a resistance thermometer with a
fixed shunt is, from a mathematical viewpoint, a special case of
the described method. Now 4 is a resistance and the parameter
c2 can be thought of as a conductance. If both the numerator
and the denominator in (5) are divided by c2 we get
(P - SXY + S )
P+Y
This adaptation has no consequences for the remaining linearity
error, so we can choose the value of S in such a way that a
correct scaling is obtained.
This analogue way of linearising is restricted to the use
of transducers in which the resistance varies as a function of
a physical quantity. Sometimes a negative shunt is required.
e.g. for a platinum thermometer, which calls for an active circuit.
Also the ranging capability of S is limited.
8. Conclusion
The presented algorithm provides a practical method to correct
for zero offset, scaling errors and nonlinearity of transducerbased measuring instruments which incorporate a microprocessor. The calculating routine is simple and universal
and only a limited set (usually three) of parameters for each
63
W T Bolk
transducer is required. The method requires initial calibration at
three points. Recalibration also may be performed at one point
to correct for zero drift or at two points to correct for both zero
drift and scaling errors. The described method is especially
useful when different kinds of transducers are monitored by one
system. The parameters are easily calculated optimum for any
required measuring range. Users who do their own calibration
are provided with two specific advantages. Firstly there is no
need for selected transducers and secondly recalculating at most
three parameters takes the place of hardware trimming. The
algorithm is shown to be superior to second-order Lagrange
interpolation for eight commonly used temperature transducers.
References
Ashley S R, Muggeridge M and Lucas J 1978 An inexpensive
digital lineariser for nonlinear transducers
J . Phys. E: Sci. Instrum. 11 576-80
Bolk W T 1978 Linearisierung der Kennlinie von
Widerstandsthermometern
Technisches Messen atm 3 83-8
Bolk W T 1979 Linearisierung der Kennlinie von
Pt-Widerstandsthermometern
Technisches Messen tm 10 375-82
Bolk W T 1980 Vergleichsstellenkompensation fur
Thermoelemente mittels Widerstandsthermometer
Messen + Prufen/Automatik September 578-83
Diamond J M 1970 Linearization of resistance thermometers
and other transducers
Rec. Sci. Instrum. 41 53-60
Trankler H-R 1982 Die Schlusselrolle der Sensortechnik in
Messsystemen
Technisches Messen 49 10 343-53
64