ADC and DAC
ADC and DAC
ADC is an electronic device used for converting an analog signal into a digital signal. The analog
input signal of ADC is continuous time & continuous amplitude signal. The output of ADC is
a discrete time and discrete amplitude digital signal.
Operation of ADC
Hold
The second block used in ADC is the ‘Hold’ block. It has no function. It only holds the sample
amplitude until the next sample is taken. The hold value remains unchanged till the next sample.
Quantize
This block is used for quantization. It converts the analog or continuous amplitude into discrete
amplitude. The on hold continuous amplitude value in hold block goes through ‘quantize’ block
& becomes discrete in amplitude. The signal is now in digital form as it has discrete
time & discrete amplitude.
Encoder
The encoder block converts the digital signal into binary form i.e. into bits. As we know that the
digital devices operate on binary signals so it is necessary to convert the digital signal into the
binary form using the Encoder. This is the whole process of converting an Analog signal into
digital form using an Analog to Digital Converter. This whole conversion occurs in a
microsecond.
Figure 5: Quantization and encoding process.
Operation of DAC
The digital binary data exists in the form of bits. Each bit is either 1 or 0 & they represent its
weight corresponding to its position. The weight is 2n where the n is the position of the bit from
right hand side & it start from 0. This is how the digital to analog converter DAC works by
adding the weights of all corresponding bits with its value to generate the analog value at its
output.
A DAC can be constructed by using different circuits. The simplified block diagram of a DAC
using Summing Amplifier is shown in figure 4. A set of resistors R, 2R, 4R and 8R are used as
its inputs. The resistors are scaled to represent weights for the different input bits.
Figure 4:: A Summing Amplifier functioning
functio as a simple DAC.
The resistor with the lowest value R corresponds to the highest weighted binary input Bit 3
(MSB) [23 = 8], and 2R, 4R, 8R correspond to the binary weights of Bit 2 (22 = 4), Bit 1 (21 = 2),
and Bit 0 (LSB) [20 = 1] respectively. The relationship between the digital inputs (Bit 0 to Bit 3)
and the analog output VOUT is as follow:
Table 1: The Analog Output Voltages corresponding to the Digital Input Codes with Vref = 5 V.