CN0075: USB Based Temperature Monitor Using the ADuC7061 Precision Analog Microcontroller and an External RTD

Engineered. Tested. Ready to Integrate.詳細をみる

回路の説明

回路の機能とその利点
  • Typical temperature range of 0 C to +100 C
  • 18-bits Noise Free Code Resolution
  • RTD temperature monitor
  • Single chip solution with ARM 7 processing core
使用されている製品
    アプリケーション: 
  • フィールド機器/スマート・トランスミッタ
  • 温度調節器
  • センサー/センサー インターフェース
  • 産業向高温動作用

CIRCUIT FUNCTION AND BENEFITS

This circuit shows how the ADuC7061 precision analog microcontroller can be used in an accurate RTD temperature monitoring application. The ADuC7061 integrates dual 24-bit Σ-Δ ADCs, dual programmable current sources, a 14-bit DAC, and a 1.2 V internal reference as well as an ARM7 core, 32 kB flash, 4 kB SRAM, and various digital peripherals such as UART, timers, SPI, and I2C interfaces. The ADuC7061 is connected to a 100 Ω RTD.

In the source code, an ADC sampling rate of 100 Hz is chosen. When the ADC input PGA is configured for a gain of 32, the noise free code resolution of the ADuC7061 is greater than 18 bits.

Figure 1: ADuC7061 As a Temperature Monitor Controller with an RTD Interface (Simplified Schematic, All Connections Not Shown)

CIRCUIT DESCRIPTION

The circuit shown in Figure 1 is powered entirely from the USB interface. The 5 V supply from the USB is regulated to 2.5 V using the ADP3333 2.5 V low dropout linear regulator. The regulated 2.5 V supplies the DVDD voltage to the ADuC7061. The AVDD supply to the ADuC7061 has additional filtering as shown. A filter is also placed on the USB supply at the input of the linear regulator.

The following features of the ADuC7061 are used in this application:

Primary 24-bit Σ-Δ ADC with programmable gain amplifier (PGA): The PGA is set for a gain of 32 in the software for this application.
Programmable excitation current sources for forcing a controlled current through the RTD: The dual current sources are configurable in 200 μA steps from 0 μA to 2 mA. For this example, a 200 μA setting was used.
External voltage reference for the ADC in the ADuC7061: For this application, we used a ratiometric setup where an external reference resistor (RREF) is connected across the external VREF+ and VREF− pins. Alternatively, an internal 1.2 V reference is provided in the ADuC7061.
ARM7TDMI® core: The powerful 16-/32-bit ARM7 core with integrated 32 kB flash and SRAM memory runs the user code that configures and controls the ADC, processes the ADC conversions from the RTD, and controls the communications over the UART/USB interface.
UART: The UART was used as the communication interface to the host PC.
Two external switches are used to force the part into its flash boot mode: By holding S1 low and toggling S2, the ADuC7061 will enter boot mode instead of normal user mode. In boot mode, the internal flash may be reprogrammed through the UART interface.

The RTD used in the circuit is a platinum 100 Ω RTD, model number Enercorp PCS 1.1503.1. It is available in a 0805 surface-mount package. This RTD has a temperature variation of 0.385 Ω/°C.

Note that the reference resistor, RREF, should be a precision 5.62 kΩ (±0.1%).

The USB interface to the ADuC7061 is implemented with an FT232R UART to USB transceiver, which converts USB signals directly to the UART.

In addition to the decoupling shown in Figure 1, the USB cable itself should have a ferrite for added EMI/RFI protection. The ferrite beads used in the circuit were Taiyo Yuden, #BK2125HS102-T, which have an impedance of 1000 Ω at 100 MHz.

The circuit must be constructed on a multilayer PC board with a large area ground plane. Proper layout, grounding, and decoupling techniques must be used to achieve optimum performance (see Tutorial MT-031, Grounding Data Converters and Solving the Mystery of "AGND" and "DGND," Tutorial MT-101, Decoupling Techniques, and the ADuC7061 Evaluation Board layout).

Code Description
The source code used to test the attached circuit can be downloaded as a zip file at www.analog.com/cn0075_source.

The UART is configured for a baud rate of 9600, 8 data bits, no parity, no flow control. If the circuit is connected directly to a PC, a communication port viewing application such as HyperTerminal can be used to view the results sent by the program to the UART. See Figure 2. The source code is commented to make it easier to understand and manipulate.

For details on linearization and maximizing the performance of the circuit, refer to Application Note AN-0970, RTD Interfacing and Linearization Using an ADuC706x Microcontroller.

Figure 2. Output of HyperTerminal Communication Port Viewing Application

COMMON VARIATIONS

The ADP7102 regulator can be used as a newer alternate to the ADP3333. If more GPIO pins are required on the microcontroller, the ADuC7060, which comes in a 48-LFCSP or 48-LQFP package, is another option. Note that the ADuC7060/ADu7061 can be programmed or debugged via a standard JTAG interface. For a standard UART to RS-232 interface, the FT232R transceiver could be replaced with a device such as the ADM3202, which requires a 3 V volt power supply.

この回路に使用されている製品&サンプル:

製品 概要 サンプルが入手可能な製品
ADP3333 レギュレータ、低ドロップアウト、高精度、超低静止電流、300mA、anyCAP® ADP3333ARMZ-2.5-R7 ADP3333ARMZ-5-R7 ADP3333ARMZ-3.15R7 ADP3333ARMZ-1.8RL7 ADP3333ARMZ-3.3-R7
ADP7102 リニア・レギュレータ(LDO)、20V、300mA、CMOS、低ノイズ ADP7102ARDZ-3.0-R7 ADP7102ACPZ-1.5-R7 ADP7102ACPZ-3.3-R7 ADP7102ARDZ-3.3-R7 ADP7102ACPZ-9.0-R7 ADP7102ARDZ-1.5-R7 ADP7102ACPZ-1.8-R7 ADP7102ARDZ-2.5-R7 ADP7102ARDZ-R7 ADP7102ACPZ-5.0-R7 ADP7102ARDZ-9.0-R7 ADP7102ARDZ-5.0-R7 ADP7102ACPZ-3.0-R7 ADP7102ACPZ-R7 ADP7102ACPZ-2.5-R7 ADP7102ARDZ-1.8-R7
ADUC7060 高精度アナログ・マイクロコントローラ、低消費電力、デュアルΣΔADC、フラッシュ・メモリ、ARM7TDMI ADUC7060BCPZ32 ADUC7060BSTZ32
ADUC7061 高精度アナログ・マイクロコントローラ、低消費電力、デュアルΣΔADC、フラッシュ・メモリ、ARM7TDMI ADUC7061BCPZ32
沪ICP备09046653号
この回路へのコメントを送る X
content here.
content here.

この回路へのコメントを送る

閉じる