アプリケーションノート 1031

直線性0.05%の低電力3V ADC


要約: このアプリケーションノートは、ディジタル-アナログコンバータ(DAC)とコンパレータを内蔵したマイクロコントローラ(µC)を使用した直線性が0.05%の低コストADCの作成について説明します。

The simple 3V analog-to-digital converter (ADC) shown in Figure 1 is very small, requires no negative supply or expensive precision components, and draws minimal supply current (10µA). A single conversion consists of 12,000 comparisons and takes about 300ms. The circuit operates as described below.

Figure 1. This inexpensive, 0.05%-linear ADC can be added to existing equipment or used to upgrade the converter included in certain µCs (such as the PIC 16C71).
Figure 1. This inexpensive, 0.05%-linear ADC can be added to existing equipment or used to upgrade the converter included in certain µCs (such as the PIC 16C71).

Following each comparison, the microcontroller (µC) closes one of two switches: IC2A (comparator high) or IC2B (comparator low). The switches connect either VREF (1.2V) or ground to their "B" terminals, producing a pulse-width modulation (PWM) signal that is filtered by R3 and C1 and differentially integrated against VIN. The result is compared against VREF.

As this action integrates the error voltage up and down, the µC counts the number of comparisons for which the comparator output is high (IC2A switch closed). This count (NH) divided by 12,000 equals the PWM duty cycle. The system is fully ratiometric, so the duty cycle equals NH/12000 = VIN/VREF. Rearranging and substituting VREF = 1.2V yields VIN = NH/10,000.

Listing 1* enables the the LCD module to display voltage values directly, like a digital panel meter. The subroutine "DVM" produces the actual A/D-conversion values required in an embedded application. Setting the span constant (number of comparisons) to 12,000 yields a 300ms conversion with 4-1/2 digits of resolution and produces a 1.1999 full-scale display. You can speed the conversion to 30ms by setting the span constant to 1200, which produces a 3-1/2 digit display that reads 1.199 at full scale.

IC2's near-ideal switching characteristics account for the low 0.05% nonlinearity. A high-performance, 3V-specified version of the industry standard 4066, IC2 is a quad analog switch that features 35Ω on-resistances and 0.1nA (max) off leakages. You can save space by replacing IC2 with the MAX323 dual analog switch: a 3V single-pole/single-throw device with specifications similar to those of the MAX4066. The MAX323 resides in an 8-pin µMAX package (versus a 14-pin SO for the MAX4066).

VCC is limited to the maximum allowed by the µC (6V). IC1, which operates with VCC as low as 2.8V over temperature, draws only 7µA of supply current. The voltage reference in IC1 is stable for capacitive loads smaller than 100pF or larger than 0.05µF. To ensure stability, the reference's external bypass capacitor (C3) should be kept large.

Figure 2. In Figure 1, the output nonlinearity (as a percentage of full scale) varies as shown.
Figure 2. In Figure 1, the output nonlinearity (as a percentage of full scale) varies as shown.

A similar version of this article appeared in the June 19, 1997 issue of EDN magazine.
次のステップ
EE-Mail EE-Mail配信の登録申し込みをして、興味のある分野の最新ドキュメントに関する自動通知を受け取る。
Download ダウンロード、PDFフォーマット
© , Maxim Integrated Products, Inc.
このウェブサイトのコンテンツは米国および各国の著作権法によって保護されています。コンテンツの複製を希望される場合は お問い合わせください。.
APP 1031:
アプリケーションノート 1031,AN1031, AN 1031, APP1031, Appnote1031, Appnote 1031