Link here

Cold Junction Compensation

Thermocouple voltage measurements should be compensated with a cold junction temperature measurement

 

Hot and cold junctions

One end of a thermocouple sensor comprises the junction which is placed on the object whose temperature is to be measured. At the other end of the wire pair, the thermocouple voltage is measured. However, additional thermocouple junctions are formed when connecting to the wire ends, so the total potential measured depends on the temperatures of those junctions as well as the junction at the measurement end of the thermocouple. Consequently, thermocouple voltages are relative values which must be measured with respect to a junction at a known temperature, called the cold or reference junction.

The following diagram shows a thermocouple used to measure the temperature at its hot junction, and the influence of the cold junction on the measurement.

Thermocouple cold junction compensation, K type thermocouple connected to a cold junction thermal block.

The diagram shows a Type K thermocouple which uses nickel alloy wires, one made of chromel alloy and the other alumel. As shown in the diagram the thermocouple wires are usually terminated at a screw terminal block or connector. However terminated, the two connections should be made at the same temperature, so the cold junctions are often mounted on an isothermal block of high thermally conductive material with a large thermal mass.

Owing to the need to terminate the thermocouple wires at the cold junction the thermocouple potential of the hot junction can not be measured directly. Instead, the measurement voltage, vm, is the difference between the thermocouple voltage at the temperature to be measured (referred to 0°C, that is, the TC voltage minus its voltage at 0°C) and the thermocouple voltage at the cold junction (also referred to 0°C), as,

Measured thermocouple voltage equals thermocouple potential referred to 0°C minus thermocouple cold junction voltage also referred to 0°C.

If the cold junction were truly at 0°C then vCJ would be zero volts and we would be able to measure the hot junction voltage directly. However, it is inconvenient to maintain the cold junction at 0°C, so in practice it's best to independently measure the cold junction temperature and use it to solve the above equation for vTC. Computing the hot junction potential, vTC, is called cold-junction compensation. It can be done one of two ways:

  1. A special electronic device mounted on the cold junction can add a small voltage in series with the thermocouple. Simple to use integrated circuits, like the LT1025A(Micropower Thermocouple Cold Junction Compensator), must be mounted on the cold junction block, with the thermocouple wires terminated right at the chip.
  2. The temperature of the cold junction can be independently measured using another temperature sensor (a thermistor, RTD, or integrated circuit temperature sensor). Then the cold junction's thermocouple potential is computed from its temperature using a numerical model of the thermocouple. The voltage addition is then done in software.

Either way, the computation performed is,

Thermocouple cold junction compensation is done by adding thermocouple measured voltage to the computed cold junction voltage.

After the computation is done, the computed thermocouple voltage is that which would have been measured had the cold junction been at 0°C. That voltage can then be directly compared to the NIST TC data which is referred to 0°C.

 

Connecting to the thermocouple

The following diagram illustrates using a thermistor to cold junction compensate a thermocouple. While a thermistor is shown, you could also use an RTD, or the LM335A electronic sensor shown, so long as the sensor used is mounted on an isothermal block with the cold junction. The diagram also shows other temperature sensors connected to the 24/7 Data Acquisition Wildcard.

Thermocouple measurement circuit showing a thermistor used to cold junction compensate the thermocouple. The thermistor is mounted on the cold junction thermal block.

The thermocouple is connected between CH_0 (the + input) and CH_7 (the – input), with CH_7 grounded to the analog ground. The thermocouple output varies from approximately -10 mV to +20 mV for a temperature variation from -200 to +500°C. When the A/D's BUFFER is OFF (that is, in unbuffered mode), the common mode range of the A/D extends to 30 mV below ground, so even when the thermocouple produces a slightly negative output it can be read by the A/D.

To assure that the thermocouple voltage lies within the A/D's common mode range, one side of the thermocouple is connected to the analog ground. If you use buffered mode (that is with the BUFFER turned ON) the common mode range of the A/D no longer extends to analog ground, so you must connect one side of the thermocouple to a voltage guaranteed to always be within the common mode range – connecting it to the +2.5V reference suffices, as shown in the following figure.

Thermocouple circuit schematic showing ceramic capacitor RC filters on the ADC inputs to suppress noise pickup in thermocouple measurements.

If the thermocouple is not connected to a fixed voltage within the converter's common mode range, but instead is allowed to float, then it may act as an antenna and pick up considerable noise.

When reading the thermocouple, bipolar mode is used so that both positive and negative voltages with respect to the negative input (CH_7) can be measured. It is read with a gain of 128, allowing an input range up to 19.5 mV.

The cold junction thermistor shown here is a standard 10kΩ at 25°C thermistor. It is placed in series with a precision 10kΩ ±0.1% resistor and driven from the 2.5V reference voltage. It is measured in pseudo-differential mode with a gain of unity, between channels CH_1 and CH_7.

The other sensors are measured as described in Measuring temperature sensors using the 24/7 Data Acquisition Wildcard.

 

Cold junction compensation using a thermistor

The above diagram shows a thermistor mounted on the cold junction to measure its temperature. That temperature measurement may be used to compensate the thermocouple reading as follows:

  1. The thermocouple voltage is measured by the A/D using bipolar, pseudo-differential mode on channel pair CH_0/CH_7. The raw conversion result can be thought of as a 32-bit number, or as a 24-bit result that is left-justified within a 32-bit field. The midpoint of the 24-bit conversion result, that is 223, corresponds to a differential voltage of zero, positive voltages are represented by counts between 223 and 224-1, and negative voltages by counts between 223 and 0. This 24-bit result is left-justified within a 32-bit field.

    The 32-bit A/D result is converted to a voltage by first dividing by 28 (or arithmetically shifting right by 8 places), subtracting 223 (which corresponds to the zero offset), dividing by the A/D gain (G = 128 = 27), and multiplying by the A/D's volts per count (5V/224). The result is now in volts. The full, but unoptimized computation is,

    Equation converts the analog to digital converter's counts into measured thermocouple voltage

    where CTC is the 32-bit count from the thermocouple, G is the A/D gain, and vm is the measured thermocouple voltage.

  2. The thermistor voltage is measured similarly, in this case using unity gain and unipolar mode so that input voltages from 0 to 5V correspond to a 32-bit result (the A/D's 24-bit result left justified in a 32-bit long integer) from 0 to 232-1, with half scale, 231, corresponding to a thermistor resistance equal to the reference resistance. The A/D result is converted into the cold junction temperature, TCJ, using a rational polynomial function approximation, as described in Using Thermistors. The conversion is done in two steps. First the thermistor A/D counts are converted to a parameter, x, as,

    Equation converts the thermistor A/D conversion counts into measured thermistor temperature.

    where CTH is the A/D conversion result for the thermistor measurement and n=32. Then the cold junction temperature is computed as,

    Equation computes thermocouple cold junction temperature from a thermistor measurement using a rational polynomial function

  3. The cold junction temperature is converted into a cold junction thermocouple voltage using a polynomial or rational polynomial function approximation as described in Converting cold junction temperature to thermocouple potential, using an equation of the form,

    Equation converts the measured cold junction temperature into a cold junction thermocouple voltage using a polynomial or rational polynomial function approximation

  4. The cold-junction-compensated thermocouple voltage is then computed as,

    Equation calculates cold-junction-compensated thermocouple voltage from measured thermocouple voltage and calculated cold junction thermocouple voltage

  5. Finally, the compensated thermocouple voltage is transformed into the measured temperature using a rational polynomial function approximation as described in Converting thermocouple voltage to temperature, using an equation of the form,

    Equation transforms cold junction compensated thermocouple voltage into measured temperature using a rational polynomial function approximation

Several of the steps outlined above may be combined for greater computational efficiency. For example, instead of converting the thermistor A/C counts to a resistance, then to a temperature, then to an equivalent thermocouple cold junction potential, the operations of steps 2 and 3 above can be combined to convert more directly from A/D counts to the cold junction temperature using a single rational polynomial expression, as,

Centering and scaling A/D counts prior to computing cold junction compensation thermocouple voltage.
and
A single rational polynomial function directly converts analog to digital converter counts into cold junction thermocouple voltage

For type K thermocouple voltage in millivolts, and using a US Sensor Curve J 10kΩ thermistor, the coefficients of the above model are,

Coefficients for converting Curve J thermistor counts
to cold junction Type K thermocouple voltage (millivolts)
Coefficient Value
co 1.0000
c1 -4.0257
c2 -7.3422
c3 11.819
c4 18.136
c5 2.1406
c6 -3.5823
c7 -7.5824

The above model produces the cold junction potential with an average absolute error of 0.003°C over a range of 0 to +75°C. This cold junction voltage is then used in steps 4 and 5 above to compute the measured temperature. An Excel file of K type thermocouple data is available showing the data used in this fit.



See also → Cold Junction Compensation

 
This page is about: Thermocouple Cold Junction Compensation, Convert Thermocouple Voltage to Temperature, Convert Thermocouple Temperature to Voltage, ITS-90 Thermocouple Coefficients, N Type N, J Type J, R Type R, S Type S, T Type T, E Type E, K Type K – Thermocouple calibration and thermocouple cold junction compensation by measuring cold junction block temperature with a thermistor reference, RTDs or semiconductor IC temperature sensors and applying a calibration equation to convert voltage to temperature, using type N, type J, type R, type S, type T, type E, or type K thermocouples. Rational polynomial functions convert thermocouple voltage to temperature more accurately than ITS-90 polynomial functions and coefficients. thermocouple mV to temperature, thermocouple wire, thermocouple elements, NIST ITS-90, polynomials curve fit, thermocouple probes, N type, J type, R type, S type, T type, E type, K type thermocouples
 
 
Navigation