How Do NTC Thermistors Measure Temperature in Electronics?
This article explains how Negative Temperature Coefficient (NTC) thermistors detect and measure thermal changes within electronic circuits. It covers the fundamental semiconductor physics behind their inverse resistance-to-temperature relationship, the standard voltage divider circuits used to convert this physical change into a readable electrical signal, and the mathematical equations that microcontrollers use to calculate precise temperature readings.
The Physics of NTC Thermistors
An NTC thermistor is a thermally sensitive resistor whose electrical resistance decreases rapidly as its temperature increases. These sensors are manufactured from sintered metal oxides, such as manganese, nickel, cobalt, and iron. These materials act as semiconductors.
At low temperatures, the metal oxide material has very few free charge carriers (electrons), resulting in high electrical resistance. As heat is applied to the thermistor, the thermal energy agitates the lattice structure of the semiconductor. This thermal agitation frees more electrons from their valence bonds, allowing them to move into the conduction band. With more charge carriers available to move through the material, the thermistor conducts electricity much more easily, causing its resistance to drop exponentially.
Converting Resistance into Voltage
Sensing electronics, such as microcontrollers and Analog-to-Digital Converters (ADCs), cannot read resistance directly; they can only measure voltage. To measure the thermal change, the NTC thermistor is placed into a simple voltage divider circuit.
A voltage divider places the NTC thermistor in series with a fixed resistor of a known value. A constant reference voltage (such as 3.3V or 5V) is applied across the entire circuit. The sensing electronics measure the voltage at the midpoint between the fixed resistor and the NTC thermistor.
As the ambient temperature changes, the thermistor's resistance shifts. According to Ohm's Law, this shift changes the proportion of voltage dropped across the thermistor relative to the fixed resistor. The ADC reads this fluctuating midpoint voltage and converts it into a digital number for the system's processor.
Calculating the Exact Temperature
Because the relationship between temperature and resistance in an NTC thermistor is highly non-linear, electronics cannot use a simple linear multiplier to determine the temperature. Instead, the system must use specific algorithms or data tables to translate the measured resistance into degrees Celsius or Fahrenheit.
There are three primary methods electronics use to calculate the final temperature:
- The Steinhart-Hart Equation: This is a third-order polynomial equation that provides the most accurate mathematical model of an NTC thermistor's curve across a wide temperature range. It requires three specific constants (A, B, and C) provided by the thermistor manufacturer.
- The Beta (β) Parameter Equation: This is a simplified version of the Steinhart-Hart equation. It uses a single material constant, known as the Beta value, to calculate temperature. It is easier for basic microcontrollers to compute and is sufficiently accurate over narrower temperature ranges.
- Lookup Tables (LUT): To save processing power, engineers often program a pre-calculated array of values directly into the microcontroller's memory. The system reads the ADC voltage, matches it to the closest value in the table, and uses linear interpolation to estimate the temperature between two known points.
Overcoming Self-Heating Errors
For an NTC thermistor to measure the ambient environment accurately, the sensing circuit must manage the phenomenon of self-heating. Because an electrical current must pass through the thermistor to measure its voltage drop, the thermistor itself dissipates a small amount of power in the form of heat (Joule heating).
If the current is too high, the thermistor will heat itself up, leading to artificially high temperature readings. Electronics designers prevent this by using larger resistance values to keep the current micro-amperes low, or by pulsing the power to the thermistor only for the brief millisecond required to take a reading.