Determining Temperature From A Thermistor Voltage Divider Measurement

        If you use a thermistor in a voltage divider, the output voltage depends upon the temperature.  In the lesson on thermistor temperature sensors, the resistance of a thermistor is given by:

1/T = A + B*ln(R) + C*(ln(R))3 R in W, T in oK

Now, the thermistor appears in a voltage divider.  That voltage divider might be half of a bridge circuit.  In any event, the circuit looks like a typical voltage divider - like the one shown below.

We have an expression for the output voltage of the voltage divider - given below.

Vout = Vin Rb/( Ra + Rb)

In this circuit, we have the following:

        Given a voltage measurement for the output voltage, we need to know how to calculate the temperature.  We do that in two steps.         First, we solve for the value of the resistance using the expression above.

Vout = Vin Rb/( Ra + Rb)

Multiply through by the denominator of the right hand side, to obtain:

( Ra + Rb)Vout = Vin Rb

Then, isolate the terms with the sensor resistance:

RaVout = Rb(Vin - Vout)

Then, solve for the sensor resistance:

Ra = (Ra)(Vin - Vout)/(Vout)

Once you have the sensor resistance, then you can use the first expression above to calculate the temperature.  That calculation yields the following expression for the measured temperature.  (And, don't forget that this is the absolute temperature in oK.

Tmeas = 1/[A + B*ln(Ra) + C*(ln(Ra))3]

Now, you could insert the expression for the sensor resistance into the expression for the measured temperature.  However, when programming this calculation, you should probably first calculate the sensor resistance, and then have second calculation to calculate the temperature from the calculated resistance.  Although that is two calculations, that may well be the simplest way to implement the calculations above.



Problem 1

        In the voltage divider circuit, you have the following:

        Determine the temperature in oC.  (And please note the units!)

Enter your answer in the box below, then click the button to submit your answer.  You will get a grade on a 0 (completely wrong) to 100 (perfectly accurate answer) scale.

Your grade is:


Question

Q1        The output voltage changes to 6 volts.  Has the temperature gone up or gone down?



Problem 2

        Determine the temperature in oC when the output voltage rises to 6 volts.  When you input your answer use only one figure after the decimal point.

Enter your answer in the box below, then click the button to submit your answer.  You will get a grade on a 0 (completely wrong) to 100 (perfectly accurate answer) scale.

Your grade is: