|
|
One Chip, To reduce the size and increase the performance of your transformer temperature monitor, consider integrating several features on a single chip.
Don Hollands, Qualitrol Corp. A typical transformer temperature monitor for the North American market incorporates multiple thermocouple or RTD inputs, relay outputs to control a fan or alarm, a display to indicate the current highest temperature, and output signal connectivity, typically via a 4–20 mA loop or an RS-232/RS-485 interface. European and Asian markets, however, demand a much smaller package size, higher performance, and lower cost. To meet this need, Qualitrol developed a new version of its North American temperature monitor. The basic functional requirements for the new product were:
One-Chip Solution
To minimize size and cost, the company looked for a chip to integrate as many of the functions as possible in one package, including a high-resolution A/D converter. It found the 52-pin PQFP AduC812 from Analog Devices. Some additional advantages that the ADuC812 offers over the larger design include:
The significant reduction in parts count afforded by the ADuC812 (see Figure 2) helped Qualitrol meet its overall package size reduction goals.
With all the functions built into the ADuC812, the hardware design of the circuit was straightforward. The big design task was the firmware. The ADuC812 QuickStart development kit includes a printed circuit board with an ADuC812 chip. The kit’s software has an assembler, a debugger, a serial downloader, and simulation tools. For Qualitrol’s purposes, the most useful tool in the ADuC812 kit proved to be the simulator program, which allows the assembled or compiled code to run on a Windows PC, showing the activity of all RAM, Flash/ EEROM, registers, and ports. The simulator can perform all the peripheral functions (e.g., A/D conversion, D/A conversion, user Flash/EEROM), as well as the core code. For Qualitrol, this was a great help when testing the code that read the A/D input, accessed calibration data stored in flash memory/EEROM, and calculated the temperature in C, enabling on-the-fly input value changes to check for proper operation under all conditions, including out-of-range and negative values. Once the simulation was working well, Qualitrol used the evaluation board to verify that the real part worked like the simulation. It also allowed testing of the serial data functions and verification of the timing of the different functions. The evaluation board also provides space to add additional parts, enabling tests of the mA output loop.
Application Details The cost-sensitive nature of the product demanded that the unit be capable of being tested and calibrated without human intervention. A factory test mode implemented through the RS-232 port lets the test fixture exercise the functions of the unit, as well as perform an automatic calibration. The manufacturer calibrates the unit by applying known inputs and reading the output of the A/D converter. This lets it calculate calibration constants and then store them in nonvolatile memory. Firmware uses these constants to convert the A/D count to C for the display. The D/A converter outputs are calibrated in a similar fashion. One output is calibrated to give 0–1 mA in the current loop, and the other is calibrated to give 4–20 mA. The user can then select one or the other via the firmware—no jumpers or components need be changed to or switched from one to the other.
Because there are no manual trim options on the analog input channels, the design had to accommodate the worst-case tolerance conditions on the input circuits so that the worst-case low output and the worst-case high output fall within the active range of the A/D converter. This means that for any given set of input circuit component values the full range of the A/D converter is not available. With the 12-bit A/D converter, Qualitrol achieved 9 A/D counts/°C. If a 10-bit A/D converter had been used, there would be only 2 A/D counts/°C. This lower count would have made it more difficult to achieve the desired accuracy and display stability.
Dan Hollands is Senior Electronics Engineer, Qualitrol Corp., 1385 Fairport Rd., Fairport, NY 14450; 716-586-1515, x-222, fax 716-377-6235, dan.hollands@qualitrolcorp.com. |
|
|