Design Ideas: November 9, 1995
The circuit in Figure 1 acquires temperature data via an IBM PC serial port using a thermocouple-based sensor. The sensor is a type-K (chromel-alumel) thermocouple. When in contact, the dissimilar metals produce a potential difference that is a function of temperature. Additional thermocouple junctions form where the chromel and alumel make contact with the copper connections of the signal-conditioning circuitry. Thermocouple measurements are inherently differential. Placing the incidental (chromel- and alumel-copper) thermocouple junctions in an ice bath traditionally maintains the reference junction.
In this circuit, the LT1025 cold-junction compensator provides the signal conditioning. The compensators voltage varies with the temperature of the reference junction in such a way that when summed with the thermocouple voltage, the combination behaves as if the reference junction were maintained at 0°C. (You should place the compensator as close as possible to the reference junction.) The compensator also linearizes the output of the thermocouple and is markedly more convenient than an ice bath.
The LTKA00 thermocouple amplifier provides gain adjustment. A two-pole Butterworth filter provides noise reduction and scales the applied signal to the ±5V input range of the SP574 ADC. The circuit adjusts for offset by applying a buffered fraction of the converters internal reference voltage to the bipolar offset pin.
A falling edge on the read-convert bar (R/C) of the ADC initiates a conversion (Figure 1b). With R/C low, the shift-load pins (SHFT/LD) of the 74HC165 parallel-in/serial-out shift registers are high. This high level places the registers in shift mode, so that the circuit can shift out the previous conversions data. When R/C goes high, the registers load an updated conversion.
The SP231A RS-232C driver/receiver contains a charge pump and produces the required RS-232C output levels from a 5V supply. The data-terminal-ready (DTR) signal toggles R/C. The request-to-send (RTS) signal produces the clock signal used by the shift register (SCLOCK). The data output from this register toggles the clear-to-send (CTS) signal.
The accompanying Quickbasic program, which you can download from EDN BBS /DI_SIG #1782 (dial (617) 558-4241 with modem settings 300/1200/2400, 8,N,1), writes and reads these digital signals and produces appropriate delays to allow the ADC sufficient time for a conversion. (DI #1782)