I have a STLM20 temperature sensor with the following transfer function:

$$V_{0}=\frac{-11.69\text{mV}}{C \cdot T} + 1.8663 \text{V}$$

I have solved it for \$T\$ and it should be:

$$T=85.543\cdot (1.8663-V_{0})$$

Is this correct?

  • \$\begingroup\$ It is correct and strictly speaking this is a math question - applied algebra. \$\endgroup\$ – Andy aka Apr 3 '14 at 20:46
  • 2
    \$\begingroup\$ Technically that's a scaling equation, not a transfer function. \$\endgroup\$ – Matt Young Apr 3 '14 at 20:52
  • \$\begingroup\$ @MattYoung I think this could accurately be described as the inverse transfer function of the sensor, since it gives degrees C as a function of volts. \$\endgroup\$ – Spehro Pefhany Apr 3 '14 at 20:54

That's correct, and it's the best linear equation for the range 20°C< T <30°C, however you can get better accuracy over a wider range by using the quadratic solution:

enter image description here

According to the data sheet.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.