Chapter 5 A D and D 23232
Chapter 5 A D and D 23232
04 Hours
08 Marks
When digital devices are to be interfaced with analog devices (or vice a
versa), Digital to Analog converter and Analog to Digital converter play
important role.
Questions:
Give necessity of data converter. [2M]
A digital to analog converter (DAC) takes digital data as its input and
converts it into analog voltage or current that is proportional to the weighted
sum of digital inputs. Input to a DAC is N-bit binary signal in parallel form. The
analog output voltage V0 of an N-bit DAC is generally calculated as,
= (2 +2 + ⋯+2 +2 + )
Where, K is a proportionality factor and bn is nth bit of digital input
(whose value can be either 0 or 1).
5.1.1.1 Resolution
Resolution of a digital to analog converter is number of states (2n) into
which the full scale range is divided or resolved. Here ‘n’ is number of bits in the
input digital word. Higher the number of bits, better the resolution.
8-bit DAC has 255 (i.e. 2n – 1) resolvable levels. It has 8-bit resolution.
5.1.1.2 Accuracy
Accuracy of a digital to analog converter is the difference between actual
analog output and expected ideal output when a digital input is given.
Various sources of errors that may affect accuracy are gain errors, offset
errors and nonlinearity errors.
5-1
5.1.1.3 Conversion speed or Setting (or settling) time
Conversion speed of a digital to analog converter is expressed in terms of
its setting time. Setting time is the time period that has elapsed for analog
output to reach its final value after change in digital input has occurred.
General purpose digital to analog converters have setting time in the
range of microseconds whereas some high-speed DACs have setting time in the
range of nanoseconds.
5.1.1.5 Linearity
In DAC, equal increment in digital input should result in equal increment
in the analog output voltage. Linearity of DAC is a measure of the precision
with which linear input output relationship is satisfied.
5.1.1.7 Monotonocity
In ideal digital to analog converter, analog output should increase by
identical step size for every one LSB increase in digital input. In such case DAC
is said to be having perfect monotonocity.
Questions:
1. State DAC specifications (any four). [4M]
2. State 2 specifications of DAC. [2M]
3. Define specifications of DAC (Any 4). [4M]
4. Define resolution and accuracy with respect to D-A converter. [4M]
5. What are important specifications of DAC (Write any 4). [4M]
6. Define following with respect to DAC. [2M]
i) Resolution ii) Setting time
5-2
5.1.2.1 Weighted resistor DAC
For an N-bit digital input, N resistors are used in a resistor network
which produces current values according to the bit values. Current is produced
for a bit only if its value is 1. For MSB (i.e. N-1th bit) current I is produced. For
N-2th bit, current I/2 is produced. For N-3th bit, current I/22 is produced and so
on. For getting these current values weighted resistors are used. For bit N-1,
resistor value R is used. For bit N-2, resistor value 2R is used. For bit N-3,
resistor value 22R is used and so on.
The sum of all the produced currents is converted to corresponding
voltage by using an OP-AMP.
As shown in the circuit diagram, digital inputs operate the switches
corresponding to bits.
Figure
Advantages:
1. Simple to design
2. Less number of resistors are required as compared to R-2R Ladder
DAC (almost half).
Disadvantages:
1. Wider range of resistors is to be used.
2. Such wide range of resistors are difficult fabricate in monolithic ICs.
Questions:
1. Explain weighted resistor DAC. [4M]
2. Draw circuit diagram of weighted resistor type D-A converter and explain
its working. [4M]
3. Draw circuit diagram of weighted register method of D-A converter and
explain in brief. [4M]
Figure
Advantages:
1. Only 2 resistor values (i.e. R & 2R) are used.
2. So fabrication becomes easy.
Disadvantages:
1. More number of resistors (almost double) is required as compared to
weighted-resistor DAC.
Questions:
1. List advantages of R-2R ladder type DAC over binary weighted DAC. [4M]
2. With suitable circuit diagram explain the working of R-2R ladder DAC.
Give the output expression. [4M]
5-3
3. Sketch R-2R ladder DAC and describe its working. [4M]
A analog to digital converter (ADC) takes analog voltage as its input and
converts it into N-bit digital output.
In DAC input range is fixed (e.g. for 4-bit DAC only 16 different values of
input are possible). But in ADC, input analog voltage can have any value.
Whereas, for N-bit ADC the digital output can have only 2N discrete values.
Therefore, the whole range of input analog voltage is required to be represented
2N intervals. This process of dividing input voltage range in specific number of
intervals (2N here) is called quantization. For each such interval, unique N-bit
binary code is assigned. This process of assigning unique N-bit binary code to
each interval is called encoding.
5.1.1.1 Resolution
Resolution of analog to digital converter is amount of input analog voltage
that needs to be increased for getting increment of digital output to the next
higher binary code.
8-bit ADC can be said to have 8-bit resolution.
5.1.1.2 Accuracy
Accuracy specification of analog to digital converter describes sum of all
errors. Various errors include gain error, offset error and quantization error.
5-4
5.1.1.3 Gain and offset errors
Gain error is difference between actual full-scale transition voltage and
ideal full-scale transition voltage.
Offset error is error at analog zero for A/D converter operating in bipolar
mode.
Questions:
1. Define conversion time with respect to A to D converter. [2M]
2. Define following terms with reference to A/D converters and list any four
applications of A/D converters. [4M]
i) Resolution ii) Quantization error
Questions:
1. Give classification of ADCs. [2M]
5-5
ramp input equals to the analog input (VA) voltage. Here count of the counter is
directly proportional to the analog input voltage.
Figure
Advantages:
1. Cost is less.
2. Reasonably good accuracy.
Disadvantages:
1. Accuracy depends on characteristics of ramp generator.
Questions:
1. With suitable diagram explain the working of ramp type ADC. [4M]
Figure
Advantages:
1. Low sensitivity to noise
2. Low cost
Disadvantages:
1. There are limitations on maximum resolution of dual slope ADC.
Questions:
1. Explain dual slope ADC. [4M]
2. Explain dual slope A/D converter. [4M]
3. State advantages and disadvantages of dual slope ADC. [4M]
5-6
Figure
Advantages:
1. Higher speed of operation.
2. Good ratio of speed to power.
Disadvantages:
1. Cost is high.
Questions:
1. Draw successive approximation ADC. [2M]
2. Draw a block diagram of successive approximation method of A-D
converter. [4M]
3. Draw block diagram of successive approximation method of A-D
conversion and describe it. [4M]
4. Give advantages and disadvantages of successive approximation. [4M]
5. Compare successive approximation and dual slope type ADC (any four
points). [4M]
Questions:
1. List any four applications of A to D converter. [4M]
5-7