Software Linearization of An RTD Sensor
Software Linearization of An RTD Sensor
White paper: Optocouplers in Industrial Communication White paper: Selecting the Optimal Inductor for Power Converter Applications
Editors' Picks
Operating Environments Emerge As Mobile Devices Multiply Simple Light Sensor Circuit Features High Dynamic Range Thin Speaker Technology Gets Ready To Revolutionize Audio Markets
There will be many opportunities for designing new products for the smart grid. Jerry Ramie of ARC Technical Resources analyzes the layers of interaction that must be supported.
Powers Next Big ThingMicro Energy Free Noise With Every ADC (While Supplies Last) Medical Devices Get Ready To Make House Calls
January 13, 2010, 04:40 PM February 08, 2010, 09:36 AM February 11, 2010, 12:51 PM
Interfacing a resistance-temperature detector (RTD) to a computerized data-acquisition system requires a resistance-to-voltage (or current) converter (bridge, voltage divider, etc.). Also, it will be necessary to incorporate software routines to convert the ADC units of the data acquisition system back into resistance values. Once the readings from the RTD are converted back into resistance values, the following algorithms can be used to generate temperature readings. The relationship between the temperature and the electrical resistance is described by an equation developed by Callendar and later refined by Van Dusen:
where t is temperature (C), Rt is resistance at 0C (), is the linearity constant, and is a constant determined by the boiling point of oxygen. If the RTD operates at or above 0C, the third term drops out ( = 0). The actual value of can be determined by measuring sensor resistance at the triple point of water (0.01C), the boiling point of water (100C at sea level), and a third point (RT) that can be generated with calibration equipment. Using the measured resistance and temperature values, the equation is solved for d. If the RTD is to operate at temperatures less than 0C, the accuracy of the equation is improved by incorporating a third term. To calculate the value of the coefficient for the third term, its necessary to measure sensor resistance at the boiling point of oxygen (182.962C). Using the resistance values measured at the boiling point of oxygen as RT, the triple point of water, and the boiling point of water, two equations are written and solved for the values of and . To design an algorithm to solve the Callendar-Van Dusen equation, its necessary to generate an intermediate result (t) from the first term. The intermediate value then is used to calculate correction values from the and (if present) terms. The correction values are then algebraically added to the original intermediate value to generate a temperature magnitude.
A simpler, and less accurate, conversion equation can be used to convert the RTD resistance value to a temperature magnitude. This algorithm is based on an approximation of the resistance-totemperature relationship between 0C and 100C for platinum sensors:
where t is temperature (C), Rt is resistance at t (), R0 is resistance at 0C, and is the temperature coefficient of resistance (//C). Two standards exist for the temperature coefficient of resistancein the U.S. = 0.00392 and in Europe = 0.00385. The listing illustrates C++ functions that implement the linearization algorithms given in this article.