CENG4480 Lecture 04: Analog/Digital Conversions
Bei Yu
byu@cse.cuhk.edu.hk
(Latest update: September 11, 2019) Fall 2019
1 / 31
CENG4480 Lecture 04: Analog/Digital Conversions Bei Yu - - PowerPoint PPT Presentation
CENG4480 Lecture 04: Analog/Digital Conversions Bei Yu byu@cse.cuhk.edu.hk (Latest update: September 11, 2019) Fall 2019 1 / 31 Overview Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC) 2 /
1 / 31
Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC)
2 / 31
Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC)
3 / 31
Topics:
3 / 31
4 / 31
Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC)
5 / 31
5 / 31
Op-amp output with voltage supply limit (V+
S = V− S = 15)
S & V− S
6 / 31
Switching waveforms of non-inverting comparator.
Since ǫ = Vcos(ωt), therefore
sat
sat *Vsat: saturation voltage (e.g., ±15 V supplies is approximately ±13.5 V)
7 / 31
(a) Noninverting comparator
(b) Inverting comparator
8 / 31
9 / 31
10 / 31
11 / 31
Case 1: vout = Vsat, then
Therefore, the condition for switching (ǫ < 0) is that
11 / 31
When a slow ADC is used to sample a fast changing signal only a short sampling point can be analyzed
task
12 / 31
13 / 31
◮ When sampling 6 times per cycle, close to the original. ◮ when sampling 3 times per cycle, less reliable but frequency is equal to original. ◮ When sampling 6 times per 5 cycles, frequency is different.
14 / 31
Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC)
15 / 31
Input code (n bit Binary code) 0110001 0100010 0100100 0101011 : : Output voltage = Vout(n) V+ref ( High Reference Voltage) V-ref (Low Reference Voltage)
15 / 31
DAC
Input code (n bit Binary code) 0110001 0100010 0100100 0101011 : : Output voltage = Vout(n) V+ref ( High Reference Voltage) V-ref (Low Reference Voltage)
DV
V-ref
DAC output
V+ref Code (n)
where n is the bit# of input digital signal.
16 / 31
A transient spike in the output of a DAC that occurs when more than one bit changes in the input code.
Time for the output to settle to typically 1/4 LSB after a change in DA output.
17 / 31
Similar to summing amplifier:
18 / 31
Similar to summing amplifier:
Note here V−ref is 0 (ground)
18 / 31
Similar to summing amplifier:
Note here V−ref is 0 (ground) Limitations:
18 / 31
For given (b3b2b1b0) = {(1111), (0000), (1010)}, calculate va.
19 / 31
Data Bit Ideal R Real R 0 (LSB) 256K 270K 1 128K 130K 2 64K 62K 3 32K 33K 4 16K 16K 5 8K 8.2K 6 4K 3.9K 7 (MSB) 2K 2K
20 / 31
_ V0 R + V-ref Motivations:
integration
21 / 31
_ V0 R + V-ref Reference:
http://www.tek.com/blog/tutorial-digital-analog-conversion—r-2r-dac
22 / 31
_ V0 R + V-ref
23 / 31
_ V0 R + V-ref
For given (b3b2b1b0) = {(1111), (0000), (1010)}, calculate vo3.
24 / 31
Preliminaries Comparator Digital to Analog Conversion (DAC) Analog to Digital Conversion (ADC)
25 / 31
ADC
n 0110001 0100010 0100100 0101011 : : : Input voltage = V V+ref V-ref
25 / 31
26 / 31
27 / 31
Limination: Slow
27 / 31
comparison
28 / 31
comparison Limination: Slow
28 / 31
29 / 31
30 / 31
Pros:
31 / 31
Pros:
Cons:
31 / 31
Pros:
Cons:
31 / 31