Chapter 5 Temperature Measurement Module AH04PT/AH08PTG
5-43
(X: Temperature; Y: Digital value)
Example 2:
The temperatures -100℃~100℃ correspond to the digital values -100~100. The original signals are
used. The gain is 1, and the offset is 0. The temperature received by the channel is 0℃, and the
digital value is 0. The temperature received by the channel is 100℃, and the digital value is 101.
Users can calibrate the channel by calibrating the gain and the offset.
The users can get the gain for the calibration by means of the equations below.
Gain=(Y2-Y1)/(X2-X1)=[101-0]/(100-0)=1.01
Gain used for calibration=1/Gain=1/1.01=0.99
The users can get the offset for the calibration by means of the equations below.
Offset=Y1=0
Offset used for calibration=0-Y1=0
(X: Temperature; Y: Digital value)
100
101
-100
Original signals
Signals after the calibration
(X1, Y1) (0
, 0)
(X2, Y2) (100
, 101)
Digital value (Y)
100
-100
100
(X2, Y2) (100
, 99)
(X1, Y1) (0
, -1)
-100
Temperature (X)
Signals after the calibration
Digital value (Y)
100
-100