How to calculate this 4 bit DAC

  • Thread starter Thread starter michael1978
  • Start date Start date
  • Tags Tags
    Bit
Click For Summary

Discussion Overview

The discussion revolves around calculating the output of a 4-bit Digital-to-Analog Converter (DAC), specifically focusing on the R-2R ladder configuration. Participants express confusion over the calculations and circuit design, seeking clarification and examples.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant requests help with calculating the output of a 4-bit DAC, mentioning specific input values and expressing difficulty in understanding the concept.
  • Another participant suggests searching for examples of the R-2R ladder DAC to aid understanding.
  • Several participants point out potential issues with the circuit design, specifically regarding the op-amp configuration and the necessity of proper connections to avoid short circuits.
  • Concerns are raised about the input connections being left unconnected, which could affect the calculations based on the superposition principle.
  • A participant mentions resolving some issues using a voltage divider but encounters discrepancies in the output voltages when different keys are pressed.
  • There is a request for a revised circuit diagram to clarify the mixed ideas presented in the initial circuit.

Areas of Agreement / Disagreement

Participants express various viewpoints on the circuit design and calculations, with no consensus reached on the correct approach or configuration. Multiple competing views remain regarding the proper setup and calculations for the DAC.

Contextual Notes

Participants highlight limitations in the initial circuit design, including potential misconfigurations and the need for proper connections to ensure accurate calculations. The discussion includes unresolved mathematical steps and assumptions about circuit behavior.

michael1978
Messages
434
Reaction score
19
< Mentor Note -- thread moved to HH from the technical forums, so no Homework Help Template is shown >[/color]

please can somebody help me, how to calculate this 4 bit dac,
i know this one if input 1.1.1.1 5/2, 5/4 5/8 5/16 voltage

i don't understand nothing i search on the internet but i don't find some useful example,
my english is not so good...
please one more time can somebody explain me how to calculate, for formula thanks
ice_screenshot_20170630-161958.png
 
Last edited by a moderator:
Physics news on Phys.org
michael1978 said:
i search on the internet but i don't find some useful example,
Try again, using the search terms R-2R ladder DAC.

After you have done that reading, try again to work your schoolwork problem and post your work here so we can check it.
 
BTW, can you check your circuit, as I think the op-amp has the inputs reversed.

Berkeman beat me to the rest of the comment.
 
  • Like
Likes   Reactions: berkeman
Merlin3189 said:
BTW, can you check your circuit, as I think the op-amp has the inputs reversed.
Good catch!
 
Merlin3189 said:
BTW, can you check your circuit, as I think the op-amp has the inputs reversed.

Berkeman beat me to the rest of the comment.
thank you a lot , it help me, thanks...
have nice night.
 
Also, you show the output component as a Comparator. It should be a Op-Amp, not a Comparator.
 
You really should look up another version of the R 2R ladder.
-1 if key A is closed, the positive supply is short circuited to the output of the op-amp. That won't end well.
2 R1 shouldn't be there.
3 The ampiflier you connect the R-2R ladder to should have infinite (much larger than R) imput resistance.
4 The inputs should be connected to either 0 or 5 volts, and not left unconnected.

The last point is essential to make make the superposition principle work. If you have a network of resistors and voltage sources, you can calculate the effect of a single voltage source by replacing all the other voltage sources with a wire. You can than sum those indivudual effects to get the output voltage. Replacing the voltage sources by open circuits won't work.
 
  • Like
Likes   Reactions: Merlin3189 and berkeman
willem2 said:
You really should look up another version of the R 2R ladder.
-1 if key A is closed, the positive supply is short circuited to the output of the op-amp. That won't end well.
2 R1 shouldn't be there.
3 The ampiflier you connect the R-2R ladder to should have infinite (much larger than R) imput resistance.
4 The inputs should be connected to either 0 or 5 volts, and not left unconnected.

The last point is essential to make make the superposition principle work. If you have a network of resistors and voltage sources, you can calculate the effect of a single voltage source by replacing all the other voltage sources with a wire. You can than sum those indivudual effects to get the output voltage. Replacing the voltage sources by open circuits won't work.
Good Morning

i solve all the problme with voltage divider i find all the values.
but the problem is, when i push key D, the voltage of D is the same(like i find it with voltage divider), but the voltage on c,b,a they have other value?
how do i calculate ?because i draw the circuit in gsm (every circuit)
thanks...
 
The circuit in post #1 is a weird mix of several ideas.
Please post your revised circuit diagram.
 

Attachments

  • R-2R-Imode-Vmode.png
    R-2R-Imode-Vmode.png
    23.3 KB · Views: 589
Last edited:
  • Like
Likes   Reactions: Merlin3189

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K