DigitaltoAnalog Converter Architectures
DigitaltoAnalog Converter Architectures
Digital-to-Analog Converter
Arch itectu res
79
80 Digital-to-Analog Converter Architectures Chap. 5
a coarse section and a fine section so that the number of devices becomes
proportional to approximately 2m / 2 rather than 2m , where m is the overall
resolution. Such an architecture is shown in Figure 5.1(a). In this circuit, a
primary ladder divides the main reference voltage, generating 2 j equal voltage
segments. One of these segments is selected by the j most significant bits of
the input and subdivided by a factor of 2k using a secondary ladder such that
k + j = m. If k = j, the number of devices in this architecture is proportional
to 2m / 2 • It is also possible to utilize more than two ladders to further reduce
the number of devices at high resolutions.
Figure 5.1(b) depicts a simple implementation of this architecture using
MOS switches that are driven by l-of-n codes in both stages [1]. Depending
on the environment, these codes are generated from binary or thermometer
code inputs.
The architecture of Figure 5.1(b) suffers from several drawbacks due to
the switched subdivider. First, the finite on-resistance of the MOS switches
used in the first multiplexer introduces differential nonlinearity at the output.
Figure 5.2 illustrates this effect. Here, R u I and R u 2 represent the unit resistors
of the primary and secondary ladders, respectively, and Ron denotes the switch
on-resistance. Neglecting the current drawn by the secondary ladder, suppose
the input code is such that the subdivider is connected to nodes n - 1 and n
and the output voltage is equal to Vn [Figure 5.2(a)]. Now, if the digital input
increments by 1 LSB, the subdivider switches to nodes nand n + 1 and,
as shown in Figure 5.2(b), Vx is taken to the output. Ideally, the difference
between Vx and Vn must be equal to 1 LSB [= (Vn+1 - Vn)/2k ]. But, with the
finite on-resistance of the switches, a finite error results. It can be easily shown
that this error is approximately equal to (Vn+1 - Vn)Ron/(2Ron + 21< R u2). In
order to maintain this error much less than 1 LSB, Ron must be much less than
Ru 2 .
Another source of differential nonlinearity in this architecture is the
loading of the switched subdivider on the primary ladder. If the subdivider
is connected to nodes n - 1 and n of the primary ladder (Figure 5.2), then
Vn - Vn - ) is slightly less than Vn + I - Vn • It can be easily shown that for this
error to be much less than 1 LSB, Rul « Ru 2 .
Switched subdividers also exhibit long settling times. This occurs be-
cause when the subdivider switches from one segment of the primary ladder
to another, all the capacitance associated with the subdivider (MOS device
capacitance, wiring capacitance, etc.) must charge or discharge through the
resistance of the primary ladder, a particularly acute problem if the digital
input goes from zero to full-scale.
Sec. 5.1 Resistor-Ladder DAC Architectures 81
.
CD
>c
•
Q.
;:
"5
:&
Q
o
Ci
e
~
':'
j bits kbits
(a)
Fine
VREF 1-of-n Code
~
.J..
...L.
Coarse
1-of-n
Vout
Code
(b)
Fig. 5.1 Resistor-ladder DAC with switched subdivider. (a) Block diagram;
(b) possible implementation.
82 Digital-to-Analog Converter Architectures Chap. 5
n +1
··· RU 2
n
R U1
···
n -1
··· ···
..
(a) (b)
Fig. 5.2 Equivalent circuit of ladder DAC with switched subdivider. (a)
Subdividing Vn - Vn - I ; (b) subdividing VIl + 1 - VIl.
VREF
• • •
• •
• • •
•
•
•
• • •
• •
• • •
-· (a)
VREF
• •
• __- - 0 + -....- 4
•
•
.-"""',...--"IMr-..-. • •
• • __- - + -....- 4
........ ~~--~
-· (b)
Fig.5.3 Intermeshed resistor-Jadder DACs with (a) one-level multiplexing
and (b) two-level multiplexing.
84 Digital-to-Analog Converter Architectures Chap. 5
this capacitance, the output nodes of the secondary ladders can be multiplexed
[3] as depicted in Figure 5.3(b). In this circuit, the switches connected to the
output node comprise a multiplexer and are controlled by the most significant
bits. Note that in contrast with Figure 5.3(a), the resistive path charging the
output node consists of two switches in series, but the overall settling time is
less because the output node capacitance is reduced substantially.
Another approach to reducing the settling time is to precharge the DAC
output node to a proper voltage [3]. For example, in Figure 5.3(b), the output
node of each secondary ladder can be precharged to the middle tap voltage of
that ladder so that the output voltage is already a coarse estimate of its final
value.
·1---.....----.. . .- -------.
••
VB ......~t__---_+--
R
_ - - - - ' l l f t f t r - -.....- ~ . _ _ _ • • • 0-4..-~'V\r--.....
VB _--+----+------+------1
(a)
(b) (c)
Fig. S.5 (a) Simplified circuit of a 3-bit current-steering DAC; (b) equivalent
circuit of (a); (c) equivalent circuit of (b).
these devices with an equivalent circuit yields that in Figure 5.5(c), from
which it follows that /2 = 11 + 10 + l« = 41a . Thus, 12, II, and 10 are
binary-weighted.
86 Digital-to-Analog Converter Architectures Chap. 5
In contrast with the binary weighting discussed in Section 4.3.2 and de-
picted in Figure 4.8, the architecture of Figure 5.4 does not require a wide
range of scaling for the resistors. Nonetheless, the transistors must still be
scaled, a requirement that results in both large chip area and large capaci-
tance at their collector nodes. To mitigate these problems, some of the LSB
transistors can remain unsealed, with the resulting error corrected by addi-
tional circuit techniques [8]. As an example, consider the two current sources
shown in Figure 5.6(a), where the emitter resistors of Q I and Q2 are scaled
by a factor of 2 but the transistors have equal area. If the voltage drop across
the emitter resistors is much greater than Vr, then 12 ~ 2/1 and
/2 II
VBE,2 - VBE, 1 = Vr In - - VT I n - (5.1 )
/52 lSI
~ Vr In2, (5.2)
where lSI and IS2 are the saturation currents of QI and Q2, respectively.
Thus, 11 is greater than its ideal value by approximately (Vr In 2)/ (2R).
Vb 1
AE AE
2R 2R
VEE
(a) (b)
Fig. 5.6 (a) Current sources with scaled emitter resistors but unsealed tran-
sistors; (b) error correction using a voltage source equal to Vr In 2.
2/ 1 + (Vr In 2)/ R
VBE ,2 - VBE, ) = Vr In - ------ (5.3)
II
Vr
~ VT(l + --) In 2. (5.4)
2RI)
Nonetheless, typically 2RI] » Vr, and (5.2) provides a reasonable approxi-
mation.
Sec. 5.2 Current-Steering Architectures 87
(a)
--------------11
RC
ro------.-----.....---I·
r--+-----.--+------+ --tll
. . - - - - -......+---+--~I.
(a)
..-----.----.....----11· I'
2R 2R
'out 'out - . . - -----e
(b) (c)
used in these circuits makes it possible to laser-trim these resistors, thus cor-
recting mismatch errors. However, unlike segmented arrays, these archi-
tectures do not exploit error averaging due to a large number of nominally
identical devices and hence require tighter matching of the components.
Another drawback of these architectures is their potentially large glitch
area. To study this effect, consider the simplified circuit of a 4-bit DAC
shown in Figure 5.10. First, suppose the digital binary input is equal to 1000
and hence only the MSB current source is switched to the output. Now, if
the digital input goes to 0111, the MSB current source turns off while the
other three turn on and the output changes by I RL. In practice, however,
the digital signals driving the switches suffer from finite risetime and falltime
as well as timing skews. For example, during the transition from 1000 to
0111, all four switches may be partially off for a short time. Thus, the output
current momentarily reaches a value different from either 8/ or 7/, causing
a glitch.
Timing skews can be suppressed through the use of on-chip latches to
sample and align the incoming digital signals and apply only the sampled val-
ues to the current switches. Finite transition times and clock skews, however,
still result in output glitches.
90 Digital-to-Analog Converter Architectures Chap. 5
- -
----oVout .....- --oVout
Vout
- 8/RL ---- -,
-7/R L -_•••••••••• -
-.
....------.__---4..._-----,..-....g Vout
...
Binary-Thermometer Decoder
=r::::::r=
Binary Input
Fig. S.11 Segmented current-steering DAC.
number of devices in the array becomes quite large, leading to a high ca-
pacitance at the output node. Furthermore, the binary-thermometer decoding
logic occupies a large area and requires substantial power dissipation. Even
though fully segmented architectures have been used for resolutions as high
as 10 bits [11] (to minimize the glitch impulse), it is often more efficient to
partition the DAC into a segmented coarse sub-DAC and a binary-weighted
fine sub-DAC whose output currents are simply added. In other words, for
a resolution of m = k + n, the k most significant bits are converted to ther-
mometer code and drive a 2k -unit segmented array, while the remaining n bits
are directly applied to an n-bit binary array. Called the partially segmented
architecture, this topology is illustrated for k = 6 and n = 4 in Figure 5.12.
Here, an R-2R ladder performs the binary weighting in the same manner as
described in Section 5.2.1.
The choice of k and n in general depends on the matching of the current
sources and the tolerable glitch area. Typical values for k range from 4 to 7.
In the architecture of Figure 5.12, the complexity of the binary-thermo-
meter code conversion, the large number of current sources, and the issues
related to routing signals place stringent requirements on floor planning and
layout. An efficient approach is to arrange the current sources and part of
the decoding in a matrix, as shown in Figure 5.13(a) [12]. Here, binary-ther-
mometer conversion is performed in two steps: row and column decoding
followed by local decoding within each cell of the matrix. In the first step, the
92 Digital-to-Analog Converter Architectures Chap. 5
-.
11 = ... =163 =10 ,...--....- -.....- -.....---4...-.--11·
input binary word (D6 . . . Di) is partitioned into two subwords (D6DSD4 and
D3D2Dl) each of which is converted to a thermometer code. The resulting
codes are distributed across the matrix as depicted in Figure 5.13(a). In the
second step, the row and column thermometer codes are combined locally
to determine the required status of each current source. To implement local
decoding, we note that for any digital input, each row falls in one of three
categories [12]: (1) rows in which all current cells are on, (2) rows in which
all current cells are off, and (3) a certain row in which so-me of the current cells
are on. To determine the status of each cell, the row and column thermometer
codes are locally combined around each current source. Figure 5.13(b) shows
an example where two adjacent bits of the row thermometer code and one bit
of the column thermometer code are used to generate the control signal for
the current source.
While providing a simple, modular layout, the matrix configuration must
deal with two difficulties. First, the analog output line inevitably experiences
a great deal of coupling from the digital signals that flow in both horizontal
and vertical directions within the matrix. In bipolar implementations, this
effect is minimized through the use of relatively small (~ 0.5 V) differential
signals for column and row thermometer codes. In CMOS circuits, on the
other hand, these signals are typically rail-to-rail and single-ended, resulting
in substantial coupling to the analog output.
The second issue stems from the wiring capacitance of the analog output
line. This line must reach all the cells, and its total length is given primarily
by the size of each cell. Since the cells must be large enough to accommodate
local decoding (and a current source), the total length of the analog output
line and hence the output settling are quite long.
Sec. 5.2 Current-Steering Architectures 93
..... Column
Thermometer Code
.........................
Ds
~~~
1--+--+--+--1-......-+--+--1
.......·:·
~ Local
: Decoder
•••• :
!
.....
)
t
·.........................
(a)
(b)
Fig.5.13 (a) Matrix floorplan for segmented DACs, (b) local decoding.
lout -~----.------
.----+-- - - + - ----4I~-ofI'
.
r ::
j , ,.
/4 .
0 0 6
-oDs
Fig. 5.14 Partially segmented architecture proposed by Shoeff.
For Din = 24 , /s is switched directly to the output; i.e., lout = 14 + Is. Again,
the difference between output currents corresponding to Din = 24 - 1 and
Din = 2 is equal to 10, thereby preserving monotonicity. The same switching
4
REFERENCES
[1] H. U.PostandK.Schoppe, "A 14BitMonolithicNMOSD/AConverter,'
IEEE J. Solid-State Circuits, vol. SC-18, pp. 297-302, June 1983.
Chap. 5 References 95