This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP112 dynamically changing the higher and lower threshold value

Other Parts Discussed in Thread: TMP112, LM56

HIiiiiii,

i am using TMP112 to monitor temperature change. I am using POL = 0 and TM = 1. After each read of the current temperature, the higher and lower threshold are set +1 and -1 of the current temperature. the interrupt is working fine with some glitches. if the temperature increases the higher threshold then an interrupt is receive but if the temperature decreases and crosses the lower threshold temperature set, interrupt is not generated..WHY???please help me out

 

 

Thanks in advace

  • hello everyone....

    i have a doubt over the generation of interrupt from the TMP112 sensor.

     

    is an interrupt after temperature crossing the value set in the high threshold temperature register required for the generation of an interrupt after the temperature lowers from the value set in the low threshold temperature register????

     

     

     

  • Hello Sanjat,

    When the TMP112 is in Interrupt mode (TM=1), the interrupt becomes active in a cyclical fashion as shown in Figure 13 below and as described in the section HIGH- AND LOW-LIMIT REGISTERS.

    In order for an interrupt to occur, the part must first read a temperature equal to or greater than THIGH. Once the interrupt is cleared, it becomes active again only when temperature reads equal to or less than TLOW. Once this interrupt clears, the cycle repeats.

    In summary, the ALERT pin becomes active in the following order: Temp ≥ THIGH, Temp ≤ TLOWTemp ≥ THIGH, Temp ≤ TLOW, etc.

    Best regards,

    Ian Williams
    Linear Applications Engineer
    Precision Linear and Sensing Products 

  • HI Ian,

    Thank you very much for the awaited reply.

    i have one more doubt in the operation of the TMP112 temperature sensor.

    What if, if I need to monitor the fall of temperature below the value set in the TLOW register.

    I mean, I want to get continuous low interrupt. For achieving this, what I have do or its impossible to get a low interrupt prior to the high interrupt????

     

    Best Regards

    Sanjat

    Embedded Engineer

    CDAC, NOIDA

  • Sanjat,

    The TMP112 does not support a continuous low interrupt, so that functionality is not possible with this device. This is true of all of the TI temperature sensors with an ALERT functionality.

    However, what you want to accomplish is possible with a temperature switch such as the LM56: http://focus.ti.com/general/docs/nationalsemiconductorproducts.tsp?genericPartNumber=LM56. This device supports two resistor-programmable temperature thresholds T1 and T2. There are two corresponding outputs OUT1 and OUT2 which go high or low depending on whether the measured temperature is above or below each threshold. More specifically, OUT1 goes LOW when Temp > T1 and goes HIGH when Temp < T1 - 5°C. Similarly, OUT2 goes LOW when Temp > T2 and goes HIGH when Temp < T2 - 5°C. The output characteristic is also shown below.

    Best regards,

    Ian Williams

  • hi Ian Williams,

    Thank you very much for your reply and cordial support. It was indeed a good solution but not very much useful for our application and product that we are trying to develop. Anyways, thank you very much.

    I have one more doubt regarding the functionality of the temperature sensor TMP112...

    what is the relation between voltage supply and temperature accuracy of TMP112???

    I am giving a supply of 2.5V to the V+ of the TMP112 sensor and while reading the temperature its showing an overhead of +8 to +9 degrees !!!!!!!!!!!!!!!!!!!!!!!!

    I tried to Google it out and somewhere I found that, low voltage supply has some effects on the temperature conversion of TMP112.

    Please help me.....

    With regards

    Sanjat

  • Hello Sanjat,

    The relationship between supply voltage and temperature error is given in the Electrical Characteristics table of the TMP112 data sheet. The maximum spec is an error of ±0.25°C/V when compared to +3.3V. This means that the temperature error due to supply voltage can only be a few tenths of a °C at worst.

    Can you clarify what you mean when you said you saw a temperature overhead of +8 to +9 degrees? Does this mean that the temperature error was +8°C to +9°C? If this is the case, then there was some other issue such as software, noise coupling into the I2C bus, poor layout, etc.  

    Best regards,

    Ian Williams