Unit-3 ADC
Unit-3 ADC
d/a converters
d/a converters
The input is an n-bit binary word ‘D’ and is combined with a reference voltage 𝑉𝑅 to
give an analog output signal.
The output of the DAC can be either a voltage or current.
For a voltage output DAC, the D/A converter is mathematically described as
d/a converters
For the 12-bit DAC, the largest resistance is 5.12MΩ if the smallest resistor is 2.5KΩ .
The fabrication of such a large resistance in IC is not practical.
Also there will be a loading effect due to this large resistance values, the choice of
smallest resistor value as 2.5KΩ is reasonable.
This can be avoided by using R-2R ladder circuit.
R-2r d/A converters
A DAC converter uses an op amp and R-2R ladder resistors. The R-2R network consists of
resistors with only two values R and 2R.
If each input is supplied either 0 volts or reference voltage, the output voltage will be an
analog equivalent of the binary value of the three bits. D2 corresponds to the most
significant bit (MSB) while D0 corresponds to the least significant bit (LSB).
The Analog output voltage of 3-bit R-2R ladder D/A Converter is calculated using
𝑫𝟏 (𝑴𝑺𝑩) 𝑫𝟐 𝑫𝟑 (𝑳𝑺𝑩)
𝑽𝒐𝒖𝒕 = 𝑽𝑹 ( + + )
𝟐 𝟒 𝟖
Definition: resolution may be defined as the change in the output voltage of ne DAC
caused by a change of 1 LSB of the digital input.
𝑽𝑭𝑺
For a n-bit DAC: Resolution= 𝒏
𝟐 −𝟏
The Resolution=𝟐𝟓.𝟏
𝟖 −𝟏 = 𝟐𝟎 𝒎𝑽/𝑳𝑺𝑩
This implies that a change in the digital input by 1 LSB causes the change of 20 mV analog
Output.
Let the decimal equivalent of input binary word be denoted as D.
The output voltage 𝑽𝟎 = 𝑹𝒆𝒔𝒐𝒍𝒖𝒕𝒊𝒐𝒏 × 𝑫
dac Specifications
• Accuracy
ldeally, the output voltage of a DAC should not differ from the expected output or at the
1
worst, the difference should not exceed ± of its LSB.
2
𝑉𝐹𝑆
The accuracy = ± 𝑛 .
2(2 −1)
• Stability
Changes of temperature, variations in power supply, and long usage affects the performance
of a DAC. The device parameters like gain, linearity error, offset which are liable to change,
must therefore be specified over the range of variations of power supply and temperature.
These parameters provide a measure of the stability of the DAC.
dac Specifications
• Settling Time
The settling time of a DAC is defined as the time required for the output to settle
1
to within ± LSB of the final value, for a given digital input.
2
• Conversion Time
It may be defined as the time needed for the conversion of a digital input signal to its
equivalent analog signal.
It is affected by the response time of the switches and amplifier output.
Analog to Digital converters
ADC: It accepts an analog voltage Va and produces an
output binary word D.
where d1, is the most significant bit and dn, is the least
significant bit.
The given circuit consists of a resistive divider network, 8 op-amp comparators and a 8-line
to 3-line encoder (3-bit priority encoder).
Small amount of hysteresis is built into the comparator to resolve any problems that might
occur if both inputs were of equal voltage as shown in the truth table.
The purpose of the circuit is to compare the analog input voltage Va With each of the node
voltages.
Parallel Comparator (Flash) A/D converters
This is the simplest possible AD converter. It is at the same time, the fastest and most
expensive technique.
The given circuit consists of a resistive divider network, 8 op-amp comparators and a 8-
line to 3-line encoder (3-bit priority encoder).
Small amount of hysteresis is built into the comparator to resolve any problems that might
occur if both inputs were of equal voltage as shown in the truth table.
At a each node of the resistive divider, a comparison voltage is available.
Since all the resistor are of equal value, the voltage levels available at the nodes are
equally divided between e reference voltage VR and the ground.
Parallel Comparator (Flash) A/D converters
The purpose of the circuit is to compare the analog input voltage Va With each of the
node voltages.
The circuit has the advantage of high speed as the conversion take place simultaneously
rather than sequentially.
Typical conversion time is 100 ns or less.
Conversion time is limited only by the speed of the comparator and of the priority
encoder.
Parallel Comparator (Flash) A/D converters
This type of ADC has the disadvantage that the number of comparators required almost
doubles for each added bit.
A 2-bit ADC requires 3 comparators, 3-bit ADC needs 7, whereas 4-bit requires 15
comparators.
In general, the number of comparators required are 2𝑛 − 1. where n is the desired number
of bits.
Hence the number of comparators approximately doubles for each added bit.
Also the larger the value of n, the more complex is the priority encoder.
Parallel Comparator (Flash) A/D converters
Parallel Comparator (Flash) A/D converters
Counter Type A/D Converters
The D to A converter can easily be turned around to provide the inverse function A to D
conversion.
3-bit counting ADC is shown in Fig. (a).
The counter is reset to zero count by the reset pulse. Upon the release of RESET, the clock
pulses are counted by the binary counter.
These pulses go through the AND gate which is enabled by the voltage comparator high
output. The number of pulses counted increase with time.
Counter Type A/D Converters
The binary word representing this count is used as the input of a D/A converter whose
output is a staircase of the type shown in Fig. (b).
The analog output Vd of DAC is compared to the analog input Va, by the comparator.
If Va > Vd, the output of the comparator becomes high and the AND gate is enabled to
allow the transmission of the clock pulses to the counter.
When Va< Vd, the output of the comparator becomes low and the AND gate is disabled.
This stops the counting at the time 𝑉𝑎 ≤ 𝑉𝑑 and the digital output of the counter represents
the analog input voltage Va.
For a new value of analog input Va, a second reset pulse is applied to clear the counter.
Upon the end of the reset, the counting begins again.
Counter Type A/D Converters
The counter frequency must be low enough to give sufficient time for the DAC to settle and
for the comparator to respond.
Low speed is the most serious drawback of this method.
The conversion time can be as long as (2"- 1) clock periods depending upon the magnitude
of input voltage Va.
For instance, a 12-bit system with 1 MHz clock frequency, the counter will take (212 −
Counter Type A/D Converters
Counter Type A/D Converters
successive approximation ADc
The successive approximation technique uses a very efficient code search strategy to
complete n-bit conversion in just n-clock periods.
An eight bit converter would require eight clock pulses to obtain a digital output.
Figure shows an eight bit converter.
The circuit uses a successive approximation register (SAR) to find the required value of
each bit by trial and error.
successive approximation ADc