Adc Dac
Adc Dac
Physical Sciences
Advanced Analogue Electronics
• Nyquist criteria.
Conversion Chain
Display
• Flash
• Slope integrators
• Successive approximation
• Delta-sigma
• Voltage to frequency
Flash Converter
• Input voltage is digitised in one cycle
• Requires 2N-1 comparators for N bits
• Cumbersome above 6 bits therefore has to be pipelined
• Extremely fast > 1G sample/s
• Power hungry
• A flash ADC is the fastest conversion time. The analogue
is compared with (2n-1) references voltages with 2n-1
comparators
Vin
ADC - Dual Slope Integrating
19
Successive Approximation
1. Sample held
2. MSB of SAR (successive
approximation register) is set to
1
3. DAC converts SAR output and
compares with input
4. If comparator still high MSB
remains set to 1 and next MSB
set and compared again
5. Loop to 3 for N bits
ADC - Successive Approximation Conversion
Voltage
100100
– Set next input bit for DAC to 1
100000
– Wait for DAC and comparator to
stabilize
100110
10011x
100xxx
1001xx
10xxxx
– If the input is larger than DAC output
1xxxxx
(test voltage) then set the current bit
to 1, else clear the current bit to 0
000000
T1 T2 T3 T4 T5 T6
Start of Time
Conversion 21
SAR Process
• Process to convert Vin = Vref
0.69 to 10110 = 24 + 22 +2 =
22/31 = 0.71
• Where Vref =1 V = 31 adc 3/4 Vref
output . 0
1
0
1 1
• 5 cycles 1
Vref = 1 Volt
• First approximation is Vin > 0.5 Vref ( generated by DAC) = 1 1/4 Vref
1. Comparator at V+
2. D1 reverse biased
3. Integrator ramps –ve
4. Rate, therefore time,
determined by Vin
5. When integrator
reaches –V+(R1/R2)
switches –ve Vin
discharging C via R3
6. R3 << R
7. Count pulses
• The simplest converter
• Always monotonic
MSB b3 R
2R
b2
4R - V0
b1 +
8R
LSB b0
• Voltage
R/2R Ladder Network
V3
R 2R
V2
R 2R
V1
R 2R
V0
2R 2R
V3 2R
R
R 2R
V2
R 2R -
V1
+ Vanalog
R 2R
V0
2R
b3 b2 b1b0
Vanalog = −(b3V3 + b2V2 + b1V1 + b0V0 ) / 2
= −V0 (8b3 + 4b2 + 2b1 + b0 ) / 2
= −V0 ( 23 b3 + 2 2 b2 + 2b1 + b0 ) / 2
Current summing DAC
• Current
0 1 0 1 1
MSB
Example b4 – b0 are set
ADC errors
• Offset
• Gain
• Non-linearity
32
Speed: needs to be faster than
Vout Offset error
signal frequency Offset
Resolutions: output step size.
Determined by num. of bits.
Accuracy: errors. See graphs.
Input Word
001 010 011
Gain error Vout Non-linear error
Vout
Gain error