ELG3336 LNConveters
ELG3336 LNConveters
ELG3336 LNConveters
011
010
001
000
Vref 4 7
Vref Vref
8 8 8
Analog Input Vin
1
Analog to Digital Converters
Objective: Representing an analog varying physical quantity by a
sequence of discrete numerical values.
01 07 10 15 09 03 00 05
Analog Digital
Sample
& Hold
Quantization
fsample
2
Digitization Process
Electronics 7 3
Sample-and-Hold
A number of problems exist with the previous sample and
hold circuit
Load placed on the input of the circuit by charging the
capacitor during the sample phase.
Current flowing from the capacitor used in the conversion
will reduce the voltage stored on the capacitor
-
-
+
+
C
sample/hold
control line
Sample and Hold Circuits
• Sample and hold circuits hold signal constant for conversion
• A sample and a hold device (mostly switch and capacitor)
Demands:
– Small RC-settling-time (voltage over hold capacitor has to
be fast stable at < 1 LSB)
– Exact switching point
– Stable voltage over hold capacitor
– No charge injection by the switch.
If you can exactly
reconstruct the
signal from the
samples, then you
have done a proper
sampling and
captured the key
signal information
Electronics 7 6
Accuracy
xq(t)
t
Ts
t t
Ts
Resolution
Suppose a binary number with N bits is to represent an analog
value ranging from 0 to A; There are 2N possible numbers.
Resolution = A / 2N
Example 1: Temperature range of 0 K to 300 K to be linearly
converted to a voltage signal of 0 to 2.5 V, then digitized with an
8-bit A/D converter.
2.5 / 28 = 0.0098 V, or about 10 mV per step
300 K / 28 = 1.2 K per step
Example 2: Temperature range of 0 K to 300 K to be linearly
converted to a voltage signal of 0 to 2.5 V, then digitized with a
10-bit A/D converter
2.5 / 210 = 0.00244V, or about 2.4 mV per step
300 K / 210 = 0.29 K per step
Is the noise present in the system well below 2.4 mV ?
Successive Approximation ADC
Vin S&H
Logic
D0 D1 DN-1
VD/A
DAC
Vref
9
Ladder Comparison
The counter, through a digital-to-analog converter, produces a stair-step of increasing
voltage. At each step the input signal is compared to the current step level. If the input is
higher, then continue to step, if the input is equal or lesser, then stop and read the
counter. The count value is read as numeric value of the input.
10
Flash ADC
Vref • Vin connected with 2N
Vin
R/2 comparators in parallel
Over range
• Comparators connected to
R
resistor string
R
R D0
N D1
If Output
R (2 -1) to N
encoder
R
VIN > VREF High
DN-1
R VIN < VREF Low
R
R/2
Binary Encoder
Electronics 7 12
Priority Encoder
Electronics 7 13
An ADC is usually in form of an integrated circuit (IC). ADC0808
and ADC0809 are two typical examples of 8-bit ADC with 8-
channel multiplexer using successive approximation method for its
conversion.
ADC0809
National
Semiconductor
V1 V2 V3 Vn LSB
Vout IRf Rf n -1
R 2R 4R 2 R
Binary-Weighted Digital-to-Analog Converters
Sum of the currents from the input resistors; Consider binary weighting factor.
R 2R 4R 8R Vo
MSB
LSB
-VREF
R-2R Ladder
• The less significant the bit, the more resistors the signal muss
pass through before reaching the op-amp
• The current is divided by a factor of 2 at each node
LSB MSB
R-2R Ladder
The current is divided by a factor of 2 at each node; Analysis for
current from (001)2 shown below
I0 I0 I0
2 4 8
R R R 2R
R 2R 2R 2R
I0
Op-Amp input
VREF B1 B2 “Ground”
VREF VREF
B0 I0
2 R 2 R 2 R 3R 20
R-2R Ladder: An Example
Find the output voltage of the Op-Amp for the following DAC
R R R 2R
R 2R 2R 2R
I0 I0
Op-Amp input
VREF VREF
“Ground”
B0 B2
21
Resolution
V Ref
Resolution V LSB N
2
Poor Resolution(1 bit) Better Resolution(3 bit)
Vout Vout
Desired Analog Desired Analog signal
signal
111
110 110
8 Volt. Levels
2 Volt. Levels
1
101 101
100 100
011 011
010 010
001 001
0 0 000
000
23
Summary
• Operational amplifiers are important building blocks in analog-to-digital
(A/D) and digital-to-analog (D/A) converters. They provide a means for
summing currents at the input and converting a current to a voltage at the
output of converter circuits.
• The methods of A/D conversion used are many! In the successive method,
bits are tested to see if they contribute an equivalent analog value that is
greater than the analog input to be converted. If they do, they are returned
to zero. After all bits are tested, the ones that are left ON are used as the
final digital equivalent to the analog input.
• The R/2R ladder D/A converter uses only two different resistor values, no
matter how many binary input bits are included. This allows for very high
resolution and ease of fabrication in integrated-circuit form.
• The DAC0808 (or MC1408) IC is an 8-bit D/A converter that uses the
R/2R ladder method of conversion. It accepts 8 binary input bits and
outputs an equivalent analog current. Having 8 input bits means that it can
resolve up to 256 unique binary values into equivalent analog values.
37