Differential amplifier with zener diodes

AI Thread Summary
The discussion focuses on the analysis of a differential amplifier circuit using zener diodes, where participants share their calculations and interpretations of the circuit's behavior. There is confusion regarding the correct voltage at the non-inverting input (V+) due to a potential divider, leading to differing output voltage (Vout) results of 4V and 4.1V. Participants emphasize the importance of using precise calculations and avoiding rounding errors, as well as the need for a correct method to avoid falling into traps set by specific resistor values. The conversation highlights the significance of Kirchhoff's laws in analyzing the circuit and the interaction of currents through various components. Overall, the thread illustrates the complexities of circuit analysis and the learning process involved in understanding operational amplifiers.
Femme_physics
Gold Member
Messages
2,548
Reaction score
1
I think I'm getting better at this ((thanks to gneill, ILS, ehild and technician :wink:I'm quite sure I got it right using the easy methods (formulas). I'm not too sure about my "check up" to my solution using KCL and KVL...I didn't solve the check-up all the way because I wanted to see if my formulas are correct first.

http://img46.imageshack.us/img46/6050/helpwithit.jpg (IGNORE the mini-circuit drawn in (B)!)
 
Last edited by a moderator:
Physics news on Phys.org
I think you have V+ incorrect. The 10V from that Zener is connected across a potential divider...(5k and 10k)...I am sure you can sort that out !
 
Wait...I do't get it...do you see a mistake?
 
Voltage divider:

attachment.php?attachmentid=41792&stc=1&d=1323535207.gif
 

Attachments

  • Fig1.gif
    Fig1.gif
    4.6 KB · Views: 946
Can you now see what V+ is?...Then what V- MUST be...then...
 
The way they have drawn that potential divider is very sneaky. If it had been drawn directly across the zener diode I think you would have seen it:wink:
 
Last edited by a moderator:
For (III), isn't the path indicated in blue the one you're describing?

attachment.php?attachmentid=41802&stc=1&d=1323554191.gif


If so, what happened to R4?
 

Attachments

  • Fig1.gif
    Fig1.gif
    3.5 KB · Views: 1,231
Last edited:
This is a strange one FP...you got 4V as Vout, I got 4.1V. There is a nasty coincidence in the numbers which means you got the right answer but by the wrong numbers.
Here are my calculations...see what you think.
1) Potential divider means V+ = 6.7V (I have rounded 6.666 to 6.7)
2) this means V- = 6.7V
3) This means the V across the 5k into the - input = 8-6.7 = 1.3V
4) Current through that 5k = (1.3)/5 mA This also equals current through feedback 10k
6) Voltage across feedback R = 10 x (1.3)/5 = 2.6V
7) left hand end of feedback R ( the - input) voltage = 6.7V therefore Vout = 6.7 - 2.6 = 4.1V

Can you see it ?
Hope this is not judged to be too much help !
 
Last edited:
  • #10
technician said:
This is a strange one FP...you got 4V as Vout, I got 4.1V. There is a nasty coincidence in the numbers which means you got the right answer but by the wrong numbers.
Here are my calculations...see what you think.
1) Potential divider means V+ = 6.7V (I have rounded 6.666 to 6.7)
2) this means V- = 6.7V
3) This means the V across the 5k into the - input = 8-6.7 = 1.3V
4) Current through that 5k = (1.3)/5 mA This also equals current through feedback 10k
6) Voltage across feedback R = 10 x (1.3)/5 = 2.6V
7) left hand end of feedback R ( the - input) voltage = 6.7V therefore Vout = 6.7 - 2.6 = 4.1V

Can you see it ?
Hope this is not judged to be too much help !

Keep a few more decimal places in your intermediate calculations (particularly the V+ voltage). Round when the smoke clears :smile:
 
  • #11
If you want to set yourself a challenge change resistor to 5k so the potential divider is 5k and 5k in series. If you apply your formula to this you will not get the correct answer.
You got an answer of 4V because the difference between 10V and 8V is 2V and the gain with 10k as feedback resistor and 5k as input resistor = 2. coincidence:mad:
 
  • #12
The difference in the 2 answers is not due to rounding off numbers !
 
  • #13
technician said:
The difference in the 2 answers is not due to rounding off numbers !

Sure it is. Regardless of whether one was obtained via correct method or not, one answer was 4.0V and the other 4.1V. The difference is 0.1V.

With a few more decimal places kept your result would be 4.0V also, and the difference would be 0V. Of course, this still doesn't address the issue of whether or not an answer was obtained via an incorrect procedure :smile: Just sayin', that's all.
 
  • #14
Sorry... we must disagree! we need a 'correct' method. If the 2 numbers are the same as a result of a coincidence there is something wrong.
Change the potential divider to 5k and 5k in series (V+ = V- = 5V)
The output voltage is not 2 x (10-8) (that is the formula that FP used)
 
  • #15
technician said:
Sorry... we must disagree! we need a 'correct' method. If the 2 numbers are the same as a result of a coincidence there is something wrong.
Oh no, we are in complete agreement there! I was just pointing out that the difference in the result, 4 vs 4.1, was due to rounding. The fact that the '4' was obtained via an incorrect method is another issue.
Change the potential divider to 5k and 5k in series (V+ = V- = 5V)
The output voltage is not 2 x (10-8) (that is the formula that FP used)
Again I agree.
 
  • #16
I am genuinely pleased about that gneill:wink:. This is a horrible question with nice round numbers chosen which make a trap for a student. it is easier to get the correct answer by the 'wrong' method than it is to get the right answer, and any student will learn absolutely nothing.
As you can probably see, FP did not find out the value of V+ (6.66V) and fell into a terrible trap.
I am certain we have the same mind set... I love physics and love teaching, I have made some mistakes in my contributions and what I like about this forum is the variety of approaches to problems... I have learned a lot about Kirchoffs laws (which I have never been comfortable with !)
Cheers
Tech
 
  • #17
Last edited by a moderator:
  • #18
FP:
The person who made up this circuit happens to have picked values for resistances that mean you got the correct answer for the wrong reasons... it is not your fault !
You calculated the gain of the amplifier to be Rf/Rin = 10k/5k = 2.
There is nothing wrong with that but what it means is that the voltage across Rf is 2 x the voltage across Rin... it does not tell you directly what Vout is !
You took Vin to be the difference between 10V and 8V = 2V (the zener diodes) and a gain of x2 made you come up with 4V as the Vout.
Can you see that V+ = 6.66V due to the 5k and 10k potential divider??
Therefore V- = 6.66V
Therefore V across Rin = 8-6.66V = 1.34V therefor V across Rf = 2 x 1.34 = 2.68V
The voltage at the left hand end of Rf = 6.66V and therefore the voltage at the right hand end of Rf (Vout) = 6.66 - 2.68 = 3.98V ( I am going to say 4V !)
This is the voltage you got but by a different way. And this is the 'trap' produced by the question maker (probably unintentional)
I imagine this will give you nightmares (when you wake up:wink:)

It would have been better for you if the resistance values in this question had been more 'random'

If you are not totally knocked out by this try the calculation with the potential divider across the 10V zener as 5k and 5k
I will do a solution for you and see if we agree. Sleep tight :redface:
Cheers
Tech
 
  • #19
attachment.php?attachmentid=41804&stc=1&d=1323556508.gif
 

Attachments

  • Fig1.gif
    Fig1.gif
    19 KB · Views: 875
  • #20
I agree with
10V - (R3 + R4)*I2 =0
which means that I2 = 10V/(R3 + R4)
The voltage at V+ of the op amp is the voltage across R4 = I2 x R4 = 10V x R4/(R3 + R4)
V+ = 10 x 10/15 for the values in this circuit
i.e V+ = 6.666...=V-
 
  • #21
FP
If your original circuit had been drawn like this do you feel that you would have seen the potential divider that connects to V+ more easily?
(doing this to also see if I have discovered how to include diagrams:smile:
 

Attachments

  • amp1.jpg
    amp1.jpg
    38 KB · Views: 464
  • #23
Hello FP!
Did you see that V at the +input is not 10V?...it is a fraction of 10 because of that potential divider?
 
  • #24
Last edited by a moderator:
  • #25
There is current flowing through the Zener diode...that is giving the 10V Across R3 and R4
 
  • #26
But the zener diode is not a part of the loop I chose, why should I include it?
 
  • #27
FP:
I am a little ashamed to admit that I do not find KVL very interesting:redface: !
I know it is important but have never needed to resort to using it in op amp appications.
I am certain the usual contributers will be able to give a lot of help when they see your post... I admire and enjoy reading their responses in this area.
You expression looks OK to me because you have realized that some current goes through the
diode. You have I1 through R5 and I2 through R3 and R4.
The current through the diode is therefore I1-I2.
Cheers!
 
  • #28
Femme_physics said:
But the zener diode is not a part of the loop I chose, why should I include it?

Hi FP. The zener is part of a loop which impinges on the loop you've chosen. As such, it has an influence on your loop. In particular, the current through the zener must come via R5. So R5's total current must include the zener current.

Here's the circuit redrawn to emphasize the loops and their interaction:

attachment.php?attachmentid=41976&stc=1&d=1323956290.gif


The blue line represents your chosen KVL path. Note that what I've indicated as I1 must be made up of I2 AND Iz.
 

Attachments

  • Fig1.gif
    Fig1.gif
    2.9 KB · Views: 529
  • #29
Yes, that's exactly what I did! I split the currents in my KLV whereas

I1 = I2 + Iz


I don't see how what you say contradicts what I did.
 
  • #30
Femme_physics said:
Yes, that's exactly what I did! I split the currents in my KLV whereas

I1 = I2 + Iz


I don't see how what you say contradicts what I did.

The "-I1R5" term in your KVL equation would have to be "-R5(I1 + Iz)", since both currents contribute to the voltage drop in R5.
 
  • #31
gneill said:
The "-I1R5" term in your KVL equation would have to be "-R5(I1 + Iz)", since both currents contribute to the voltage drop in R5.

Really? Despite the fact I1 already contains Iz?
 
  • #32
Femme_physics said:
Really? Despite the fact I1 already contains Iz?

Okay, I take it back! After reviewing the previous posts I see where you've calculated a value for I1 that is independent of I2.

For some reason I was thinking that your I1 and I2 were concerned with separate subcircuits. That'll teach me to pay closer attention!
 
  • #33
Okay, I take it back! After reviewing the previous posts I see where you've calculated a value for I1 that is independent of I2.

For some reason I was thinking that your I1 and I2 were concerned with separate subcircuits. That'll teach me to pay closer attention!

Good :smile: So my V+ is correct?

And that takes me back to my original idea that I posted today:

Femme_physics said:

Whereas the only problem is that I have 4 unknowns and 3 loops for I3 and I4.
 
Last edited by a moderator:
  • #34
Your value for I2 looks a bit high, possibly a calculation slip? And since V+ is measured with respect to ground it should be equal to the potential across R4, not R3.

For your second figure you also know that V- will be equal to V+, so you can find a Vout that will make this happen. Vout - I3R2 = V-. You'll find that I3 is actually flowing from the 8V zener junction through R1 and then R2 towards Vout, and not in the other direction.
 
  • #35
Your value for I2 looks a bit high, possibly a calculation slip? And since V+ is measured with respect to ground it should be equal to the potential across R4, not R3.

Gotcha, will work on that!

For your second figure you also know that V- will be equal to V+, so you can find a Vout that will make this happen

How do I know it without calculating?
 
  • #36
Femme_physics said:
How do I know it without calculating?


Perhaps you can apply this:
I like Serena said:
Just apply the following rules:

1. Treat the op-amp as if its inputs + and - are not connected to the circuit.
That is, they draw no current in KCL, and they are not part of any loop in KVL.

2. Set V+=V- and solve using KCL and KVL, unless you find it's impossible, or if Vout would come outside its bounds.
 
  • #37
Femme_physics said:
How do I know it without calculating?

Usually it is something that is proven in class, and is then used as a rule of thumb for op-amps with feedback from then on.

Do you wish to go through the analysis to show that V- will be driven to be equal to V+?
 
  • #38
Perhaps you can apply this:
Usually it is something that is proven in class, and is then used as a rule of thumb for op-amps with feedback from then on.

Fair enough, so for every non-comparator V- = V+ ?

Do you wish to go through the analysis to show that V- will be driven to be equal to V+?

I'm tempted to say yes, but I bet it'll be more complex than I think it is.
AT ANY RATE.
http://img20.imageshack.us/img20/3663/thehell.jpg

I'm still having issues. As you can see, my I4 turned up in the minus. And I get my Vout to be 3.8 [V]. Is that right?
 
Last edited by a moderator:
  • #39
Femme_physics said:
Fair enough, so for every non-comparator V- = V+ ?
Well, any op-amp circuit with a feedback path from Vout to V-.
I'm still having issues. As you can see, my I4 turned up in the minus. And I get my Vout to be 3.8 [V]. Is that right?

If you keep a few more decimal places in you values of V+ and V- you should be good (the amplification factor for the circuit due to R1 and R2 makes it sensitive to small differences, so keep a few more decimal places in intermediate results).
 
  • #40
Is this question still trying to calculate Vout for the circuit posted at the start or has it become something else??
V at + input = 6.66V (potential divider)
V at - input = 6.66V
V across R into - input = 8 - 6.66 = 1.34
Current through Rin = 1.34/5k current through Rf = 1.34/5k
Voltage across Rf = 10k x 1.34/5k = 2 .68 V
Therefore Vout = 6.66 - 2.68 = 4.00V
This is the way to calculate Vout !
 
  • #41
Is this question still trying to calculate Vout for the circuit posted at the start or has it become something else??
V at + input = 6.66V (potential divider)
V at - input = 6.66V
V across R into - input = 8 - 6.66 = 1.34
Current through Rin = 1.34/5k current through Rf = 1.34/5k
Voltage across Rf = 10k x 1.34/5k = 2 .68 V
Therefore Vout = 6.66 - 2.68 = 4.00V
This is the way to calculate Vout !

Thanks but I'm trying to verify it using KVL and KCL alone.

If you keep a few more decimal places in you values of V+ and V- you should be good (the amplification factor for the circuit due to R1 and R2 makes it sensitive to small differences, so keep a few more decimal places in intermediate results).
But no matter how many numbers I keep after the decimal point the result of I4 will still turn out minus. Did I do something wrong?
 
  • #42
Femme_physics said:
But no matter how many numbers I keep after the decimal point the result of I4 will still turn out minus. Did I do something wrong?

No, nothing wrong :smile: It just means that Vout is less positive than V-. And as you found out, V- is about 6.667V and Vout about 4.0V. So all's good.
 
  • #43
Sorry FP... I had forgotten that your emphasis was on KVL etc..
 
  • #44
Technician, outside the realm of KVL and KCL I have no problem to accept your method but I learned two formulas for differential amplifier which seems to result in Vout = 0

Them being

Vout = A (V1 - V2)
A = Rf/R1Are they false? Or am I misusing it? (I used it in my original post)
 
  • #45
Femme_physics said:
Technician, outside the realm of KVL and KCL I have no problem to accept your method but I learned two formulas for differential amplifier which seems to result in Vout = 0

Them being

Vout = A (V1 - V2)
A = Rf/R1


Are they false? Or am I misusing it? (I used it in my original post)

Careful there, FP. Don't mix up the open-loop gain of the op-amp (A) with the closed-loop gain of a circuit with feedback resistor Rf. Open loop gains for modern op-amp chips are typically on the order of 106. Closed loop gains for a single stage are generally kept less than about 1000 for reasons of circuit stability. More typical are stage gains of about 10 to 100. If more amplification is required, stages are cascaded.

When multiplicative values like a million show up in the equations of circuits it is often akin to dealing with ratios of large numbers in mathematics (limits), where the result as A → ∞ is often some nice finite number with practical application (i.e. a rule of thumb).

For circuits with feedback from Vout to V- we use the rule of thumb that V- = V+ because it can be shown that the large value of A (the open-loop gain of the op-amp), will force them to be very, very close in value, usually closer than measurement error or component tolerances would let you see. If you need convincing on this point we can go through the mathematical demonstration.

While it is certainly possible to analyze every circuit from scratch with KVL, KCL, and so on, it is generally expedient to use the rule of thumb where applicable.
 
  • #46
FP... from outside the realms of KVL and KCL..!
I have attached another circuit diagram with the hope of impressing upon you the close link between Vin, Rin, Rf and Vout and especially the importance of the -input:smile:
You are perfectly correct to write A = Rf/Rin. (should be -Rf/Rin...inverting amplifier)
BUT you must be sure that this means the V across Rf = A x the V across Rin.
The -input can be seen as a pivot on a lever. Push Vin down and Vout goes up by a magnified amount (magnification = -Rf/Rin)
The battery or voltage at the + input 'lifts' the pivot (by 2V in my diagram)...
So Vout = -A x (V1 - V2) + V2 ... it is easy to forget to add V2 !
As an example if A = 2 and Vin = +5V then Vout = -2 x (5-2) + 2 = -4V
If Vin = +4V then Vout = -2 x (4-2) +2 = -2V
If Vin = -4V then Vout = -2 x (-4 -2) +2 = +14V (if supply voltage allows)
and so on.
If V2 = 0 ... it usually does ... then you have the straight forward equation:
Vout/Vin = - Rf/Rin The -sign indicates an inverting amplifier.
Hope this does not make life more confusing for you :wink:
 

Attachments

  • amp3.jpg
    amp3.jpg
    41.6 KB · Views: 372
  • #47
Careful there, FP. Don't mix up the open-loop gain of the op-amp (A) with the closed-loop gain of a circuit with feedback resistor Rf.

Well, they both appear like the same type of loop...I think that would be "open".

http://img3.imageshack.us/img3/149/votn.jpg

You are perfectly correct to write A = Rf/Rin. (should be -Rf/Rin...inverting amplifier)

My circuit is inverting? It's "differential op-amp", neither non-inverting or inverting.I admit I'm a bit confused, but I'll take it step by step. At least I made my final scan.

http://img94.imageshack.us/img94/9074/haiim.jpg
 
Last edited by a moderator:
  • #48
The open loop gain of an op-amp refers to the intrinsic gain of the amplifier without feedback to limit it:
attachment.php?attachmentid=42173&stc=1&d=1324675737.gif


The output voltage is then Vout = A(V1 - V2). A can be very high, almost always greater than 105, and typically closer to 106. The actual gain from chip to chip, even in the same batch of chips can vary quite a bit. But it's so large that it usually doesn't matter since op-amps are rarely used open-loop fashion, except as comparators.

When the op-amp is embedded in a circuit with feedback (thus "closing the loop"), the gain of the circuit is "restrained" by the feedback and is much more manageable and can be set precisely by the circuit components in the bias network. Hence your Rf/R1 formula.
 

Attachments

  • Fig1.gif
    Fig1.gif
    1.4 KB · Views: 541
  • #49
I'd like to emphasize the distinction between open-loop-amplification and feedback-amplification.
##V_{out}=A_{OL}(V_+ - V_-)## if there is no connection between ##V_{out}## and the inputs of the op-amp. ##A_{OL} \approx 10^6##.
In a differential amplifier configuration, you have:
##V_{out}=A_f(V_2 - V_1)## since there is a connection between ##V_{out}## and the inputs of the op-amp (aka feedback). ##A_f = {R_f \over R_1}##.
Note that ##V_+ = V_-## in this case.
 
  • #50
FP
You have written
Vout = A(V2 - V1). Where A = Rf/Rin
This calculates the voltage across Rf !
To get Vout you must add on V+...You did this in your last analysis with the Zener diodes.

Vout = A(V2 - V1) + (V+)
Best wishes
 
Last edited:
Back
Top