Professional Documents
Culture Documents
Data Converters
Objective
Introduction
In this digital age, all the processing is done in digital form but most of real world signals are
analog in nature. So, we need an interface between Analog and Digital Signals which are
called as Data Converters. There are two basic types of Data Converters Analog to Digital
Converter and Digital to Analog Converter.
Important Terms
V
Re solution r Where V = Reference voltage corresponding to logic 1.
n r
2 1
n = no. of bits.
VFS: Full scale voltage is the maximum analog output voltage of DAC.
V
V r 2n 1 V
FS n r
2 1
Resolution 1
% Resolution 100 100
V 2n 1
FS
Solved Examples
Problem: In a 4 bit DAC reference voltage is 5V, if binary data 1001 is applied then analog
voltage is.
V
Solution: Resolution r 5 1
3
2n 1 16 1
1
V 9 3V
analog 3
I I I I I
f 3 2 1 0
V I R
0 f f
LSB Resis tance 2n 1 MSB resis tance
In weighted resistor DAC the accuracy is less due to use of different resistance. To
overcome this we use R – 2R ladder.
R – 2R ladder
R-2R Ladder
Adjacent to 2R is LSB.
R
V 1 f V
0 R X
l
n1
2 1 0 2ibi
decimal equivalent of b b b binary data b 2 b 2 b 2
2 1 0 2 1 0
i0
V n1 R
V r 2ibi * 1 f
0
2n i 0
R
i
V = Resolution * Decimal * gain
0
Since A and A’ both are ground then (logical or virtual ground and ground) the switch is
at same potential then charging and discharging of switch problem removed in previous
circuit.
V
I rR
I I I I
I b I b I b I b
3 2 3, 2 4 2 , 1 8 1, 0 16 0
I V n 1
1
r i
1 0 2n
I I I I I 8b 4b 2b b 2 b
f 0 1 2 3 16 3 2 i R
i 0
V n 1 R
V r 2ib f
0 i R
2n i 0
Solved Examples
Problem: If a 12-bit (3-digit) DAC that uses the BCD input code has a full scale output of
9.99V, then the value of Vout for an input code of 0111 1001 0101 is __________ V.
9.99
Solution: Step size= 10mV
999
0111 1001 0101
7 9 5
Vout 795 10mV 7.95V
Important terms
range
Resolution
2n 1
VRange V V
max min
1
% Resolution 100
2n 1
Dynamic Range 6n 1.76 dB 6ndB
V V V V
1 2 0 ref
V V V V
1 2 0 ref
Maximum conversion time 2n 1 T
CLK
. Conversion time depends on Input analog
voltage.
Also called Ramp type ADC.
Control circuit is used to reset when V V
a r
In SAR Type ADC, ring counter will be present to successively set the base.
Control circuit is used to reset, previously set bit when V V
a r
In SAR Type ADC, n clock pulse required for n bit conversion.
Conversion time nT
clock
SAR type, conversion time is independent of Analog Input Voltage.
SAR is mostly used in digital circuit to provide interface with microprocessor.
V V
V a T r tT
o RC 1 RC 1 At time t T , V 0
2 0
V V
0
a .T r T T V T V T T
RC 1 RC 2 1 a1 r 2 1
V .2n.T
a CLK
V NT
r
CLK
V 2n V
N a or V r .N
a
V
r 2n
If V 2n then V N
r a
Application
Solved Examples
4.365
Solution: Digital output= =436.510 43610
10 mV
Problem: For a dual slope type ADC, frequency of Clock is 1 MHz, Vreferance 1.0 . Fixed time
period T1 is 1ms, RC time constant is set to 2ms and Input voltage, Vi 5V . Value of Ramp
voltage Vs is ___________________V
tfix 1
Solution: Vs Vin 5 2.5V
RC 2