Professional Documents
Culture Documents
Convertor Book
Convertor Book
CIRCUTS &LOGIC
circuit
DIGITAL basically s combinanonal
logic
A emiconductor
Read OmlyMemory 6) a
ofthese
eiemens one
memry (
(a
set
offip-hop
crruit wich flip-fiop
sad gaes
(d)all of the above
3 seqaoal
c specified by
PLA K (c)
the
Number of ouiptrS
pruduT t e r z e s memories
TOt with bipoBar a m e and
are cheaper
access
compared
ben
HOS memories (b) faster but are cheaper
ime
and are costty
tE} SSower a c S s
ime
(d)slower access
(c) faster access üme and art costi
consists of
(b)
(c)
a
PROM mamces
decoder followed by an
(d) Silo memory
encoder
CONVERTERSS
(a) A mulapierer followed by
a decoder
(d) None of
these 11.0 INTRODUCTION
ic} an by a decoder
encoder folloued It is important for a system to convert the available signal into digital form and vice-versa.
17. PAL consists of the following matrix
OR matix There are basic two types of converters named A/D converter and D/A converter.
(a) Fixed AND m2trix and a programmable as
OR matrix
b) Programmable AND matrix anda fixed
(d Both AND and OR matrix
are programmable The process of conversion from an analog signal to digital signal is referred to as
(c) Both AND and OR matrix are fixed
(ADC or A/D converter an Analog to Digital Converter.
18. The refreshing cyce is required by the memory
(c) RAM1 (d) All of these Whenever, the output of the system
(b) Dynamic MODs
a I ROM required to be in analog form then the digital inputs are fed to D/A converter to
back the original analog signal. For this get
19. Dynanic menory cells are constructed using purpose Digital to Analog Converter (DAC or D/A Converter) is used.
(b) Transistors (c) FET's (d) Flip-Flops
fa) MOSFETS
20. Semiconductor memories are 11.1 DIGITAL TO ANALOG (D/A) CONVERTERSS
a) volatile and smaller in size (b) volatile and larger in size
(d) non-volatile and smaller in size Types of DIA converters are
c) non-volatile and larger in size
1.
Binary Weighted Resistance D/A converter
ANSWERSs 2. R-2R Ladder D/A converter
1. d 2 (6) 3.(c) 4.(a) 5. (b) 6. (a) 7.(4 . (a)
9. 610. (d
iL. (o) 12 (4 13.0 14.(b) 15.6 16(6) 17. (6) 18. ( 19. ()20. (a 11.1.1 Binary Weighted Resistance D/A Converter
Functional block diagram of
binary weighted resistance DAC for 3-bit input data is as shown in fig.
oosUPPLEMENTARY PROBLEMS 11.1.
1. Give classification of
semiconductor memories. 20LSB)
2. Differentiate RAM and ROM semiconductor memories.
3. Explain EPROM and EEPROM memories. Why they are called
Digital
Inputs
- Resistance
Divider Analog
4.
as erasable memories ? Output
Compare SRAM and DRAM. 2 Circuit
5. Explain
memory cell in detail. (MSB)
6. Explain read/write
cycles for RAM with suitable
7. Write timing waveforms.
short notes on (a) PLA Fig. 11.1 Functional block diagram of Binary
8. Obtain a
(b) PAL (c) FPGA.
memory of size 16 x 2 using 4 x 2 size of
Weighted D/A Converter.
9. Differentiate PLA
and PAL. memory IC's or
chips.
10. Write short notes on
(a) Masked ROM. (b) PROM.
843
DESIGN
& LOGIC A/D AND D/A
DIGITAL
CIRCUITS
analog
oupuis
Let us take an example cONVERTERS
844 digital inputs
and their corresponding
. Snows
TABLE 11.1 M$B LSB 845
Analog Outputs If digital input is 001 i.e, V,V,V,= 001
Digital Inputs Let us assume
logic 0 0V
+1V and
logic l = +7V
0
+2V Its equivalant circuit is as shown in fig. 11.3.
+3V
+4V
0
+5V 2
V=1
+6V OV
1
+7V.
outputs
Table 1. Shows digital inputs and
their corTesponding
of 001 the output wil
0V and I=+7V. Now, for an input
-R R
100 w l l provide an output of+4V, The
are 0 =
that the digital input levels
Let us assunme
VR1/R/B,+V, /R,+V,/R,
+1R +1/R +1/R, t..
DESIGN
CIRCUITS & LOGIC D AND D/A
344 801e 11.I shows
DIGITAL
digital inputs
and
corresponding
their
analog ouputs
TABLE11.11
Let us take an example
ONVERTERSS
MSB LSB 845
Analog Outputs If digital input is 001 i.e.,
Digital Inputs
V2V,Vo 01=
OV Let us assume
logic 0=0V
0 +1V and logic 1 = +7v
0
+2V
ts equivalant circuit is as shown in fig. 11.3.
+3V
+4V
+5V
+6V OV OV TN1
+7V.
analog
Output voltage.
1. The 20 bit must be changed to +1V and 2 bit must be changed to +2V, and 2 bit must be changed to +d
4V. R>Ro
2. These three voltages represents the digital bits and they must be summed togetner to form the
analog output
put
voltage.
Its internal structure is as shown in fig. 11.2 for a 3-bit digital input.
RLRo
So, the output is analog
+1V.
It will be more clear if we consider another
data.
Fig. 11.2 Internal structure of Binary Weighted Resistance D/A If the digital data is 011, we have
It can be solved
Converter.
by using Millman's theorem. According to Millman's theorem logic 0= OV
equation is given by logic 1 = +7V [Assumed data)
v-/R +V/R+V,/R, +V,/R.************
1/R +1/R +1/R, +1/Rg t..
DESIGN A/D AND D/A CONVERTERS
CIRCUITS &LOGIC
DIGITAL
fig. 11.+
shown in Vo
Digital fnputs 847
846 lts equivalent
circuit is as
27
+7V= 1
V2
(LSB) (MSB)
OV
2R
-R -RR 2R
2
w-
w-
2R R
B R C R D
A
Analog
Output
Fig. 11.5 Internal structure of R-2R Ladder
R >Ro It uses the formula
digital to analog converter.
7R+7/R/2) +0
2 2
R Ro R n= Number of bits.
Here, n =
4(as data is 4-bit)
2R 2R 2R 2R
. . ww
2R A
w-
R B R R VA
D
Analog
Output
Thus, analog output is +3V.
VA VoX2+V2+V,2 +V216x1+0x2+16x4+0x8 16+64 80
16 1 6 5V
11.1.1.1 Drawbacks or Disadvantages of Binary Weighted Resistance D/A Converter Thus, the analog output is +5V.
2 16
There are two drawbacks of resistive divider or binary weighted resistance D/A converter
Similarly, if the given data is 1000, we get
1. Each resistor in the network have a different value.
2. More resistors are used thus much greater currents are needed. 0x20 +0x2 +0x2 +16x22 16x8
VA= 2*
gv
For Example
Thus, analog output is 8V for binary 1000.
In 10-bit system, the current through the MSB resistor is approximately 500 times as large as the current through LSB
resistor.
Due to these drawbacks second types of resistive network is used called
11.1.3 Performance Characteristice of D/A Converters
as 'R-2R ladder' network 1.
Resolution Resolution is the reciprocal of the number of discrete steps in the D/A outputs. Thus, resolauion
:
11.1.2 R-2R Ladder D/A Converter depends the number of bits in digital system. It is given by following equation
on a
r 0 tf fill a e .
aoverner iSB s ideal
ir
aevener spaiies
the axuay
wruh w t x h the perfoDma
erease) QE
LSB 0.05 0.0
63 0.00079
The ineariy afe in the
earity: analos 2-1 26-1
ener hen LSB. %QE =0.079
e mean shuid de st ieast aquai
w or
I11.2 ANALOG TO DIGTAL (AD)
e g Time: Wieever a ága nput is
apd h DiA TT.
TIEATES
a vahs
OUEput to
value within some
sets a
Types of AD converters are: CONVERTERS
r ss Iis paraTeter telis the speed of D/A cOns
1. Simultaneous or Flash or
init range is -LSB and Parallel Comparator A/D converter
h ofhe sins valae The 2 Continuous Counter AD (Parallel A/D converter).
of switches ampifier.
esisaors etc. in the
devac Converter or Up/Down Counter AD converter
*kuistai by ae 65 . It meets 3. Single slope A/D converter. (Counter tpe AD
EAMPLE 1.i A 6-bit R-2R iadder DA
caaverter has reference voltage
of standard in
4. Dual slope A/D converter.
converter)
2 Ful Scale voltage 3. Output for 011100
Caleuiaie 1. Resalution in Vols and Pervrentage
5. Seccessive
4 Range in output for (
5 Quantization error
approximation A/D converter.
11.2.1 Simultaneous or Flash or Parallel
SOLUTION: 1 Resolution = The Comparator AD Converter
procesS of converting analog
conversion is simultaneous method. Forvoltage digital is known as A/D conversion. The simpiest method used for its
to
this simultaneous A/D converter is
FResolution x100=X100 or
R 1.578 % It
consists number of operational amplifiers. For three bit (i.e.. usedd
of
6 for 6-bit) N= number of possible
combinations. (from formula 2 N, ie., numberK,of bits
Thus, for 3-bit we have 2° 8.
=
n =
X1 Xg). (N- 1) op-amps are used.
and N=number Where,
Resoluion in Volts =R= =01IV =
Hence, (8-1) 7 op-amps are used.
= of possible combinations)
There is one reference voltage which is
different for different op-amps. The
Op-amp as a
comparator is used here.
to get the
output of op-amp. For
simplicity analog and reference voitages are
difference starting from compared
reference
Ful scale voitage (FSV) 1sgiven by FSV=V2e 6.5 =6.5x=6398=6 example, for 1 op-amp V,=reference voltage 0.5V, voltages
=
are in the slot of 1V
for 20d op-amp 0.SV. For
2 If the analog signal is less than V,= 1.5V, for 3 op-amp
3 Output for 011100 is given by 0.5V, comparator outputs are '0'. If the V,=2.5V and so on.
0.5V but less than 1.5V, than the 1* analog signal is equal to 0.5V and geater than
comparator is
coresponding comparator outputs and digital output High are asothers
and are Low.
Similarly, the range of analog inputs,
or binary inputs shown in table l1.2.
TABLE 11.2
Here, data is Analog Inputs
0 Comparator Outputs Binary Outputs
Vs (Volts)
MSB V V V V o LSB
th 6th 5th 4th 3rd 2nd st
Vs <0.5 0
and 0.5 Vs< 1,5
n=6 (for
six bit data) Or, Vout 0+0+1x22+1x23 +1x24+0
2 1.5 s Vs<2.5 0 0 0
Here. 0
Logic l= +6.5 V
[Because, reference voltage V, = 6.5 V] 2.5 Vs<3.5 0 0
Logic 0 = 0 Vv
3.5 s Vs <4.5
6.5x 2+6.5x2+6.5x24 4.5s Vs «5.5 0
64
also, S.5Vs<6.5
o65284 v Vs2 6.5
DESIGN
&1OGIC erene vo S
CRCUITS
then itit is take as
v, then ADAND DA ERTERS
in
DIGITAL than
I, *,"
FRIRT
and
and thuN,
ihus, giv¢s the
"' i is clear frm the figrwre 18
gees
ivw i
V
wth
etceKe
alage
oni t
vaPsli vtage
gl
th*wigt
V, 4Etage*
Y(Outpu)
V
Comparator with ,and
V,voltages.
sv
11.6 faAWInE pOInis
F The tahle gives
can hr iengnd
i e
art hagrun
sv
v,V
Coaverter is as shown in figure I1.7, svy
E S r Flash or Parallet AD
V,V
sv3sv
V,
sv2sv
v,
svSV
V,V
0.5V
Analog Reference (V)
InputVoltage
V, * 5V
Digital
Outputs
5. Latches.
&LOGIC
DESIGN AD AND DIA
DIGITAL CIRCUITS If the input is constant, the counter
cOunt, the reference voltage V,becomes a
backs down on count
hewn c
CONVERTERS
when a
852 It 1s as shown in figure 11.9 comparison
s to up again. So, f the input 18 a bit less than analog output voltageV the takes place. Due to this backing 853
Analog
constant, this back and forth action ,
comparator output
down on
Control
output waveforms. goes
continuous and due to which we High anai count
e
nput
Logic EXAMPLE
calculate:
11.2 A counter type AD
converter contalns a 4' blt
get such type or
binary ladder and ls driven
V, Comparator 1. Conversion time and converslon rate. by a 2MHz cdock,
2. Resolution.
Up Down Command
Command Clock IVis relerence voltage for ladder network and is 2V.
Reference sOLUTION:
Voltage
Do Conversion time 2
D/A
Converters
D
D2-
Q1 Up/Down
Counter
1.
t)=
ses
Clock rate 2x1068sec
Conversion rate = =
D3 - t10-=125x10f conversions/se
Resolution = S
2-1
FSVFull Scale voltage)
FSV 22-1)_2x15 =1,875V
Latches
(Because, n=4)
Resolution, R =85,1875_
2"-1 150.125V
Time () Logic
Magnitude D/A Converter Output op-amp as
Comparator
Clear
Counter
Analog Clock
Input
Fig. 11.10 Input-output Time ()
waveforms for counter type A/D converter lg. 11.11 Black diagram of single slope AD converter
apacitor in the feDA CONVERTERS
he integraung
op-anp uses a
DESIGN The
comparator. "
nput the output voltage is inteos
4. AND gate is used) output romthe
is 0000(if 4-bit Thus,
..is varying we get a analogsinput voltage. If
a High becas0
initially i.e. output and gives ANLD gate is used
is at this point
reset
Counter reference voltage V, the ramp
generator. If
starts e d ramp. Vin
xedhe utput of integrator be zenroramp fixed as well
AND
8 greater than
the counter and Or tne input
to gate goes
geV clock to the Because any
ell as W e get anoutput-Vin which is a
outp
the
comparator
enables the
clock will be
disabled and
counter stops.
and
Ltt Voltage Vin 1S appliea through initially t variable slope at its output
goes Low the
eaches a specified count, it willelectronic
it equals the analoo
nparator output input, hC suiteh
i n c r e a s e until
S- R
Counter Flip Flops Flip Flops
are USed
Clock
SAR
Level Amplifiers
Latches
TIIT
D3 D2 D Do
Latches
Digital outputs
DA Converters
Digital Outputs
Fig. 11.12 Black diagram of Dual Slope A/D
Converter. Approximation Type AD Converter.
Fig. 11.13 Black diagram of Successive
DESIGN
AD AND DIA
DIGITAL
CIRCUITS
flip-flops.
The output of
&LOGIC
these wen as
as
flip-tlops
are given to level.
amplifi s
tne analog reference
and
2
rence voltage V 6 Performance
11.2.6 Perfo haracteristics of A/D Con CONVERTERS J
856 logic is used to
set
ladder
or reset thenetwork. It gives digital ouputs basic
conditions
. olution :It is defined as the voltage input
change necessary for one bit
857
thento
three
rier which is a binary There are output levels are 2" 1 .
to D/A converter
the flip-flops. 1alog voIage, then MSB (most
voltage, then (most eie significant number
of
change in the output. For n bit ADC, the
resets
logic al than theinputanaiog
converteris less
control
the
y from D/A Resolution =ulscale input
Vie.
reference voltage
bit) is set to '1' by control logic. No.of O/P levels
Full scale P
set to T. 2"- 1
0' and nextbit is tputs from SAR
outputs SAR Example: 10 bit ADC having
V , > V , then
MSB is reset to (zero)
clock to fip-tlops
and we ger ugital
by using an VP voltage range of-10 and +
V, then the control logic
disables the 10V. The resolution is given by
J.
fV,=
latches.
Voltage I/P 10-(-10)_ 20
Let us consider an example for its working reset to zero. 1.e. V, =0.
2 -1 210-1 1023 19.5 mV.
us assume
that the counteriS
is Let V, = 4V and let
+Dit SAR used.
is set to 1, % Resolution= x 100%
Now, V,<V, MSB 2" -1
+0000
(Because, (1000,) (8),1)
=
3
V,>V
MSB is set to zero and 4h bit is set to '1', output of SAR = 0101. R
RwhereR Resolution. Then, S% Resolution=R
Vo =
*l00 x100
V,=V;=5V
Now clock is disabled by control
logic and output of SAR 0101 is obtained as digital output through latches.
= 2.Accuracy: The
be usefully provided.
accuracy of given ADC ie. amalog to digital converter determines the number of bits which
a can
1
Conversion rate = t o f its LSB.
2.5x10-6
4x 10° Conversion u sec.
Accuracy 202" -1)
D
cycles isgND DA
DIA COONVERTERS
CIRCUITS & LOGIC
DESIGN frequency
of the integration AND
858
DIGITAL
It is the time
refers to the
time requires
IOr a complete
easurment by analog
measurment k
The
by
version Time
to digital converter.
or Setting Time :
(Or)
f 859
equivalent. It is ent on the
dependent integrator time constant "t and
It is t required for conversion of analog
signal into its digital amplifiers ere,
a n d .
output and switches response imDe. determines the r a l . will beseen that
GE TO TIME CONVERTER unipolar analog signals.
input
e pOwer suppiy ranges and full temperature then these parameters represent 11.5.1 Clipping Circuits
6. Monotonicity : The output of AD convertor should not decrease or skip at any point tor a continuously increac