Académique Documents
Professionnel Documents
Culture Documents
Analogue Electronics
Topic 2b
Reference
Muhammad H. Rashid, (1999),
Microelectronic Circuits: Analysis and
Design, PWS Publishing Company, ISBN
053495174-0. Chapter 16.
PART 1
Sample-and-Hold (S/H)
Analog input signal
Digitized Output
Analog-to-Binary Mapping
Analog
14 V
(VREF)
10
5.2
(Va)
10
Principle of a Sample-and-Hold
Circuit
A S/H circuit is to sample an input signal and hold on to that level
for as long as required by the conversion to complete its process.
The capacitor CH is the holding device.
Turning on switch S1 (close it)
will rapidly charge up CH to
the sample voltage. After
turning off, CH will retain the
desired voltage level.
If the time constant RSCH is
very small, the output voltage
will be almost equal to the input voltage at the instant S1 turns off
(i.e. open).
11
switch closed
switch open
vCN
12
13
Weighted-Resistor DAC
14
VO 0.5 23 B3 2 2 B2 21 B1 20 B0
Major disadvantage: wide variety of resistor values required,
changes in value will reduce accuracy and stability of DAC.
16
17
18
19
20
Vref RF B3 B2 B1 B0
VO
1 2 3 4
3R 2
2
2 2
Vref RF 3
2 B3 2 2 B2 21 B1 20 B0
48R
Generally for n bits,
VO
Vo
Vref RF
n
3R ( 2 )
30
Vo (23 B3 2 2 B2 21 B1 20 B0 )
48
21
22
PART 2
23
24
Successive-Approximation ADC
A successive-approximation A/D converter operates by
successively dividing in half the voltage range of the converter.
The converter consists of
five parts:
(1) Analog comparator
(2) 4-bit DAC
(3) 4-bit register (memory)
(4) Logic control
(5) Ring counter
25
26
Comparator
If Va > Vb, the output of comparator becomes high (logic 1)
If Va < Vb, the output becomes low (logic 0)
Vcom
1 for Va Vb
sgn Va Vb
0 for Va Vb
27
28
Step 1.
The 1st pulse from the ring counter sets B3 = 1 (while the rest
of the bits in the register remain as 0).
So B3B2B1B0 = 1000.
Vb = 8 V (since 10002 = 8)
Note that 8 is approximately half of 15 (i.e. full-scale).
(some design sets the bits to 01112=7, which is also fine.)
Compare with comparator, if Va Vb, B3 will stay at 1;
otherwise B3 will be set to 0.
At the end of step 1, B3 = 1 (since 10 > 8).
So now B3B2B1B0 = 1000.
29
Step 2.
The 2nd pulse from the ring counter sets B2 = 1.
So B3B2B1B0 = 1100.
Vb = 12 V (since 11002 = 12)
Note that 4 (B2) is approximately half of 8.
Compare with comparator, if Va Vb, B2 will stay at 1;
otherwise B2 will be set to 0.
At the end of step 2, B2 = 0 (since 10 < 12).
So now B3B2B1B0 = 1000.
30
Step 3.
The 3rd pulse from the ring counter sets B1 = 1.
So B3B2B1B0 = 1010.
Vb = 10 V (since 10102 = 10)
Compare with comparator, if Va Vb, B1 will stay at 1;
otherwise B1 will be set to 0.
At the end of step 3, B1 = 1 (since 10 = 10).
So now B3B2B1B0 = 1010.
31
Step 4.
The 4th pulse from the ring counter sets B0 = 1.
So B3B2B1B0 = 1011.
Vb = 11 V (since 10112 = 11)
Compare with comparator, if Va Vb, B0 will stay at 1;
otherwise B0 will be set to 0.
At the end of step 3, B0 = 0 (since 10 < 11).
Finally B3B2B1B0 = 1010.
The desired number is stored in the register, for a readout.
With an N-bit ADC, the conversion takes N clock periods.
e.g. An 8-bit ADC with a 10-MHz clock will take,
8/(10 x 106) = 8 x 107 = 800 ns.
32
33
Resolution
The resolution of an ADC is defined in terms of the smallest
voltage increment that will cause a bit change. It represents the
value of its least significant bit (LSB). Resolution is specified in
volts and determined by,
Q = VREF/(2N1)
where VREF is the analogue full-scale voltage range.
Sometimes, resolution is expressed with respect to VREF :
Q = 1/(2N1), or 100/(2N1) %
Three primary sources of error intrinsic to any A/D converter
are:
Quantization error
When signal is rounded up/down to a digital level
Saturation error
When the input signal exceeds the upper/lower bounds of full-scale
Conversion error
34
Quantization Error
= Quantization Error
35