Operation Procedure of A Digital-Ramp ADC.: AX A AX A1 AX A T
Operation Procedure of A Digital-Ramp ADC.: AX A AX A1 AX A T
4. The comparator compares VAX with the analog input VA. As long as
VAX < VA1 the comparator output stays HIGH. When VAX exceeds VA
by at least an amount = VT ( threshold voltage), the comparator
output goes LOW and stops the process of modifying the register
number. At this point, VAX is a close approximation to VA. The digital
number in the register, which is the digital equivalent of VAX, is also
the approximate digital equivalent of VA1 within the resolution and
accuracy of the system.
5. The control logic activates the end-of-conversion signal, EOC, when
the conversion is complete.
One of the simplest versions of the general ADC of Fig. 7.7 uses a
Operation procedure of a binary counter as the register and allows the clock to increment the
digital-ramp ADC.
counter one step at a time until VAX ≥ VA. It is called a digital-ramp
ADC because the wave form at VAX is a step-by-step ramp (actually a
staircase) like the one shown in Fig. 7.7. It is also referred to as a
counter-type ADC. Fig. 7.7 is the diagram for a digital-ramp ADC. It
contains a counter, a DAC, an analog comparator, and a control AND
gate. The comparator output serves as the active-LOW end-of-
conversion signal, EOC . If we assume that VA, the analog voltage to be
converted, is positive, the operation proceeds as follows :
182
A/D and D/A Converter
Clock
VA +
EOC
OP amp
-
Comparator START
VA
RESET
VAX
Conversion
complete.
VAX CLOCK counter stops
D/A .
Counter counting
converter
.
.
.
.
EOC
Digital
result tc
Start
Time
(a) (b)
Problem 8
Assume the following values for the ADC clock frequency = 1 MHz; VT
= 0.1 mV; DAC has F.S. output = 10.23 V and a 10-bit input. Determine
the following values.
Solution
a. The DAC has a 10-bit input and a 10.23-V F.S. output. Thus, the
number of total possible steps is 210 - 1 = 1023, and so the step size is
10.23V
= 10mV
1023
3.7281V
= 372.81 = 373 steps
10mV
At the end of the conversion, then, the counter will bold the binary
equivalent of 373, which is 0101110101. This is the desired digital
equivalent of VA = 3.728 V, as produced by this ADC.
183
Digital Systems and Computer Organization
Problem 9
Solution
Table 7.2 shows the ideal DAC output voltage, VAX, for several of the
steps on and around the 373rd. If VA is slightly smaller than 3.72 V (by
an amount < VT),
Then EOC won’t go LOW when VAX reaches the 3.72-V step, but will
go LOW on the 3.73-V step. If VA is slightly smaller than 3.73 V (by an
amount < VT), then EOC won’t go LOW until VAX reaches the 3.74-V
step. Thus, as long as VA is between approximately 3.72 V and 3.73-V,
EOC will go LOW when VAX reaches the 3.73-V step. The exact range
of VA values is
3.72 V - VT to 3.73 V - VT
184
A/D and D/A Converter
Problem 10
Solution
The step size is 2.55 V/ (28 - 1), which is exactly 10 mV. This means that
even if the DAC has no inaccuracies, the VAX output could be off by as
much as 10 mV because VAX. can change only in 10-mV steps; this is the
quantization error. The specified error of 0.1% F.S. is 0.1% × 2.55 V =
2.55 mV. This means that the VAX value can be off by as much as 2.55
mV because of component inaccuracies. Thus, the total possible error
could be as much as 10 mV + 2.55 mV = 12.55 mV.
The conversion time is the time interval between the end of the START
pulse and the activation of the EOC output. The counter starts
counting from zero and counts up until VAX exceeds VA, at which point
Conversion Time, TC EOC goes LOW to end the conversion process. It should be clear that
the value of conversion time, to, depends on VA. A larger value will
require more steps before the staircase voltage exceeds VA.
The maximum conversion time will occur when VA is just below full
scale so that VAX has to go to the last step to activate EOC . For an N-bit
converter this will be
tc (max)
tc ( avg ) = ≈ 2 N − 1 clock cyles
2
185
Digital Systems and Computer Organization
3.6. Applications
3.7. Exercise
i) 255
ii) 256
iii) 511
iv) 512.
186