Analog To Digital Conversion Circuits
Analog To Digital Conversion Circuits
Analog to Digital Converter (ADC) is an electronic integrated circuit used to convert the analog
signals such as voltages to digital or binary form consisting of 1s and 0s.Most of the ADCs take
a voltage input as 0 to 10V, -5V to +5V, etc. and correspondingly produces digital output as
some sort of a binary number.
Fig
There is an absolute chance of misrepresenting the input signal at output side if it is sampled at
different frequency than desired one. Therefore, another important consideration of the ADC is
the sampling rate. Niquest theorem states that the acquired signal reconstruction introduces
distortion unless it is sampled at (minimum) twice the rate of the largest frequency content of the
signal as you can observe in the diagram. But this rate is 5-10 times the maximum frequency of
the signal in practical.
Types of Analog to Digital Converters
In this type of ADC converter comparison voltage is generated by using an integrator circuit
which is formed by a resistor, capacitor and operational amplifier combination. By the set value
of Vref, this integrator generates a sawtooth waveform on its output from zero to the value Vref.
When the integrator waveform is started correspondingly counter starts counting from 0 to 2^n-1
where n is the number of bits of ADC. When the input voltage Vin equal to the voltage of the
waveform, then control circuit captures the counter value which is the digital value of
corresponding analog input value. This Dual slope ADC is relatively medium cost and slow
speed device.
Fig
This ADC converter IC is also called as parallel ADC, which is a most widely used efficient
ADC in terms of its speed. This flash analog to digital converter circuit consists of a series of
comparators where each one compares the input signal with a unique reference voltage.At each
comparator, the output will be high state when the analog input voltage exceeds the reference
voltage. This output is further given to priority encoder for generating binary code based on
higher order input activity by ignoring other active inputs. This flash type is a high-cost and
high-speed device.
Fig
The SAR ADC a most modern ADC IC and much faster than dual slope and flash ADCs since it
uses a digital logic that converges the analog input voltage to the closest value. This circuit
consists of a comparator, output latches, successive approximation register (SAR) and D/A
converter.
Fig
At the start, SAR is reset and as the LOW to HIGH transition is introduced, the MSB of the
SAR is set. Then this output is given to the D/A converter that produces an analog equivalent of
the MSB, further it is compared with the analog input Vin.If comparator output is LOW, then
MSB will be cleared by the SAR, otherwise the MSB will be set to the next position.This process
continues till all the bits are tried and after Q0, the SAR makes the parallel output lines to
contain valid data.
Fig
Digital to Analog Converter using Binary-Weighted Resistors
A D/A converter using binary-weighted resistors is shown in the figure below. In the circuit, the
op-amp is connected in the inverting mode. The op-amp can also be connected in the non-
inverting mode. The circuit diagram represents a 4-digit converter. Thus, the number of binary
inputs is four.
We know that, a 4-bit converter will have 24 = 16 combinations of output. Thus, a corresponding
16 outputs of analog will also be present for the binary inputs.Four switches from b0 to b3 are
available to simulate the binary inputs: in practice, a 4-bit binary counter such as a 7493 can also
be used.
Working
b0 is closed
Current through feedback resistor, Rf = 0.5mA (Since, Input bias current, IB is negligible)
b1 is closed, b0 is open
Current through R will become twice the value of current (1mA) to flow through Rf.
Thus, according to the position (ON/OFF) of the switches (bo-b3), the corresponding “binary-
weighted” currents will be obtained in the input resistor. The current through Rf will be the sum
of these currents. This overall current is then converted to its proportional output voltage.
Naturally, the output will be maximum if the switches (b0-b3) are closed
V0 = -Rf *([b0/R][b1/(R/2)][b2/(R/4)][b3/(R/8)]) – where each of the inputs b3, b2, b1, and b0
may either be HIGH (+5V) or LOW (0V).
The graph with the analog outputs versus possible combinations of inputs is shown below.
Digital-to-Analog Converter Circuit – Binary-Weighted Resistors Method Graph
The output is a negative going staircase waveform with 15 steps of -).5V each. In practice, due to
the variations in the logic HIGH voltage levels, all the steps will not have the same size. The
value of the feedback resistor Rf changes the size of the steps. Thus, a desired size for a step can
be obtained by connecting the appropriate feedback resistor. The only condition to look out for is
that the maximum output voltage should not exceed the saturation levels of the op-amp. Metal-
film resistors are more preferred for obtaining accurate outputs.
Disadvantages
If the number of inputs (>4) or combinations (>16) is more, the binary-weighted resistors may
not be readily available. This is why; R and 2R method is more preferred as it requires only two
sets of precision resistance values.
In the figure shown above, the negative input is at virtual ground, therefore the current through
RTH=0.
V0 = -Rf (b3/2R+b2/4R+b1/8R+b0/16R)