ADCDAC
ADCDAC
ADCDAC
INL =Output value for input code n - Output value of the reference line at that point
Integral Nonlinearity
Integral Nonlinearity
Determine the INL for the non ideal 3-bit DAC shown in Fig.
28.14. Assume that VREF =5 V.
Integral Nonlinearity
First, a reference line is drawn through the first and
last output values. The INL is zero for every code in
which the output value lies on the reference line;
therefore, INL2=INL4 =INL6 =INL7 =O.
Only outputs corresponding to 001, 011, and 101 do
not lie on the reference.
Both the 001 and the 011 transitions occur 0.5 LSB
higher than the straight-line values; therefore, INL1 =
INL3 = 0.5 LSB.
By the same reasoning, INL5 =- 0.75 LSB.
The INL plot for the nonideal 3-bit DAC can be seen in
Fig below.
Integral Nonlinearity
Offset
The analog output should be 0 V for D = O. However, an offset exists if the
analog output voltage is not equal to zero.
Gain Error
A gain error exists if the slope of the best-fit
line through the transfer curve is different
from the slope of the best-fit line for the ideal
case.
Gain error =Ideal slope - Actual slope
Gain Error
Latency and SNR
Latency
This specification defines the total time from the
moment that the input digital word changes to
the time the analog output value has settled to
within a specified tolerance.
Signal-to-Noise Ratio (SNR)
Signal-to-noise (SNR) is defined as the ratio of the
signal power to the noise at the analog output.
Dynamic Range
Dynamic Range
Dynamic range is defined as the ratio of the
largest output signal over the smallest output
signal.
DAC Architectures
Resistor String
Resistor String
Advantages
Output is always monotonic.
Disadvantages
Always connected with 2N-1 Switches are off and one
switch is on.
For large resolution large parasitic capacitance at
output node which results in slow conversion speeds.
Hence the binary switch arrangement is shown in the
figure, where N switches are OFF and N switches are
ON, Thus increasing the conversion speed.
Balance between area and power dissipation.
Resistor String example
Design a 3-bit resistor string ladder using a
binary switch array. Assume that VREF = 5 V
and that the maximum power dissipation of
the converter is to be 5 mW. Determine the
value of the analog voltage for each of the
possible digital input codes.
Resistor String example
The power dissipation will determine the
current flowing through the resistor string by
Where the iTOT is the sum of currents selected by the digital input given by.
For D= 010
For D=101
Layout Considerations for a
Binary-Weighted Capacitor Array
Charge Scaling DACs
The Split Array
The charge scaling architecture is very popular
among CMOS designers because of its simplicity
and relatively good accuracy.
Charge Scaling DACs
The output is taken off a different node and
an additional attenuation capacitor is used to
separate the array into a LSB array and a MSB
array.
Note that the LSB, Do, now corresponds to the
leftmost switch and that the MSB, D5
corresponds to the rightmost switch. The value
of the attenuation capacitor can be found by
Charge Scaling DACs
where the sum of the MSB array is equal to
the sum of LSB capacitor array minus C.
The value of the attenuation capacitor should
be such that the series combination of the
attenuation capacitor and the LSB array,
assuming all bits are zero, is equal to C.
Charge Scaling DACs
Using the 6-bit charge scaling DAC shown in
Fig. 29.15, (a) show that the output voltage
will be 0.5 VREF if (a) D5D4D3D2D1D0=
100000 and (b) the output will be 1/64 VREF if
D5D4D3D2D1D0 = 000001.
Charge Scaling DACs
Charge Scaling DACs
ADC
Analog-to-Digital Converter (ADC)
the voltage on the i-th tap of the resistor string was found
to be
where Vi, ideal is the voltage at the i-th tap if all the
resistors had an ideal value of R. The term, Rk is the value
of the resistance error (difference from ideal) due to the
mismatch. Note that for the resistor string DAC, the sum of
the mismatch terms plays an important factor in the overall
voltage at each tap.
Accuracy Issues for the Flash ADC
The switching point for the i-th comparator,
Vsw,i' then becomes