Kaiyi — 5.1.7 Functions

Chapter 5 Temperature Measurement Module AH04PT/AH08PTG Signals after the calibration Original signals (X2, Y2) (100 ℃ , 99) ℃ Temperature (X) Digital value (Y) (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 (X2, Y2) (100 ℃ , 101) Original signals Signals after the calibration Temperature (X) ℃ Digital value (Y) (X: Temperature; Y: Digital value) 5-7 100 0℃ Si 100 (X1, Y1) (0℃, -1) -100 101 100 0℃ (X1, Y1) (0℃, 0) 10 -100