Header Ads Widget

Responsive Advertisement

Ticker

TEMPERATURE SENSOR




        Temperature sensors are often sensing devices embedded within some sort of insulation.  The insulation may often be for electrical purposes - to isolate the sensor electrically.  However, good electrical insulation is often also good thermal insulation, and the presence of that insulation causes the sensor to respond tardily when the sensor heats up.
        We'll try to put together a simple model to help explain that behavior.  When we say explain, we mean to imply that we are looking for a mathematical model for a mathematical explanation.  We start with a physical model - the one shown below.


In this model, we assume the following.
  • The sensor is embedded within a layer of insulation that insulates the sensor from the heat source that the sensor is supposed to experience.
  • We assume that the temperature of the sensor is Ts(t) - and it is going to be a function of time because we want to see how it changes in time when the applied temperature changes.
  • We represent the external temperature with Ta(t).
  • We assume that the heat flow into the sensor from the outside is given by:
    • Heat Flow To Sensor = [Ta(t). - Ts(t)]/Rth
    • In other words, the heat flow to the sensor depends upon the difference between the external temperature and the sensor temperature, and the heat flow gets less as the thermal resistance between the sensor and the external temperature becomes higher (better insulation).
  • We assume that a given amount of heat raises the temperature of the sensor by an amount proportional to the amount of heat.  In other words, the temperature of the sensor is proportional to the amount of heat energy it contains.
    • Heat Content Of Sensor = CsTs(t).
  • Then, we can write an equation that relates the heat content of the sensor to the flow of heat into the sensor.  Unfortunately, this is going to be a differential equation.
    • Rate of Change of Heat Content of Sensor = Rate of Heat Flow to Sensor
    • CsdT(t)s/dt = [Ta(t). - Ts(t)]/Rth
  • In this situation, a little re-definition of variables will produce a differential equation that is a lot easier to solve.
    • Define: DT(t) =  [Ta(t). - Ts(t)]
    • If the surrounding temperature, Ta(t), is constant, then dDT(t)/dt = - dTs(t)/dt, and
    • dDT(t)/dt  = - dTs(t)/dt = -[Ta(t). - Ts(t)]/RthCs = DT(t)/tth, and this can be rewritten as:
    • dDT(t)/dt = -DT(t)/RthCs = -DT(t)/tth
      • tth = Thermal Time Constant
      • You can check that it actually has the units of time.
  • Now, our goal is to take this differential equation description and use it to get a meaningful description of how the sensor responds.
 There are a few special situations that we will examine here.  That won't get us to a general description that would allow us to predict what would happen in every situation, but that's what the differential equation is for.  Here we will solve the differential equation for a few special cases in order to get an appreciation of what the time behavior of the sensor is.  The situations we will examine are:
  • The case where the temperature of the surroundings changes suddenly and has to come to equilibrium at the new temperature.
  • The case where the sensor is taken from a temperature then put into new surroundings and allowed to cool (or rise?) to the temperature of the surroundings.
However, it does not matter which of those situations we have.  In either case, the differential equation and the solution to the differential equation is the same.  We will find that the only thing that matters is the initial temperature of the sensor, and the final temperature it achieves - the temperature of its' surroundings.
        Imagine that the sensor is taken from a temperature and has to come to equilibrium with new surroundings.  Imagine a situation where the sensor is at a high temperature and is removed to a cooler temperature.  The differential equation we derived above still holds, and we can solve it here.  Let's look at that differential equation again.
  • dDT(t)/dt = -DT(t)/RthCs = -DT(t)/tth
  • But, initially, DT(0) =  [Ta(0). - Ts(0)], and this quantity is fixed when you start the experiment.
  • We can solve the differential equation above to get:
    • DT(t) = DT(0)e-t/tth
This time function will look like the following plot.
This plot is done for the following parameters:
  • DT(0) = 25 degrees
  • tth = 20 seconds
Points to note on this plot include the following.
  • The temperature difference, DT(t), asymptotically goes to zero as time gets large.
  • Since the time constant for the example was 20 seconds, it seems as though it takes about five (5) time constants (100 seconds on the plot) for the response to decay to the point where you can safely say that it has reached steady state - even though that steady state is only approached and never reached theoretically.
        If we have a situation there the sensor finds itself in a surrounding temperature higher than its' current temperature, then the sensor temperature will have to rise.  In that situation, we have a plot like the one below.
http://www.facstaff.bucknell.edu/mastascu/elessonshtml/Sensors/SensorDynamicsIntro03.gif
This plot is done for the same parameters as above, except that the actual temperature is plotted here.  If you get a plot like this - in lab, for example - you will need to extract the temperature difference.  Here the steady state looks to be 25 - starting from 0 - and the temperature difference - that decays to zero - is obtained by subtracting the actual temperature from 25 degrees.
Temperature Sensor - The LM35

        The LM35 is an integrated circuit sensor that can be used to measure temperature with an electrical output proportional to the temperature (in oC)

The LM35 - An Integrated Circuit Temperature Sensor
  • Why Use LM35s To Measure Temperature?
    • You can measure temperature more accurately than a using a thermistor.
    • The sensor circuitry is sealed and not subject to oxidation, etc.
    • The LM35 generates a higher output voltage than thermocouples and may not require that the output voltage be amplified.
  • What Does An LM35 Look Like?
    • Here it is.
http://www.facstaff.bucknell.edu/mastascu/elessonshtml/Sensors/LM35.jpg
  • What Does an LM35 Do?  How does it work?
    • It has an output voltage that is proportional to the Celsius temperature.
    • The scale factor is .01V/oC
    • The LM35 does not require any external calibration or trimming and maintains an accuracy of  +/-0.4 oC at room temperature and +/- 0.8 oC over a range of 0 oC to +100 oC.
    • Another important characteristic of the LM35DZ is that it draws only 60 micro amps from its supply and possesses a low self-heating capability. The sensor self-heating causes less than 0.1 oC temperature rise in still air.
        The LM35 comes in many different packages, including the following.
  • TO-92 plastic transistor-like package,
  • T0-46 metal can transistor-like package
  • 8-lead surface mount SO-8 small outline package
  • TO-202 package. (Shown in the picture above)
  • How Do You Use An LM35?  (Electrical Connections)
    • Here is a commonly used circuit.  For connections refer to the picture above.
    • In this circuit, parameter values commonly used are:
      • Vc = 4 to 30v
      • 5v or 12 v are typical values used.
      • Ra = Vc /10-6
      • Actually, it can range from 80 KW to 600 KW , but most just use 80 KW.
http://www.facstaff.bucknell.edu/mastascu/elessonshtml/Sensors/SensorLM35Ckt.gif
    • Here is a photo of the LM 35 wired on a circuit board.
      • The white wire in the photo goes to the power supply.
      • Both the resistor and the black wire go to ground.
      • The output voltage is measured from the middle pin to ground.l
http://www.facstaff.bucknell.edu/mastascu/elessonshtml/Sensors/LM35Ckt.jpg
  • What Can You Expect When You Use An LM35?
    • You will need to use a voltmeter to sense Vout.
    • The output voltage is converted to temperature by  a simple conversion factor.
    • The sensor has a sensitivity of 10mV / oC.
    • Use a conversion factor that is the reciprocal, that is 100 oC/V.
    • The general equation used to convert output voltage to temperature is:
      • Temperature ( oC) = Vout * (100 oC/V)
      • So if  Vout  is  1V , then, Temperature = 100 oC
      • The output voltage varies linearly with temperature.


Posting Komentar

0 Komentar