Professional Documents
Culture Documents
1. D/A Converter
2. A/D Converter
D/A Converter
MSB
b1
b2
b3
B DAC
. B bits Analog
inpu
. output
t bits
. xq
bB
LSB
uni-polar mode ⇒ xq ∈ [0 ; R]
Full-scale R
bi-polar mode ⇒ xq ∈ [-R/2 ; R/2]
D/A Converter
xq = R( b.2
1
-1
+ b 2.2 -2
+ … + b B.2 -B
– 0.5)
Bi-polar 2’s complement
1000 = -8 0000 = 0
1001 = -7 1111 = -1
1010 = -6
1110 = -2
1011 = -5
1100 = -4
1101 = -3 m2 c = m + 1
A/D Converter
LSB
bB
Analo
g .
input . B
ADC . output
x b3 bits
b2
b1
MSB
B
output
bits
LSB
xq b1 b2 b3 … bB
DAC
Successive approximation
algorithm
Example:
Convert the analog value x = 3,5 into the offset
binary code, assume that B = 4 and R = 10V.
Solution:
+ B = 4 and R = 10V, we use the table 2.1.
With every bit is turned on, the input/output val
of DAC is referenced at the fifth column in the
table 2.1.
Successive approximation
algorithm