This version (04 Dec 2012 17:38) was approved by Brandon, JFitzger.The Previously approved version (19 Sep 2012 20:12) is available.Diff

Complete Type T Thermocouple Measurement System with Cold Junction Compensation (CN0206)

Overview

This circuit is a complete thermocouple system based on the AD7793 24-bit sigma-delta analog-to-digital converter (ADC). The AD7793 is a low power, low noise, complete analog front end for high precision measurement applications. The device includes a programmable gain amplifier (PGA), an internal reference, an internal clock, and excitation currents, thereby greatly simplifying the thermocouple system design.

The AD7793 consumes only 500uA maximum, making it suitable for any lower power application, such as smart transmitters where the complete transmitter must consume less than 4mA.

Because the AD7793 provides an integrated solution for thermocouple design, it interfaces directly to the thermocouple. For the cold junction compensation, a thermistor along with a precision resistor is used. There are the only external components required for the cold junction measurement other than some simple RC filters for EMC considerations.

General Setup

Minimum PC/System Requirements

  • One PC with the following
    • Windows XP SP2, Windows Vista or Windows 7 Business/Enterprise/Ultimate editions
    • Intel Pentium processor (x86 compatible), 1GHz or faster
    • 512 MB RAM and 2 GB available hard disk space
    • .NET 3.5 Framework

How to Install the Evaluation Software

  1. Extract the files within the file CN0206 SDP Eval Software.zip and open the file setup.exe. It is recommended that you install the CN0206 SDP Evaluation Software to the default directory path C:\Program Files\Analog Devices\CN0206\ and all National Instruments products to C:\Program Files\National Instruments\
  2. Press “Next”.
  3. Press “Next”.
  4. Press “Next”.
  5. Upon completion of the installation of the CN0206 SDP Eval Software, the installer for the ADI SDP Drivers will execute. Follow the on-screen prompts to install the drivers. It is recommended that you close all other applications before clicking “Next”. This will make it possible to update relevant system files without having to reboot your computer. It is recommended that you install the drivers to the default directory path C:\Program Files\Analog Devices\SDP\Drivers\
  6. Press “Next”.
  7. Press “Finish” to install the Drivers and complete the installation of all software necessary to evaluate the EVAL-CN0206-SDPZ

Step by Step Instruction for Connecting the Hardware

  1. Connect the EVAL-SDP-CS1Z and the EVAL-CN0206-SDPZ PCB’s using the 120 pin male and female connectors found on the respective boards.
  2. Plug the mini end of the USB cable into connector J2 of the EVAL-SDP-CS1Z and connect the other end of the USB cable into the Laptop or PC.
  3. Plug in the wall wart and connect it to connector J2 of the EVAL-CN0206-SDPZ.
  4. Plug one end of the t-type thermocouple wire into the thermocouple source.
  5. Plug the second end of the t-type thermocouple wire into connector J1 on the EVAL-CN0206-SDPZ.
    1. Line up the colors of the metal on the male end with the colors of the metal on the female end.

Opening and Enabling the Evaluation Software

  1. Launch the executable found at C:\Program Files\Analog Devices\CN0206 and press the “Connect“ button.
  2. After pressing the “Connect” button, a prompt will appear informing the user if the ADC was properly configured. Press “Ok” and the software is ready to use. If the ADC is not configured properly, disconnect the entire setup and start over.

Step by Step Instruction to Using the Evaluation Software

  1. The following is a list of all available software controls and displays, grouped according to their location in the software:
    1. System Controls
      1. Connect – This button configures the AD7793 by writing to the necessary registers. A prompt will appear informing the user if the ADC was properly configured.
      2. Disconnect – This button will disconnect the EVAL-CN0206-SDPZ board.
    2. Data Acquisition Controls
      1. # of Samples – This control determines the number of samples displayed on the chart found in the main tab of the evaluation software.
      2. Acquire Samples- This button polls the data ready bit in the AD7793 status register. When this bit is set, LabVIEW reads the data registers and displays the temperature data on the chart found in the evaluation software.
      3. Save Data to File – This button saves all data displayed in the LabVIEW chart.
      4. Clear Data – This button clears all data displayed in the LabVIEW chart.
  2. Main Tab - This tab contains displays for the Sampled Data, Histogram, Calibration Procedure and Administration purposes.
    1. Sample Data - This page contains a waveform chart visually displaying the temperature readings taken after clicking the Acquire Samples button.
    2. Histogram - This page contains a histogram allowing the user to see the distribution of codes for a particular input temperature.
    3. Calibration - This page contains the controls necessary to calibrate the entire thermocouple system using a two-point linear interpolation.
      1. Calibrate - This button will calculate the calibration coefficients based on two data points gathered on the Sampled Data page.
        1. Data Point One - The first data point is (Input Temp1, Output Temp1).
          1. Input Temp1 - This is the input temperature set by the thermocouple source (i.e -180°C).
          2. Output Temp1 - This is the output temperature conversion from the ADC.
        2. Data Pint Two - The second data point is (Input Temp2, Output Temp2).
          1. Input Temp2 - This is the input temperature set by the thermocouple source (i.e 380°C)
          2. Output Temp2 - This is the output temperature conversion from the ADC.
      2. Delete Calibration - This button will delete the calibration coefficients by writing '0' to the offset and '1' to the gain. Any samples taken without calibrating will produce results with significant errors.
    4. Administration - This page provides access to several controls for the EVAL-SDP-CS1Z or EVAL-SDP-CB1Z controller board.
      1. SCLK (Hz) - This control allows the user to change the SPI interface clock frequency.
      2. FS (Hz) - This control allows the user to change the SPI interface frame frequency.
      3. Select SDP Connector - This control allows the user to select which connector is utilized on the EVAL-SDP-CB1Z
      4. Read Firmware - This control allows the user to read the firmware information from the SDP controller board.
      5. Flash LED - This control allows the user to flash the LED found on the SDP controller board.

Calibration

  1. This section explains the steps required to properly calibrate the EVAL-CN0206-SDPZ thermocouple system.
    1. Navigate to the Calibration Page on the Main Tab. PICTURE HERE
    2. In Data Acquisition Controls, set the # of Samples to 1.
    3. Navigate to the Data Sampling page in the main tab.
    4. Set the thermocouple source to -180°C (This is Input Temp 1) and press the Acquire Samples button found in the Data Acquisition Controls.
    5. Observe the temperature reading in the digital display below the chart (This is Output Temp1)
    6. Repeat steps one through four but make Input Temp2 350°C.
    7. Navigate back to the Calibration Page on the Main Tab and press Calibrate. This will complete the two point calibration and any future samples converted by the ADC will automatically be corrected.
    8. The thermocouple response is non-linear and depending on the temperature range of interest, the calibration inputs can be changed by the user to provide different results.
resources/eval/user-guides/circuits-from-the-lab/cn0206.txt · Last modified: 04 Dec 2012 17:37 by Brandon