R-2R ladder D/A converter problem

6 replies · 3K views · last reply
Name15
Messages
30
Reaction score
1

Homework Statement


Circuit schematic of an R-2R ladder D/A converter feeding an op-amp inverting amplifier with feedback resistor RF 2Ω; resistors R1 2Ω, R3 1Ω, R5 1Ω, R7 1Ω, shunt resistors R2, R4, R6, R8 2Ω, inputs D 0 V, C 0 V, B 5 V, A 5 V, output VOUT.

Simplify in order to find voltage output.

Homework Equations


Vout= -Vref x (A + B/2 + C/4 + D/8)

The Attempt at a Solution


Op-amp inverting amplifier circuit: a 2 Ω input resistor from a 2.5 V source to the inverting input, a 2 Ω resistor R_B from that node to point A (5 V) below, and feedback resistor R_F = 2 Ω from output V_OUT back to the inverting input; non-inverting input grounded.

Firstly is this even correct?
Secondly, I have 2 voltages (2.5V and 5V), what should I do now? what is my Vref?
 
Name15 said:
what is my Vref?
Vref = 0V

I think that what is meant is that you must form a Thevenin equivalent from R1, R2:
Vth12 = 0V , Rth12 = R1 || R2 = 1Ω.
Now, this equivalent is connected in series with R3, giving Rth123 = 2Ω , Vth123 = 0V.

In this way you successive form new equivalents from left to right, until you have an equivalent for R1 . . R8 and VD . . VA.
Then you can calculate Vout.
 
Last edited:
  • Like
Likes   Reactions: berkeman
Hi, I don't understand why Vref = 0. I have 2 inputs; 5V and 2.5V. I thought one or both of those would be Vref. Also if Vref is zero, wouldn't Vout also be zero?
 
The 2.5V is not an input, but ( I assume ) an internal analog voltage you have calculated. I don't know how.

The ⊥ - symbol is Vref = 0V, and the terminals: A . . D are inputs ( something like TTL-level logic ( 0V = low level, 5V = high level ) ).

Vout will be a negative voltage, due to an inverting amplifier. Don't care about that, just calculate :smile:.
 
If you are looking for the ##V_{ref}## that fits your relevant equation, then set voltages B,C, and D to zero and then find the output due to voltage A alone. Then set ##V_{ref}## to a value that satisfies the reference equation for that scenario.
 
The problem is only C and D are 0V (A and B are both 5V), so I don't know how to do this problem. I've only been taught binary inputs where there is only one input.
 
Name15 said:
The problem is only C and D are 0V (A and B are both 5V), so I don't know how to do this problem. I've only been taught binary inputs where there is only one input.
Just set B,C, and D to zero volts for purposes of finding your Vref. It should be clear that A,B,C,and D are inputs for this circuit, and apparently the logic levels are 0V and 5V.

After you determine Vref you can find the output given any combination of inputs by using your relevant equation.