![Cmsemicon BAT32G1 9 Series User Manual Download Page 1127](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_26276091127.webp)
BAT32G1x9 user manual | Chapter 33 Temperature sensor and internal reference voltage
1127 / 1149
Rev.1.02
33.3 Instructions for using the temperature sensor
33.3.1
How temperature sensors are used
The temperature (T) is proportional to the sensor voltage output (Vs), so the temperature is calculated
as follows:
T = (Vs - V1) / slope + T1
T: Measured temperature (°C)
Vs: Output voltage of the temperature sensor at temperature measurement (V)
T1: Temperature measured experimentally at the first point (°C)
V1: Voltage output when the temperature sensor measures T1 (V)
T2: Temperature measured experimentally at the second point (°C)
V2: Voltage output when the temperature sensor measures T2 (V)
Slope: The temperature slope of the temperature sensor (V/°C), slope = (V2 - V1) / (T2 - T1).
Different sensors have different characteristics, so we recommend measuring the following two
different sample temperatures:
1
、
Use an A/D converter to measure the voltage V1 output of the temperature sensor at temperature
T1.
2
、
Use an A/D converter to measure the voltage V2 output by the temperature sensor at the second
temperature T2.
3
、
The temperature slope (slope = (V2 - V1) / (T2 - T1) is calculated from the two results
4
、
Subsequently, the temperature (T = (Vs -V1) / slope + T1) is obtained by substituting the slope into
the formula for the temperature characteristics