Professional Documents
Culture Documents
DATA Converter Circuits
DATA Converter Circuits
www.forumelectrical.com
3 ADC Conversion Process
Two main steps of process
1. Sampling and Holding
2. Quantization and Encoding
Analog-to-Digital Converter
Quantizing
and
Encoding
Sampling and
Hold
t
Input: Analog t
Signal
www.forumelectrical.com
4
www.forumelectrical.com
D/A Conversion
5
Normal Output from digital domain is staircase
Filtered to produce smooth Analog output
The analog samples at the output of a D/A converter are usually fed to a sample-
and-hold circuit to obtain the staircase waveform shown. This waveform can then be
www.forumelectrical.com
filtered to obtain the smooth waveform, shown in color. The time delay usually
introduced by the filter is not shown.
6 A/D Converter Types
Flash ADC
Delta-Sigma ADC
www.forumelectrical.com
7 Flash ADC
www.forumelectrical.com
Flash Analog to Digital Converter
Fast
8 – but more expensive :
Single cycle - Uses many Comparators in
parallel with different reference voltages
Digital
Analog
www.forumelectrical.com
9 Flash ADC Circuit
www.forumelectrical.com
10 How Flash Works
www.forumelectrical.com
11 Flash ADC Output
www.forumelectrical.com
Flash
12
Advantages Disadvantages
Simplest in terms of
operational theory Lower resolution
Expensive
www.forumelectrical.com
Successive Approximation ADC
13
www.forumelectrical.com
Successive Approximation ADC
14
Circuit
www.forumelectrical.com
15 Output
www.forumelectrical.com
Successive Approximation
16
Advantages Disadvantages
www.forumelectrical.com
17 ADC Applications
➢ Microphones
➢ Strain Gages
➢ Thermocouple
➢ Digital Multimeters
www.forumelectrical.com
What is a DAC
18
www.forumelectrical.com
Principal components of DAC
19
www.forumelectrical.com
Typical Output
20
DAC
❖ R-2R Ladder
www.forumelectrical.com
Binary Weighted Resistor
22
•Start with
summing op-amp
circuit
•Input voltage
either high or
ground
•Adjust resistor
weighting to
achieve desired
Vout
www.forumelectrical.com
Binary Weighted Resistor
23
• Details
– Use transistors to switch
between high and ground
– Use resistors scaled by
two to divide voltage on
each branch by a power
of two
– V1 is MSB, V4 LSB in this
circuit
• Assumptions:
– Ideal Op-Amp
– No Current into Op-Amp
– Virtual Ground at Inverting
www.forumelectrical.com Input
– Vout = -IRf
Binary Weighted Resistor
24
Assume
binary
B5
inputs B0
B4 (LSB) to Bn-
B3 1 (MSB)
Each Bi = 1
B2
or 0 and is
B1 multiplied
B0
by Vref to
get input
Bn −1 Bn − 2 B1 Bvoltage
Vout = − IRf = − Rf Vref + + ... n − 2 + n-10
R 2R
www.forumelectrical.com 2 R 2 R
25 Binary Weighted Resistor
B3 take
Example: B2 a 4-bit B0 Rf = aR
B1 converter,
Vout = −aVref + + +
1 2 4 8
Input parameters:
Input voltage Vref = -2V
Binary input = 1011
Coefficient a = ½
1 1 0 1 1 11
Vout = − ( −2 ) + + + = = 1.375V
2 1 2 4 8 8
www.forumelectrical.com
26 Binary Weighted Resistor
1
and maxVVout is=
max Vref 1 − n
2
www.forumelectrical.com
27 Binary Weighted Resistor
Advantages
❖ Simple
❖ Fast
Disadvantages
❖ Need large range of resistor values (2048:1 for 12-bit) with
high precision in low resistor values
❖ Need very small switch resistances
❖ Op-amp may have trouble producing low currents at the
low range of a high precision DAC
www.forumelectrical.com
28 R-2R Ladder
Circuit may be analyzed
using Thevenin’s theorem
(replace network with B2
equivalent voltage source Rf
B1
and resistance)
B0
Final result is:
Rf n −1
Bi
Vout = −Vref
R i =0 2 n −i
Rf Vref
Resolution
Vmin =
R 2n
Vref
n
If Rf = R then resolution2is
1
and maxVVout is=
max Vref 1 − n
2
www.forumelectrical.com
R-2R Ladder
30
Advantages:
❖ Only 2 resistor values
❖ Lower precision resistors acceptable
Disadvantages
❖ Slower conversion rate
www.forumelectrical.com
Common Applications:
31
Function Generators
Digital Oscilloscopes Signal Generators
1 2
www.forumelectrical.com