You are on page 1of 6

A C IRCU IT FOR ALL SEA SONS

Behzad Razavi

The R-2R and C-2C Ladders

T
The R-2R and C-2C ladders are compact
structures that can provide a variable
impedance and/or a variable gain. As
such, they have found use in analog,
wireless, and wireline circuits. In this
71
78

72
70

73
79

74
80 81

75
76
77
82
Output

56 56 56 56 56
article, we study their properties 60 61 62 63 64
and applications.
50 50 50 50 50
53
The R-2R Ladder 54 51 51 51 51 51
The R-2R ladder dates to the 1960s, 52
14 14 14
as exemplified by the circuit shown 14 14
69 66 67 68
in Figure 1 [1]. Here, resistors 78–81
are equal to R, and 71–77 are equal 64 Binary Register
to 2R, with units 60–64 acting as
switches. The circuit can be viewed FIGURE 1: The R-2R ladder originally disclosed in [1].
as a voltage-mode digital-to-analog
converter (DAC) or a programmable
attenuator operating on the signal
produced by the transformer. R R R R
To understand the R-2R ladder’s R
properties, we begin with the simple 2R 2R 2R RT = R
arrangement depicted in Figure 2(a), Rin
where the horizontal (bridge) and
(a)
vertical (branch) resistors are equal
to R and 2R, respectively, except for R R R R
the termination device, R T , which is I1
2R
equal to R. We compute the imped- 2
I5 2R I4 2R I3 2R I2 R I1
ance seen from the left by noting
that the section in the dashed box is
(b)
equivalent to R and, hence, the over-
all circuit recursively reduces to 2R. R R R
We also see that the choice R T = R is I2 I
I1 2R + 1
necessary for the recursion to pro- I5 2R I4 2R I3 2R I2 2R 2 4
ceed consistently. 2
In the next step, let us tie equal
(c)
current sources from each node to
the ground [Fig ure 2(b)]. We wish Vout
to determine the Norton equivalent I4 I I I
2R I5 + + 3 + 2 + 1
of the circuit as seen from the left. 2 4 8 16
Again, we begin from the right and (d)

Digital Object Identifier 10.1109/MSSC.2019.2922886 FIGURE 2: (a) The basic R-2R ladder, (b) the R-2R ladder DAC, (c) the Norton equivalent of
Date of publication: 27 August 2019 two sections, and (d) the overall Norton equivalent.

10 SU M M E R 2 0 19 IEEE SOLID-STATE CIRCUITS MAGAZINE


Vout = -2R c I 5 + I 4 + 3 + I 2 + I 1 m,
find the Norton equivalent of I 1 and der. As shown by Figure 3(a), with I
the two resistors connected to it, rec- D 5 D 4 f D 1 = 11f 1, we have 2 4 8 16
ognizing that I 1 is halved. Reducing (4)
the circuit to that in Figure 2(c), we
Vout - V1 = R c I 4 + 3 + 7I 2 + 15I 1 m
3I
continue to merge current sources 2 2 4 8 we note that a current entering dif-
and resistors and replace them with (2) ferent nodes experiences different
their Norton equivalents. Illustrated weighting factors as it translates to
= 49 RI u, (3)
in Figure 2(d), the final result reveals 16 Vout . Bearing this property in mind,
that the circuit provides a current we consider a radio-frequency (RF)
equal to a binary-weighted sum of where I u denotes the nominal value mixer that generates an output cur-
the unit current sources and exhib- of each current source. This drop re­­ rent and follow it by such a ladder
its an output resistance equal to 2R. duces the voltage headroom for I 1 so as to realize a programmable gain.
As such, the network can operate as and creates a mismatch between I 5 Illustrated in Figure 4 [2], the circuit
a DAC. In that environment, I 1 –I 5 are and I 1 due to channel-length modula- senses an RF input, V RF, converts it
controlled by a digital binary input, tion. The other current sources expe- to current, and mixes the result with
with I 1 acting as the least-significant rience similar effects. the local oscillator (LO) signal. The
bit (LSB) and I 5 as the most-signifi- The simplified topology in Fig- downconverted ­current, I out, is then
cant bit (MSB) [Figure 3(a)]. ure  2(d) points to another possible injected into only one of the nodes
The principal advantage of the application of R-2R ladders. Writing of an R-2R ladder. From (4), we have
R-2R DAC is its compact design; in
the 5-b example, it requires only five
unit current sources and 11 unit re-
sistors (each equal to R). By compar- Iout R R R R
ison, a 5-b segmented (also called Vout
thermometric) DAC would employ
I5 2R I4 2R I3 2R I2 R V1 I1
31 unit current sources.

The R-2R DAC, however, suffers
from two drawbacks. First, it neces-
D5 D4 D3 D2 D1
sitates stringent matching among MSB LSB
the current sources for high-resolu- (a)
tion applications. This can be seen
Iout
by assuming that, in Figure 3(a), the I4 I I I
If I5 < + 3 + 2 + 1
digital input, D 5 f D 1, goes from 2 4 8 16
01111 to 10000. We call this change
the MSB transition. Consequently,
I 1 –I 4 turn off, while I 5 turns on, and 01111 10000 Din
the output current, I out, increases by (b)
1 LSB only if
FIGURE 3: (a) The problem of voltage drop along the ladder and (b) the effect of mismatch
I between the MSB current source and LSB current source.
I 5 = I 4 + 3 + I 2 + I 1 + 1LSB.(1)
2 4 8 16

While fairly relaxed in this 5-b example,


such a matching condition becomes
VDD
difficult to meet for resolutions greater
RF VRF
than 7 or 8 b. If, due to mismatches, Mixer
the MSB current source happens to be
VLO
slightly less than the weighted sum of
the remaining current sources, I out falls
as D in goes from 011f 1 to 10 f 0, Iout
creating a nonmonotonic charac-
R R R R S1
teristic [Figure  3(b)]. By contrast, a Vout
segmented architecture is free from
nonmonotonicity. R 2R 2R 2R
T h e s e con d d r aw b ac k of t h e
R-2R DAC relates to the voltage
drop incurred by the resistor lad- FIGURE 4: The use of an R-2R ladder in an RF mixer.

IEEE SOLID-STATE CIRCUITS MAGAZINE SU M M E R 2 0 19 11


I out where D j denotes the bit controlling sis function is typically realized by a
Vout = 2R , (5)
2N the switches tied to node j. Interest- feedforward equalizer (FFE), concep-
ingly, the input resistance is con- tually illustrated in Figure  6(a). The
where N = 0 when S 1 is on. The ladder stant but not the output resistance. data sequence, D in, is delayed by one
can be viewed as a variable “transresis- This programmable resistor proves period, scaled by a factor of a, and
tor” having a transresistance equal to useful in automatic gain control, as subtracted from itself. The scaling
2R/2N . A key property of this mixer to- exemplified by the arrangement pre- factor is adjusted according to the
pology is that its gain steps are linear sented in Figure 5(b). Here, the input loss of the channel.
in decibels; for instance, as N increas- and feedback resistors are program- Shown in Figure 6(b), the voltage-
es by 1, the gain drops by 6 dB. mable, providing a wide range of mode transmitter in [4] employs an
The R-2R ladder can also act as a gain settings. R-2R ladder to provide a program-
variable resistor [3]. Depicted in Fig- Another interesting application mable scaling factor and perform
ure 5(a), the structure is driven by a of R-2R ladders is described by [4] the summation of D in and its de-
voltage while delivering a current to an in the context of wireline transmit- layed replica, D in, T . According to the
ac or virtual ground. Note that R T in ters. Such systems subject the data digital control, B cont, the bottom ter-
Figure 2(a) is split into two parallel re- to de-emphasis to amplify their high- minals of the 2R units are connected
sistors equal to 2R, with one controlled frequency components and partially to either D in or D in, T . We simplify the
by the switches. It can be shown that [3] compensate for the loss of the me- topology as depicted in Figure  6(c)
dium in which they travel. In the time and denote D in or D in, T by voltage
Vin = R , (6) domain, this is equivalent to deliber- sources V1 –V4 . The output contains

I out N
Dj ately creating over- and undershoots binary-weighted copies of the two
/ j
j=1 2 in the data waveform. The de-empha- signals. Thus, the network applies
scaling factors to D in and D in, T . A
key attribute of this architecture is
that the transmitter output imped-
R
ance remains constant and equal to
R R R R
Vin Vin R for different switch settings if the
2R 2R 2R
driving impedances at D in and D in, T
2R 2R 2R 2R 2R 2R 2R
are negligible.
1 2 3 4 IF
The C-2C Ladder
– With the growing popularity of CMOS
Iout Iin +
technology in the 1970s, a capaci-
(a) (b) tive counterpart of the R-2R ladder
proved necessary. Early examples of
FIGURE 5: (a) The R-2R ladder as a programmable resistor and (b) its use in an amplifier. DACs employing C-2C networks in-
clude [5] and [6].
Figure 7 shows a basic C-2C DAC,
which incorporates a value of 2C for
R R R the bridge capacitors, except for the
Dout
+ rightmost one, and C for the branch
Din Dout 2R 2R 2R 2R
2R R units. The two switches tied to each

bottom plate can provide a voltage
z –1 α Bcont swing equal to VREF . The circuit oper-
Din ates as follows. First, switch S 0 turns
(a)
on, resetting Vout to zero (or a desired
z –1 Din,∆
common-mode level), while the bot-
(b) tom plates of the branch capacitors
are tied to the ground. Next, S 0 turns
R R R
Dout off, and, according to the value of the
digital input, D 5 f D 1, some bottom
2R 2R 2R 2R 2R
plates swing to VREF . As indicated by
+ + + +
V1 V2 V3 V4 the dashed box, we can begin from
– – – –
the right and recursively construct
(c) Thevenin equivalents for the DAC.
Each Thevenin equivalent exhibits
FIGURE 6: (a) A basic FFE, (b) the realization using an R-2R ladder, and (c) the equivalent circuit. an output series capacitance of 2C,

12 SU M M E R 2 0 19 IEEE SOLID-STATE CIRCUITS MAGAZINE


allowing consistent recursion. It fol- Also, the Thevenin voltage must be Equations (9) and (11) imply that no
lows that equal to VREF /2: solution exists.
Let us introduce one more vari-
Vout = D 5 VREF + g + D 1 VREF .(7) C VREF = VREF , (10) able and select the rightmost ca-
2 32 C + C p + aC 2
2 pacitor in Figure 9(a) equal to bC
In this example, the DAC requires 14 [Figure  9(b)]. Repeating the forego-
unit capacitors, in comparison with a and hence ing conditions for the Thevenin ca-
segmented topology using 32 units. pacitance and voltage of the dashed
As with all capacitor DACs, the 1 box, we have
C= C p .(11)
output voltage in Figure  7 suffers
1- a
from kT/C noise when S 0 turns off. 2 b = 2, (12)
The total capacitance seen between
the output node and the ground
is equal to 2C and must be large
enough to yield acceptable noise. Vout
S0 2C 2C C
A difficult issue in C-2C ladders, 2C
absent in the R-2R counterpart, re-
lates to the parasitic capacitances ac- C C C +
VREF
companying the bridge and branch –
2
capacitors. At least one plate of each
capacitor exhibits a parasitic, C p, to D5 D2 D1
the ground. Let us include one C p in
the LSB section (Figure  8) and con- VREF
MSB LSB
struct its Thevenin equivalent. We
note two issues here.
FIGURE 7: The basic C-2C ladder DAC.
1) The Thevenin capacitance de-
parts from 2C, prohibiting recur-
sion and causing errors in the
voltage divisions that occur be-
yond the LSB section. Cp Cp Cp
2) The Thevenin voltage deviates
2C 2C C 2C 2C 2C + Cp
from its ideal value as well.
Both contribute nonlinearity to the C
C C + C
DAC’s input-output characteristic. VREF
– 2C + Cp
The analysis in [7] quantifies the
nonlinearity in terms of C p /C.
We can attempt to correct for C p
VREF VREF
by adjusting the bridge or branch
capacitor values. Suppose we se-
lect the bridge capacitors equal to FIGURE 8: The effect of parasitic capacitances on the C-2C DAC performance.
aC, as shown in Figure  9(a), but
with the rightmost C replaced by
the series combination of two units
equal to aC. If the two errors men- Cp Cp Cp Cp Cp Cp
tioned in the previous paragraph
are to be nulled, the Thevenin ca- αC αC αC αC αC αC 2C 2C 2C
pacitance of the dashed box must
be equal to aC so that the recur- C C C C αC αC
αC βC βC
sion can continue:

C + C p + aC = aC.(8)
2
VREF VREF VREF
That is, (a) (b) (c)

1 C .(9) FIGURE 9: The correction for parasitic capacitances by changing (a) the bridge capacitors
C= p
and the rightmost capacitor to aC, (b) the bridge capacitors to aC and the rightmost capacitor
a -1
2 to bC, and (c) the branch capacitors to aC and the rightmost capacitor to bC.

IEEE SOLID-STATE CIRCUITS MAGAZINE SU M M E R 2 0 19 13


C - Cp employs a variant of such a network 2TC and TC are added to each sec-
a =2 , (13)
C + Cp a nd ca librates the ef fect of the tion and controlled by 2 b. Let us be-
and pa rasitic capacitances. As shown gin with the rightmost section and
in Figure 10, this is accomplished denote the programmable component
a . 2c 1 - m , (14)
Cp 2
by adding by kTC, where k = 0, 1, 2, or 3. Thus,
C
1) a programmable capacitor, C B, to
if C p % C. A solution exists, but a each node that absorbs C p and 2C (2C + kTC )
C eq = (17)
2C + 2C + kTC
must be slightly less than two, an reaches C/2 after calibration
undesirable condition because it 2) a section consisting of C and C cal and
is difficult to subtract a certain that injects or removes charge
amount from a capacitor. In our fi- from the array. C eq . C + k TC,(18)
2
nal trial, we assign a capacitance of During calibration, a known voltage
aC to the branches while keeping is applied to the ADC input, and Vcal where kTC in the denominator is
the rightmost capacitor equal to bC is adjusted to obtain the correct digi- neglected. Continuing the recursion,
[Figure 9(c)]. Now, the conditions tal output [8]. we observe that each section pres-
emerge as A n ot h e r appl ic at io n of C-2C ents at its input three components:
ladders aims for high-frequency one equal to C, one equal to half its
b = 2(15)
resolution in digitally controlled os- own programmable capacitance, and
and cillators (DCOs) [9]. A critical issue one equal to half the total program-
affecting the output jitter of digital mable capacitance presented by the
aC = C + C p . (16)
phase-locked loops, the DCO output section to its right. In other words,
That is, the branch capacitors must frequency steps must often be less the capacitance loading the oscilla-
be raised by a value equal to C p . Al- than 1 part per million with respect tor can be expressed as
though C p is not precisely defined, to the oscillation frequency itself.
k TC
an approximation thereof can be Such fine steps demand extremely C in = C + k 1 TC + k 2 TC + 3 + g,
2 4 8
added to the unit C, thus providing small unit capacitors in the tuning
(19)
partial correction and lowering the network of IC DCOs. To avoid dealing
DAC nonlinearity. with the parasitics and modeling where k j TC denotes the value of the
Owing to its compact nature, the issues related to very small geom- programmable capacitance in sec-
C-2C ladder has found a wide range etries, we seek methods that attenu- tion j. This result suggests that the
of applications. In [8], a 7-b succes- ate the effect of a capacitor. effect of TC can be reduced arbi-
sive approximation register (SAR) The DCO in [9] is realized as shown trarily if the capacitor is placed deep
analog-to-digital converter (ADC) in Figure  11, where tuning elements in the cascade. Indeed, the DCO in
[9] employs 14 sections to achieve a
remarkable frequency resolution of
4 Hz at 60 GHz.
Switch Network
Answers to Last Issue’s Questions
CB CB CB CB 1) How does C M shape the power-
SAR Logic

C C C C supply rejection ratio (PSRR) of


the circuit in Figure 12?
Ccal 2C 2C 2C C
L et us assume that the op
amp has a one-pole response
Vcal Switch Network equal to A 0 / (1 + s/~ 0) and the
small-signal resistance, R L, is
FIGURE 10: A SAR ADC using a variant of the C-2C ladder. much less than R 1 + R 2 . We open

M1 Vout
Section 1 Section 2 Vin
2C 2C 2C R1
+ CM R
X L Load
C 2∆C ∆C C 2∆C ∆C C 2∆C ∆C A1
C –
VREF R2
D1 D2
Ceq

FIGURE 12: The use of a smoothing capaci-


FIGURE 11: A DCO using a C-2C ladder for fine frequency control. tor to absorb load transient currents.

14 SU M M E R 2 0 19 IEEE SOLID-STATE CIRCUITS MAGAZINE


R 1 to counteract this effect and [5] P. Cook and S. E. Schuster, “A/D and D/A
converter using C-2C ladder network,”
M1 Vout maintain a relatively constant U.S. Patent 4,028,694, June 7, 1977.
Vin [6] S. P. Singh and A. B. Bhattacharyya, “C-2C
IL loop gain?
ladder voltage dividers for application in
R1 Yes, a capacitor in parallel all-MOS A/D convertors,” Electron. Lett.,
VF
– X Load with R 1 yields a zero in the open- vol. 18, no. 12, pp. 537–538, June 1982.
A1 doi: 10.1049/el:19820364.
+ loop transfer function, poten- [7] A. Rodriguez-Perez, A. Rodriguez-Rodri-
VREF R2
tially improving the phase margin guez, F. Medeiro, and M. Delgado-Resti-
tuto, “Impact of parasitic capacitances on
and allowing a wider, stable closed- the performance of SAR ADCs based on
loop bandwidth. capacitive arrays,” in Proc. 1st IEEE Latin
FIGURE 13: Low dropout using a source American Symp. Circuits and Systems,
follower. 2010, pp. 124–127.
[8] E. Alpman, H. Lakdawala, L. R. Carley, and
References K. Soumyanath, “A 1.1-V 50-mW 2.5GS/s
[1] J. B. Ricketts, “Switching circuit for a 7-b time-interleaved SAR ADC in 45-nm LP
ladder type digital to analog converter digital CMOS,” in Proc. 2009 IEEE Int. Sol-
the loop at the input of A 1 and utilizing an alternating reference volt- id-State Circuits Conf.—Dig. Tech. Papers,
note that C M contributes a pole a ge ,” U. S . P ate nt 3,0 92,735, Ju n e 4, 2009, pp. 76–77.
1963. [9] Z. Huang and H. C. Luong, “Design and
given by ~ M . 1 / (R L C M ) . This [2] P. Zhang et al., “A 5-GHz direct-conversion analysis of millimeter-wave dig itally
pole is typically far above ~ 0 . CMOS transceiver,” IEEE J. Solid-State Cir- controlled oscillators with C-2C exponen-
cuits, vol. 38, no. 12, pp. 2232–2238, Dec. tially scaling switched-capacitor ladder,”
It follows that the closed-loop 2003. IEEE Trans. Circuits Syst. I, Reg. Papers,
PSRR rises and then begins to [3] H. A. Alzaher and M. Ismail, “Digitally vol. 64, no. 6, pp. 1299–1307, June 2017.
tuned analogue integrated filters us- doi: 10.1109/TCSI.2017.2657792.
fall as C M manifests itself. ing R-2R ladder,” Electron. Lett., vol. 36, [10] J. B. Ricketts, “Switching circuit for a lad-
2) The op amp gain in Fig ure 13 no. 15, pp. 1278–1280, July 2000. doi: der type digital to analog converter utiliz-
10.1049/el:20000947. ing an alternating reference voltage,” U.S.
falls at high frequencies. Can we [4] T.-H. Chien, “Voltage mode transmitter,” Patent 3 092 735, June 4, 1963.
place a capacitor in parallel with U.S. Patent 9,444,659, Sept. 13, 2016. 

ILLUMINATE EDUCATE ENGAGE ENERGIZE


The world’s most daunting The IEEE Foundation is leading a special campaign to raise
challenges require innovations awareness, create partnerships, and generate financial resources
in engineering, and IEEE is needed to combat these global challenges.
committed to finding the solutions.
Our goal is to raise $30 million by 2020.

DONATE NOW
ieeefoundation.org

IEEE SOLID-STATE CIRCUITS MAGAZINE SU M M E R 2 0 19 15

You might also like