SBOA537 March   2022 TMP61 , TMP61-Q1 , TMP63 , TMP63-Q1 , TMP64 , TMP64-Q1

 

  1.   Trademarks
  2. 1Capturing the Data
  3. 2Creating the Plot for the Fourth-Order Polynomial
  4. 3Creating the Scatter Plot
  5. 4Creating a Polynomial for the Collected Data
  6. 5C Code
  7. 6Creating a Polynomial for an NTC
  8. 7Summary

Summary

A Polynomial curve fit accuracy is seen in the R squared value. The TMP6 has a 0.999999% accuracy. Whereas the NTC has a 0.993% accuracy and negative resistances. This means that the polynomial can provide a temperature from the ADC voltage with increased accuracy and faster processing time for the TMP6 than the Steinhart-Hart equation or when using a look-up table with interpolation. An NTC will not be able to use a polynomial to calculate its temperature.