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.

ADS124S08EVM: ADS124S08EVM - Internal temperature sensor

Part Number: ADS124S08EVM
Other Parts Discussed in Thread: ADS124S08

Hallo,

What is the best configuation to read the internal temperature sensor and the best way to convert the value to °C?

1. Is it better to use VREF = 2.5 V than VREF = AVDD? Is it possible to acquire a channel using AVDD as VREF (ratiometric) and then switch to 2.5 V to read the internal temperature sensor?

2. From the datasheet: Output Voltage = 129 mV @ Ta = 25 °C

Temperature coefficient = 403 uV/°C

Output Voltage = m * Ta + n

Ta = ( Output Voltage - n ) / m

with:

n = 129E-3 - 25 * 403E-6 = 118,925E-3 V

m = Temperature coeff. = 403E-6 V/°C

Thank you

Matteo

  • Hi Matteo,

    1. Is it better to use VREF = 2.5 V than VREF = AVDD? Is it possible to acquire a channel using AVDD as VREF (ratiometric) and then switch to 2.5 V to read the internal temperature sensor?

    You can use whatever reference you desire.  Read datasheet section 9.3.9.1 regarding reference, PGA, etc. selection.

    2. From the datasheet: Output Voltage = 129 mV @ Ta = 25 °C

    Temperature coefficient = 403 uV/°C

    Output Voltage = m * Ta + n

    Ta = ( Output Voltage - n ) / m

    with:

    n = 129E-3 - 25 * 403E-6 = 118,925E-3 V

    m = Temperature coeff. = 403E-6 V/°C

    Basically here you can do the calculation in a number of ways, but with floating point math you want to minimize the amount of required floating point multiplication and division.  Also the values are typical so you want to do some calibration.

    Lets say your output voltage is 133mV.  This would be 25 degC plus some temperature.  So the difference in temperature would be 133mV - 129mV resulting in 4mV remaining.  Divide the 4mV by the coefficient of 403uV and you get 9.9 degC which you add to 25 and your result is 34.9 degC.

    Best regards,

    Bob B

  • Hi Bob,

    Thank you for your reply.

    Regarding VREF: so don't I get a more accurate measurement using the internal 2.5 V reference voltage instead using AVDD?

    Is there any advantage using the ADC code instead of voltage for temperature calculation?

    What is the reason that I measure a temperature about 4 °C lower than with a K-type TC placed on the PCB and also than the ambient temperature?

    Thank you, have a nice day

    Matteo

  • Hi Matteo,

    Regarding VREF: so don't I get a more accurate measurement using the internal 2.5 V reference voltage instead using AVDD?

    Probably, as the reference is most likely more stable that AVDD. The measurement depends on a number of factors including how quickly you want to make measurements and the analog settling delay that may be required.  I don't know how you plan to use the ADC, so you have to determine the accuracy and timing requirement.

    Is there any advantage using the ADC code instead of voltage for temperature calculation?

    As I said originally, there are many ways to compute the temperature.  Minimizing FP calculations is preferred in most systems depending on the math engines that may or may not be available on the micro you are using.

    What is the reason that I measure a temperature about 4 °C lower than with a K-type TC placed on the PCB and also than the ambient temperature?

    The initial accuracy is not all that great.  As I said originally, the values given in the datasheet are typical and to get the best accuracy you would need to calibrate.  Also keep in mind that the ADC is measuring the die temperature and not necessarily the PCB or ambient temperature depending on airflow around the ADC.  It will also differ as to which device package is used.  The QFN will be closer to the PCB temperature due to the center pad directly attached to both the die and PCB.  The TQFP version is only thermally connected to the PCB by the pins and the package temperature can be somewhat different.

    Best regards,

    Bob B

  • Hi Bob,

    Thank you for your support.

    Currently the data acquired by the ADC are analyzed with a PC after saving it so I have no problems with the math, but of course it will be different when a microcontroller has to deal with it.

    What method do you recommend for calibrating the internal temperature sensor?

    Thank you. Best regards,

    Matteo

  • Hi Matteo,

    For calibration you could do it many ways.  The simplest would be to find the initial accuracy with a single-point calibration at a known room temperature to set the initial output voltage used in the computation.  Let's say the room temperature is set to 25 deg C and the internal temperature is showing 129.2 mV instead of the typical 129mV as given in the datasheet.  This will give you a better starting point, and you can still use the datasheet coefficient of 403uV / degC.  Using a two-point calibration allows you to more accurately calculate the coefficient itself.

    Best regards,

    Bob B

  • Hi Bob,

    How quickly does the ADC warm up? Doesn't the die immediately become warmer than the room temperature?

    I know the ambient temperature but I'm measuring the die temperature, can I still calibrate the sensor in this way?

    Exactly what surprised me was that the temperature measured by the ADC was always lower than the "real" temperature (on the PCB) even after it had been in use for some time.

    Thank you.

    Best regards,

    Matteo

  • Hi Matteo,

    How quickly the device will warm up will be based on what is powered on and how much current is running through the device.  Current will increase if the device is actually converting (as opposed to standby), the internal reference is turned on, if the PGA is enabled, and if the IDACs are turned on.

    Depending on which package is used it is possible that the die is slightly cooler (PCB temperature as opposed to the air temperature) than the actual ambient.  However it shouldn't take long for the die temperature to stabilize once the desired configuration is set and the device is in conversion mode.

    Also, the typical mV specification at 25 deg C can vary in +/-  from the mean.  So it is possible that the initial temperature can appear less than the ambient.

    It is not clear to me the use case for the internal temperature sensor.  If you need high initial accuracy TI does make a full line of temperature sensors.

    Best regards,

    Bob B

  • Hi Bob,

    We wanted to evaluate how much of the temperature drift depends on the EVM and how much depends on the sensor we are acquiring.

    We don't need an accurate measurement,  but we are interested in the temperature difference. It was just out of curiosity.

    Is it necessary for you to measure temperature accurately to compensate for any drift in the ADC?

    Thank you for your support.

    Best regards,

    Matteo

  • Hi Matteo,

    You don't need an accurate temperature measurement for this case.  Here you can just use a relative difference.  As far as drift is concerned, offset drift can be virtually eliminated by using global chop.  Gain drift will be combinations of drift of the reference as well as the ADC gain drift.

    One thing I will add here is long term drift can be somewhat difficult to measure with the EVM.  The reason is that sometimes the drift is affected by the air currents around the EVM.  We have seen a lot of instability due to lab environments (heating and cooling cycles) as well as air currents from other nearby equipment (power supply fans for example).  Due to these effects, it is best to isolate the EVM from the rest of the environment by placing the EVM in a box or we have even used large ESD bags to limit air flow around the EVM.

    One last thing and that is the EVM was not designed to be placed in an oven or temperature chamber.  Although the ratings for the ADS124S08 is industrial temperature range (-50 to 125 deg C), many of the components on the board are in the commercial temperature range (85 deg C or less).  Therefore I would recommend that the maximum temperature applied to the board be 65 deg C or less.

    Best regards,

    Bob B

  • Hi Bob,

    I read in this forum about the "problem" of air currents so the EVM is already in an enclosure.

    Thanks for the clarification about the maximum temperature.

    Thank you for your support. Much appreciated.

    Have a nice day.

    Matteo

  • Temperature in degC:

    Ta = (Output Voltage - 129E-3) / 403E-6 + 25