Electronics - Analog and Digital Converters - Discussion
Discussion Forum : Analog and Digital Converters - General Questions (Q.No. 2)
2.
A 4-bit R/2R digital-to-analog (DAC) converter has a reference of 5 volts. What is the analog output for the input code 0101.
Discussion:
34 comments Page 1 of 4.
Vidya said:
1 decade ago
Vout = Resolution * Decimal equivalent of given No.
Where Resolution = Vref/(2^n)-1
Resolution = 5/(2^4)-1 = 5/7
And dec No = 5
So answer = 25/7 = 3.125.
Where Resolution = Vref/(2^n)-1
Resolution = 5/(2^4)-1 = 5/7
And dec No = 5
So answer = 25/7 = 3.125.
(1)
Ravi said:
7 years ago
Thanks @Vidya.
(1)
Mohith said:
8 years ago
Vref/8=5/8=0.625,
Va/0.625=5=0101,
Va=3.125.
Va/0.625=5=0101,
Va=3.125.
Nisha said:
1 decade ago
In case of inverting, Vo = -1.5625 V.
In case of non-inverting, Vo = 3.125V.
So the given answer is correct.
In case of non-inverting, Vo = 3.125V.
So the given answer is correct.
Sarika rajesh banda said:
10 years ago
Yes,
Actual answer is 1.5625 volts.
Given in the sum is reference voltage = 5v, and resolution = 4.
So voltage per lsb = vref/2^n = 5/2^4 = 0.3125 v/lsb.
Therefore = 0101 in decimal is 5 = 5*0.3125 = 1.5625.
Actual answer is 1.5625 volts.
Given in the sum is reference voltage = 5v, and resolution = 4.
So voltage per lsb = vref/2^n = 5/2^4 = 0.3125 v/lsb.
Therefore = 0101 in decimal is 5 = 5*0.3125 = 1.5625.
Iuuu said:
9 years ago
Formula = Vref/2^n(msb bit * 2^0 + nextbit * 2^1 + nextbit * 2^2 + lsb bit * 2^3).
Mahesh R said:
9 years ago
Here Vref=+5 and the input is 0101(means 4 bit DAC).
In a 4-bit binary system, values should be 0000 to 1111 means 0 to 15 (or F).
As the R-2R ladder is connecting to inverting terminal of the Op-amp the output analog value will be ranging from 0V to -5V.
If the input is 0000 the output = 5 (0)/15 = 0 V.
If the input is 1111 the output = 5 (15)/15 = -5 V.
Here we have 0101 means 5.
So, output = -5 * 5/15 = -1.66 V.
The correct equation for 4 bit DAC should be,
Vo = -R(b3 * 2^3 + b2 * 2^2 + b1 * 2^1 + b0 * 2^0).
= -R (b3 * 8+b2 * 4+b1 * 2+b0 * 1)
Here R = Resolution = Vref/(2^n) - 1.
Correct me if I am wrong.
In a 4-bit binary system, values should be 0000 to 1111 means 0 to 15 (or F).
As the R-2R ladder is connecting to inverting terminal of the Op-amp the output analog value will be ranging from 0V to -5V.
If the input is 0000 the output = 5 (0)/15 = 0 V.
If the input is 1111 the output = 5 (15)/15 = -5 V.
Here we have 0101 means 5.
So, output = -5 * 5/15 = -1.66 V.
The correct equation for 4 bit DAC should be,
Vo = -R(b3 * 2^3 + b2 * 2^2 + b1 * 2^1 + b0 * 2^0).
= -R (b3 * 8+b2 * 4+b1 * 2+b0 * 1)
Here R = Resolution = Vref/(2^n) - 1.
Correct me if I am wrong.
Akshay said:
9 years ago
@Vidya.
R2r ladder has resolution =Vr/2^n (only).
R2r ladder has resolution =Vr/2^n (only).
KIRAN said:
8 years ago
Analog output for the input code 0101.
Formula: Va = Vref / 2^n * input code bit (Start from MSB).
Given : Vref = 5V; Input code bit = 0101.
Va = (Vref / 2^0 * 0) + (Vref / 2^1) * 1) + (Vref / 2^2 * 0) + (Vref / 2^3 * 1).
Va = (5 / 1 * 0) + (5 / 2 * 1) + (5 / 2^2 * 0) + (5 / 2^3 * 1).
Va = (5 / 1 * 0) + (5 / 2 * 1) + (5 / 4 * 0) + (5 / 8 * 1).
Va = (0) + (2.5) + (0) + (0.625).
Va = 3.125 V.
Formula: Va = Vref / 2^n * input code bit (Start from MSB).
Given : Vref = 5V; Input code bit = 0101.
Va = (Vref / 2^0 * 0) + (Vref / 2^1) * 1) + (Vref / 2^2 * 0) + (Vref / 2^3 * 1).
Va = (5 / 1 * 0) + (5 / 2 * 1) + (5 / 2^2 * 0) + (5 / 2^3 * 1).
Va = (5 / 1 * 0) + (5 / 2 * 1) + (5 / 4 * 0) + (5 / 8 * 1).
Va = (0) + (2.5) + (0) + (0.625).
Va = 3.125 V.
Subodhunu said:
8 years ago
Va= Vref(1/2 + 0/4 + 1/8 + 0/16) (because 0101).
= 3.125 v.
= 3.125 v.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers