Ade Mod5

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Guide for Analog and Digital Electronics Module 5

Q1. Explain 5-bit resistive divider with diagram.


Answer: 5-bit resistive divider is shown below:
V4 V3 V2 V1 V0

R4 R3 R2 R1 R0
=R0/16 =R0/8 =R0/4 =R0/2

VA (Analog Output)
A resistive divider can be build to change a digital voltage to an equivalent analog voltage.
The following criterion can be applied to resistive divider.
 There must be one input resistor for each digital bit.
 Beginning with the LSB, each following resistor value is one half of the previous
resistor.
1
 The LSB has weight of n , where n is the number of input bits.
2 1
V
 The change in output voltage due to a change in the LSB is equal to 2 where V is
2 1
the digital input voltage.
 The output voltage can be obtained for any digital input signal by following equation.
V0 20  V1 21  V2 22  V3 23  .......  Vn 1 2 n 1
VA  , where V0 ,V1 ,V2 ,......,Vn 1 are the digital
2n  1
voltage (0 or V) and n is the number of input bits.

Q2. For a 5-bit resistive divider, determine the following (a) the weight assigned to the LSB

(b) the weight assigned to the second and the third LSB (c) the change in output voltage

due to a change in the LSB, the second LSB, and the third LSB (d) the output voltage for

a digital input 10101. Assume 0= 0 V and 1=+10 V.

Answer:
1 1
(a) The LSB weight is 
2  1 31 5

2 4
(b) The second LSB weight is and third LSB weight is
31 31

Page: 1
Guide for Analog and Digital Electronics Module 5

10
(c) The LSB causes a change in the output voltage of V. The second LSB causes an output
31
20 40
voltage change of V and third LSB causes an output voltage change of V.
31 31
(d) The output voltage for a digital input of 10101 is

10  20  0  21  10  22  0  23  10  24 10(1  4  16) 210


VA     6.77 V
25  1 31 31

Q3. Explain binary ladder with diagram.

Answer: Binary ladder is shown below.

B0 Bn-1 Bn

+15V
2R -
2R 2R
VA
+
2R R R
-15V

Bn , Bn-1 , ….,B0 are the digital inputs, whose values are either 0 (0 Volt) or 1(V Volt).

Bn is MSB and B0 is the LSB.

1 1 1
VA  V ( Bn   Bn 1   .......  B0  n )
2 4 2

Q4. Find the output voltage from a 5-bit ladder that has a digital input of 11010. Assume that

0=0 V and 1=+10 V.

Answer:

1 1 1 1 1 1 1 1
VA  10(1  1  0   1  0  )  10(   )  8.125 V
2 4 8 16 32 2 4 16

Page: 2
Guide for Analog and Digital Electronics Module 5

Q5. Explain the terms accuracy and resolution for D/A converter.
Answer:
Accuracy is a measure of how close the actual output voltage is to the theoretical output value.
For example, suppose the theoretical output voltage for a particular input is +10 V.
For accuracy of 1 percent, the actual output voltage must lies between +9.9 V and +10.1 V.
Resolution defines the smallest increment in voltage that can be recognized. Resolution is a
function of number of bits in the digital input signal. In a 4-bit ladder system, the LSB weight
of 1/16. This means that the smallest increment in output voltage is 1/16 of the input voltage.
If the input voltage is +16 V, then the output voltage changes in steps of 1 V. This converter
cannot resolve voltages smaller than 1 V. This converter is not capable of distinguishing voltages
finer than 1 V which is the resolution of the converter.

Q6. What is the resolution of a 9-bit D/A converter which uses a ladder network? What is the
resolution expressed as a percentage? If the full scale output voltage of this converter is +5 V,
What is the resolution in volts?
Answer:
1 1
In a 9-bit system, the LSB has a weight of 9  .
2 512
1
Hence, the resolution of the converter expressed in percentage=  100%  0.2%
512
1
The resolution in volt=  5  10mV
512

Q7. How many bits are required at the input of a converter if it is necessary to resolve voltage to
5 mV and the ladder has +10 V full scale?
Answer:
1
Resolution= n  full scale voltage where n is the number of bits
2
1
 5 103  n 10
2
 2  2000
n

 n  11

Page: 3
Guide for Analog and Digital Electronics Module 5

Q8. Explain simultaneous A/D converter with diagram.


Answer: Following is the logical diagram for 2-bit simultaneous A/D converter.

Reference
Voltage Comparator C1
+3V/4

Analog Input
Reference Comparator Output
Voltage
Voltage Comparator C2
( 0 to V Votts)
+V/2

Reference
Voltage Comparator C3
+V/4

Following table shows the comparator output for input voltage ranges

Input Voltage Comparator Output


C3 C2 C1
0 to +V/4 Low Low Low
+V/4 to +V/2 Low Low High
+V/2 to +3V/4 Low High High
+3V/4 to V High High High

The simultaneous method of A/D conversion using three comparators is shown in the above
figure. The analog signal to be digitized serves as one of the inputs to each comparator. The
second input is a standard reference voltage. The reference voltages used are +V/4, +V/2 and
+3V/4. The system is then capable of accepting an analog input voltage between 0 and +V.
If the analog signal exceeds the reference voltage to any comparator, that comparator
turns on. Now, if all the comparator are off, the analog input signal must be between 0 and
+V/4. If C1 is high and C2 and C3 are low, the input must be between +V/4 and +V/2. If C1
and C2 are high and C3 is low, the input must be between +V/2 and +3V/4. If all the
comparator outputs are high, the input signal must be between +3V/4 and +V.

Page: 4
Guide for Analog and Digital Electronics Module 5

Q9. Explain counter type A/D converter with diagram.


Answer: Following is the counter type A/D converter
Start

Clock Gate and


Control Counter

N lines

Level Amplifier

Comparator
N lines
Reference
Voltage
Analog Binary Ladder
Input
Voltage N lines

This type of A/D converter consists of binary counter. The digital output signal of this counter
is connected to a standard binary ladder D/A converter. If a clock is applied to the input of the
counter, the output of the binary ladder D/A converter is the staircase waveform. This waveform
is the reference voltage signal for the comparator.

First, the counter is reset to all 0s. Then, when a convert signal appears on the START line,

the gate opens and the clock pulses are allowed to pass through to the input of the counter.

The counter advances through a normal binary count sequence, and the staircase waveform is
generated at the output of the ladder. This waveform is applied to one side of the comparator and
analog input voltage is applied to the other side. When the reference voltage equals (or exceeds)
the input analog voltage, the gate is closed, the counter stops and the conversion is complete. The
number stored in the counter is now the digital equivalent of the analog input voltage.

Page: 5
Guide for Analog and Digital Electronics Module 5

Q10. Explain continuous A/D converter with diagram.


Answer: Following is the continuous A/D converter:

Clock

OS

Advance
Up
S Q Count up UP/Down
Count Down Counter
Up
Q N line
R

Level
Amplifier

N line
S Q Down

Ladder
Down
R Q
N line

Digital
Down output
Comparator Analog
Up
Input

This type of A/D converter consists of binary up/down counter. The digital output signal of this
counter is connected to a standard binary ladder to form a D/A converter. Output of the ladder is
fed into a comparator which has two outputs. When the input analog voltage is more positive
than the ladder output, Up output of the comparator is high. When the input analog voltage is
more negative than the ladder output, the down output is high.

Page: 6
Guide for Analog and Digital Electronics Module 5

If the Up output of the comparator is high, the AND gate at the input of the Up flipflop open,
and the first time the clock goes positive, the flipflop is set. At moment down flipflop is reset, the
AND gate which controls the count-up line of the counter will be true and the counter advance
one count. As long as the Up line out of the comparator is high, the converter continues to
operate and advances its count.

At the point where the ladder voltage becomes more positive than the input voltage, the Up line
of the comparator goes low and the Down line goes high. The converter then goes through a
count-down conversion cycle.

Q11. Explain successive approximation converter with diagram.


Answer: Following shows the block diagram for successive approximation converter.

Ring Counter
Contrl logic
and clock
N lines

Counter

N lines

Level Amplifier

N lines

Comp.

Vx Ladder
(Analog Input)
N lines

Digital Output

Page: 7
Guide for Analog and Digital Electronics Module 5

Following shows the operation performed in successive approximation converter

1111
1111
1110
1110
1101
1101
1100 1100

1011
1011
1010
1010
1001
1001
Start 1000
0000 1000
0111
0111
0110 0110

0101
0101
0100
0100
0011
0011
0010
0010
0001
0001
0000

Successive approximation converter consists of counter which is first reset to all 0s. The MSB of
the counter is then set. The MSB is then left in or taken out (by resetting the MSB flipflop)
depending on the output of the comparator. Then the second MSB is set in, and comparator is
made to determine whether to reset the second MSB flipflop. The process is repeated down to
LSB and at this time desired number is in the counter. The converter operates by successive
dividing the voltage ranges in half. The successive approximation method is the process of
approximating the analog voltage by trying 1 bit at a time beginning with MSB. The operation is
shown in the above diagram.

Page: 8

You might also like