Author Topic: Analyzing internal circuit of an opamp  (Read 17170 times)

0 Members and 1 Guest are viewing this topic.

Offline Richard Crowley

  • Super Contributor
  • ***
  • Posts: 4317
  • Country: us
  • KJ7YLK
Re: Analyzing internal circuit of an opamp
« Reply #25 on: January 19, 2016, 08:48:43 pm »
But those "equivalent circuits" are not practical. They are only a general guideline to what the REAL circuit is in silicon.
Actually understanding how the actual internal circuit works would require the actual schematic diagram (not published) PLUS understanding of how monolithic circuits are designed. None of that is necessary to use all the features of the IC product. The fundamental knowledge here is understanding how differential amplifiers work, and then some additional knowledge of how monolithic power amplifiers are implemented.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17826
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Analyzing internal circuit of an opamp
« Reply #26 on: January 19, 2016, 08:55:17 pm »
Wrong, you just making your life more complicated. If you want to understand the internal workings then that is one matter. But if you want to use the device you don't need to understand the internal workings, you need to understand it as a block

No, this is not wrong at all. As an artisan or technician you may only need to understand the functional behavior as a block. But as a student or engineer it is useful to understand how things work. When you know how things work you can be much more sympathetic to how things can be used and what their limitations might be.

If I am not mistaken the OP think he needs to understand the inner workings of the IC just to make a circuit with it. This defeats the whole point of why an opamp exists. The equivalent circuit he is working to is so dumbed down that a decent descrete design would teach more and yield better results. It's like needing to know about how a uC is made up at the logic gate level or even being over concerned about the internals of a specific flip flop are made.

If the Op wnts to understand how opamps work internally then that is a whole other subject and not one that can be covered by looking at a mere representation that a manufacturer conceeds in a datasheet. The OP seems to think that he can make an opamp following the internal diagram in the datasheet.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: Analyzing internal circuit of an opamp
« Reply #27 on: January 19, 2016, 09:01:38 pm »
It's a very good idea to study the basic differential amplifier building block, before attempting to understand the full op-amp circuit.

It's actually quite important to understand how op-amps work because it makes them easier to use and avoids typical beginner traps, such as not taking bias currents into account. In fact go far as to say, it's this sort of knowledge and understanding which sets apart the formally educated from the self-taught.

The next step is to add a constant current sink

« Last Edit: January 21, 2016, 09:12:42 pm by Hero999 »
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Analyzing internal circuit of an opamp
« Reply #28 on: January 19, 2016, 09:15:16 pm »
it's this sort of knowledge and understanding which sets apart the formally educated from the self-taught.

You and I have clearly had different formal educations >:D
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17826
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Analyzing internal circuit of an opamp
« Reply #29 on: January 20, 2016, 07:09:35 am »
It's not a case of formal education versus self taught. The OP seems to think he needs to understand what every last transistor on an inacurate diagram is doing in order to just use the chip. There is enough information around to use an opamp without knowing about the internals. If he then wants to understand the internals then there is plenty of information about that like the linked videos where he can "self teach" himself about how the functional blocks work and gain a better understanding.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: Analyzing internal circuit of an opamp
« Reply #30 on: January 20, 2016, 09:24:17 am »
He bumped into these kinds of problems in another thread.
https://www.eevblog.com/forum/beginners/circuit-with-op-amp-lm339/

I suppose what I meant being the difference between formally educated and self-taught is, this is the kind of thing taught in college but isn't the type of thing most hobbyists will study of their own volition.

I don't know why some people seem to be discouraging learning. Fair enough, it's not necessary to know what every transistor inside an op-amp does, just to use one, but understanding how they work can help a lot.

Anyway, I've always found the differential pair easier to understand with a constant current sink, in place of the emitter resistor because it starts to behave more like a proper op-amp.

Watching videos is good but how about building some of these circuits? I have a full discrete op-amp in a draw somewhere.
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Analyzing internal circuit of an opamp
« Reply #31 on: January 20, 2016, 12:07:19 pm »
It's not going to be 0, but ideally very close to. When both inputs change in the same direction, the circuit behaves like one transistor so the voltage across RE1 rises by that amount; RE1 should be a very high value, so small changes in the voltage across it produce an even smaller change in current. If it were a true constant-current sink, there would be no change in current. On the other hand, if you change only one input, the voltage across RE1 will also change, but since the other input hasn't changed, its transistor's Vbe changes and so does the current flowing through it.

If I understand it correctly, all the current will flow, straight to ground, and because of that there will be no voltage on the base of T3?
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11910
  • Country: us
Re: Analyzing internal circuit of an opamp
« Reply #32 on: January 20, 2016, 04:31:40 pm »
It's not a case of formal education versus self taught. The OP seems to think he needs to understand what every last transistor on an inacurate diagram is doing in order to just use the chip.

Why do you think that? I have read back this thread from the beginning and all I see is an inquiry about the behaviour of a simplified differential pair circuit. That looks to me like a purely educational endeavour. I really don't get all the negativity in this thread.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11910
  • Country: us
Re: Analyzing internal circuit of an opamp
« Reply #33 on: January 20, 2016, 04:34:37 pm »
But those "equivalent circuits" are not practical. They are only a general guideline to what the REAL circuit is in silicon.
Actually understanding how the actual internal circuit works would require the actual schematic diagram (not published) PLUS understanding of how monolithic circuits are designed. None of that is necessary to use all the features of the IC product. The fundamental knowledge here is understanding how differential amplifiers work, and then some additional knowledge of how monolithic power amplifiers are implemented.

Who said that a simplified example circuit has to be practical? The circuit from the first post doesn't even look like it's from a data sheet, it looks more like it is from a textbook.

As a student you begin at the beginning and start with simplified circuits. It would be madness to try and understand the full details of actual silicon when you are still learning basic concepts. You would get hopelessly lost.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17826
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Analyzing internal circuit of an opamp
« Reply #34 on: January 20, 2016, 05:37:47 pm »
It was the mention that the OP wanted to understand the circuit in order to use a particular op amp part number. basic op amp circuits can be built by understanding the op amp as a black box with it's regular rules.

Obviously if one wants to understand the internals in the form of descrete circuits that is fine but they are descrete circuit blocks that exist outside of opamps as well and can be studied as such.
 

Offline MatthewEveritt

  • Supporter
  • ****
  • Posts: 136
  • Country: gb
Re: Analyzing internal circuit of an opamp
« Reply #35 on: January 20, 2016, 06:01:06 pm »
The XL741 he mentions is the palm sized discrete model of an LM741 hamster_nz suggested the OP look at.

I have to agree actually, I think the use of resistors here is confusing. I'd suggest to the OP that it might help to learn about current mirrors, then look at a model op-amp using them (such as the XL741).
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Analyzing internal circuit of an opamp
« Reply #36 on: January 20, 2016, 06:24:22 pm »
I am going to analyze more circuits, because the theory is important before practice.

By the way, no one has answered me, if I understand the circuit correctly.


It's not going to be 0, but ideally very close to. When both inputs change in the same direction, the circuit behaves like one transistor so the voltage across RE1 rises by that amount; RE1 should be a very high value, so small changes in the voltage across it produce an even smaller change in current. If it were a true constant-current sink, there would be no change in current. On the other hand, if you change only one input, the voltage across RE1 will also change, but since the other input hasn't changed, its transistor's Vbe changes and so does the current flowing through it.

If I understand it correctly, all the current will flow, straight to ground, and because of that there will be no voltage on the base of T3?

Thanks EEVblog, for helping me.
 

Offline MatthewEveritt

  • Supporter
  • ****
  • Posts: 136
  • Country: gb
Re: Analyzing internal circuit of an opamp
« Reply #37 on: January 20, 2016, 10:18:06 pm »
On the subject of the third case:
If I understand it correctly, all the current will flow, straight to ground, and because of that there will be no voltage on the base of T3?

No, the current has to go through RE1, so there will be some voltage at the base of T3. Quite a lot, if RE1 is the highest value resistor.

At the risk of muddying the waters, here's my (likely inaccurate) take on things.

Assume that the two inputs are both at 0V relative to ground, and conducting roughly in the middle of their linear region. Also assume that the transistors never saturate.
Perhaps the biggest assumption is statement that the current through RE1 is constant, whatever the rest of the circuit is doing. As others have pointed out that isn't really the case, but it's pretty close if RE1 is large compared to all the other resistors. This means that a lot of voltage is dropped over RE1, meaning that the base of T3 can never get close to the negative rail (just like a lot of real op-amps)

This also means that the voltage at the emitters  of transistors T1 and T2 is constant.
  • Case the first :  The voltage applied to the base of T1 increases.
    The current through T1 increases, making the T1 path lower impedance than the path through T2. As we have a constant current through RE1 the reduced impedance of T1 means less current flows through RC2. This reduces the voltage dropped over it, bringing the base of T3 higher, which in turn brings the output higher.
  • Case the Second :  The voltage applied to the base of T2 increases.
    This case is the conjugate of case one. The T2 path impedence decreases, increasing the current through RC2, decreasing the voltage at the base of T3 and thus the output.
  • Case the third :  Both inputs are increased.
    The impedance of both paths decreases equally, but as RE1 is limiting the total current and the ratio of T1/T2 path impedances doesn't change the current through RC2 doesn't change, keeping the voltage at the base of T3 constant.
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Analyzing internal circuit of an opamp
« Reply #38 on: January 21, 2016, 07:38:06 pm »

keeping the voltage at the base of T3 constant.


Sorry, I can't grasp this. So if it's a constant voltage (above 0V), let's say 5 V or 3V or 1V, there is a positive voltage, so T3 would be conducting.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11910
  • Country: us
Re: Analyzing internal circuit of an opamp
« Reply #39 on: January 21, 2016, 09:15:27 pm »
If I understand it correctly, all the current will flow, straight to ground, and because of that there will be no voltage on the base of T3?

Sorry, I can't grasp this. So if it's a constant voltage (above 0V), let's say 5 V or 3V or 1V, there is a positive voltage, so T3 would be conducting.

I think you have some fundamental misconceptions in your understanding of electricity.

Firstly, there is no such thing as "a voltage" at a point in a circuit. Voltage in a circuit exists as potential difference between two points. For example, there may be a voltage difference between the base and the emitter of a transistor. This voltage difference affects what the transistor is doing.

Secondly, there is no such thing as "ground" and current does not flow to it. Current flows in closed loops, driven by voltage differences between points in the loop. A given circuit may have one or more loops, and the currents sum to zero at each node where the loops intersect.

Once you grasp these concepts, you can begin to understand better the workings of the simple differential pair circuit.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: Analyzing internal circuit of an opamp
« Reply #40 on: January 21, 2016, 10:02:34 pm »
The voltage at Tr3's base does change because the current through the emitter resistor is not constant. As I said before, adding a constant current sink makes it easier to understand. I admit I didn't understand this circuit until I analysed its behaviour with a constant current sink. A constant current has a near infinite impedance.

The  LED drops 1.8V, VBE is 0.6V so the voltage across the 1k resistor is around 1.2V, making the current equal to 1.2mA, irrespective of the collector voltage.


If decent/modern transistors are used (Hfe >200) the tiny current used to bias the bases can be ignored for the purposes of this exercise.

When the voltage at both inputs is equal, the current through both of the transistors and their 10k collector resistors will be equal. Half of the current will flow through one collector resistor and the other half through the other. In this case, the constant current sink takes 1.2mA so the current though the 10k collector resistors will be 0.6mA and the voltage across them 6V. Relative to the 0V point of the power supply, the output voltage will be equal to 9 - 6 = 3V.

As long as the voltage at both inputs is below 3V + VBE = 3.6V and VBE above the minimum voltage required for the current sink to regulate properly (the  voltage across the 1k resistor, plus a little bit): -9 + 1.2V + 0.6V = -7.2V, then the output voltage will remain at 3V. This is known as the common mode range.

« Last Edit: January 22, 2016, 08:52:41 am by Hero999 »
 

Offline MatthewEveritt

  • Supporter
  • ****
  • Posts: 136
  • Country: gb
Re: Analyzing internal circuit of an opamp
« Reply #41 on: January 22, 2016, 08:50:49 pm »
Sorry, I can't grasp this. So if it's a constant voltage (above 0V), let's say 5 V or 3V or 1V, there is a positive voltage, so T3 would be conducting.

It will be conducting, it's always conducting to some extent.

I get the feeling that you're thinking of a transistor as a switch, which isn't the case here. The current through T3 (collector to emitter) will be directly proportional to the current into the base.
See the attached image showing the effect of base current on a transistor (it could be any of the three). Resistor RE2 will be chosen so that the current into the base is always less than 6 microamps in this example, averaging about 3.
 

Offline dom0

  • Super Contributor
  • ***
  • Posts: 1483
  • Country: 00
Re: Analyzing internal circuit of an opamp
« Reply #42 on: January 23, 2016, 12:41:14 am »
I didn't read the entire thread, but if this hasn't been said before: You'll have a very hard time to understand many if not most linear circuits using bipolar transistors when you think of them as a current controlled (Ic = hFE * Ib) device*. The voltage model (Ie ~ eUbe) is needed to understand them. It also models the physical reality of BJTs much better ; they are charge-controlled devices, hence terminal voltages directly relate to charges, and to produced function.

So for example analyzing a long-tailed pair, what this thread seems to be about, is very hard with the simple current-control view, on the other hand, it's quite straightforward from a voltage-control view.
,
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Analyzing internal circuit of an opamp
« Reply #43 on: January 23, 2016, 12:26:07 pm »
Ok, thanks.

I have one question regarding op amps:

http://www.calvin.edu/~svleest/circuitExamples/OpAmps/soln6.htm

Look at "KCL at Vd". Why is in the equation here "(Vd - Vout)/R6" and not "(Vout - Vd)/R6"? Because on the output it will be bigger voltage because of the gain. So the current will flow back.
 

Offline PChi

  • Frequent Contributor
  • **
  • Posts: 264
  • Country: gb
Re: Analyzing internal circuit of an opamp
« Reply #44 on: January 23, 2016, 12:39:38 pm »
Operational Amplifiers Design and Applications by Tobey, Graeme and Huelsman is worth reading both on the design of and use of Op Amps. It's available for next to nothing because it is rather old.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: Analyzing internal circuit of an opamp
« Reply #45 on: January 23, 2016, 02:52:12 pm »
Ok, thanks.

I have one question regarding op amps:

http://www.calvin.edu/~svleest/circuitExamples/OpAmps/soln6.htm

Look at "KCL at Vd". Why is in the equation here "(Vd - Vout)/R6" and not "(Vout - Vd)/R6"? Because on the output it will be bigger voltage because of the gain. So the current will flow back.
Where's the schematic?
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Analyzing internal circuit of an opamp
« Reply #46 on: January 23, 2016, 02:58:12 pm »
Sorry Hero999.

It's here, the last scheme on the page:
http://www.calvin.edu/~svleest/circuitExamples/OpAmps/
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8282
Re: Analyzing internal circuit of an opamp
« Reply #47 on: January 23, 2016, 03:34:37 pm »
I didn't read the entire thread, but if this hasn't been said before: You'll have a very hard time to understand many if not most linear circuits using bipolar transistors when you think of them as a current controlled (Ic = hFE * Ib) device*. The voltage model (Ie ~ eUbe) is needed to understand them. It also models the physical reality of BJTs much better ; they are charge-controlled devices, hence terminal voltages directly relate to charges, and to produced function.

So for example analyzing a long-tailed pair, what this thread seems to be about, is very hard with the simple current-control view, on the other hand, it's quite straightforward from a voltage-control view.
I think both are necessary to see how the feedback works, as well as viewing the constant-current characteristic as more of a current limiter  --- increasing the Vbe would allow more current to flow through the transistor, but due to the resistor/current sink at the emitter, this raises the voltage at the emitter, which decreases Vbe and thus the emitter current. The opposite effect happens when decreasing Vbe, such that the emitter voltage is always kept one diode-drop below the base.

When both inputs change in the same direction, the common emitter voltage changes accordingly. Since this voltage is applied across the emitter resistor, if it is high in value, then the overall change in current through the circuit is small, and the higher the value, the smaller the change. A constant-current sink always passes the same current regardless of voltage, so there is effectively no change. However, when only one input changes, or alternatively if they change in opposite directions, the change in emitter voltage affects the Vbe of the other transistor, causing the current through it to also change.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11910
  • Country: us
Re: Analyzing internal circuit of an opamp
« Reply #48 on: January 23, 2016, 05:29:16 pm »
Look at "KCL at Vd". Why is in the equation here "(Vd - Vout)/R6" and not "(Vout - Vd)/R6"? Because on the output it will be bigger voltage because of the gain. So the current will flow back.

The node equation given in the solution is this:

  Vd / R5 + (Vd - Vout) / R6 = 0

This says that all the currents at node Vd sum to zero.

In this particular case you could also write the node equation like this:

  Vd / R5 = (Vout - Vd) / R6

Notice that both equations are equivalent.

However, in the general case with more than two branches you don't know which branches might have currents flowing in or out, so it is better to use the first form of the equation where all the currents sum to zero.
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Analyzing internal circuit of an opamp
« Reply #49 on: January 23, 2016, 06:17:17 pm »
Ok, thanks.

I have another question, which isn't really on topic, but it's a beginners question:

Which symbols is that? And how do connect the leads in lt spice? One lead is an arrow which points in the resistor.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf