English
Language : 

MCP4726A2T-E Datasheet, PDF (68/86 Pages) Microchip Technology – 8-/10-/12-Bit Voltage Output Digital-to-Analog Converter
MCP4706/4716/4726
8.6 Designing a Double-Precision
DAC
Figure 8-7 shows an example design of a single-supply
voltage output capable of up to 24-bit resolution. This
requires two 12-bit DACs. This design is simply a
voltage divider with a buffered output.
As an example, if a similar application to the one
developed in Section 8.5.1 “Bipolar DAC Example
Using MCP4726” required a resolution of 1 µV instead
of 1 mV, and a range of 0V to 4.1V, then 12-bit
resolution would not be adequate.
Step 1: Calculate the resolution needed:
4.1V/1 µV = 4.1 x 106. Since 222 = 4.2 x 106,
22-bit resolution is desired. Since
DNL = ±0.75 LSb, this design can be attempted
with the 12-bit DAC.
Step 2: Since DACB’s VOUTB has a resolution of 1 mV,
its output only needs to be “pulled” 1/1000 to meet
the 1 µV target. Dividing VOUTA by 1000 would
allow the application to compensate for DACB’s
DNL error.
Step 3: If R2 is 100Ω, then R1 needs to be 100 kΩ.
Step 4: The resulting transfer function is shown in the
equation of Example 8-6.
Optional
VREF VDD
VOA
MCP4726 (A)
I2C™
R1
2-wire
Optional
VREF VDD
0.1 µF
VCC+
VOUT
R2
MCP4726 (B)
VOB
I2C™
2-wire
VCC–
FIGURE 8-7:
Simple Double Precision
DAC using MCP4726.
EQUATION 8-6: VOUT CALCULATION
VOUT =
VOA * R2 + VOB * R1
R1 + R2
Where:
VOA = (VREF * G * DAC A Register Value)/4096
VOB = (VREF * G * DAC B Register Value)/4096
G = Selected Op Amp Gain
8.7 Building Programmable Current
Source
Figure 8-8 shows an example of building a
programmable current source using a voltage follower.
The current sensor resistor is used to convert the DAC
voltage output into a digitally-selectable current source.
The smaller RSENSE is, the less power dissipated
across it. However, this also reduces the resolution that
the current can be controlled.
Optional
VREF VDD
MCP47X6
VCC+
VOUT
VDD
(or VREF)
Load
IL
I2C™
2-wire
Ib
VCC–
Ib = I-β--L-
RSENSE
IL = R-V---s-O--e--Un---s-T-e × β-----+-β-----1-
where β = Common-Emitter Current Gain.
FIGURE 8-8:
Source.
Digitally-Controlled Current
DS22272C-page 68
© 2011-2012 Microchip Technology Inc.