Differential Amplifier not working properly.

16 replies · 5K views · last reply
Xyius
Messages
501
Reaction score
4
I want to learn more about Op-Amps and amplification so I am making a simple differential amplifier. The circuit looks like this...
Schematic of a BJT differential amplifier: +V supply through Rc1 and Rc2 to collectors of Q1 and Q2, Vout taken between the collectors, Vin+ and Vin- at the bases, common emitter resistor Re to -V.

I set it up and it isn't working correctly. First I tried putting 3 volts for Vin+ and ground for Vin-, and the voltage across Vout was around half a volt. I don't understand this result. Shouldn't it be an amplification of the difference in voltage? (Which is 3 volts correct?) How can I get half a volt? I didn't know what value of resistors to use so I used 100 ohm for RC1 and RC2 and 150 ohm for Re (Completely arbitrarily chosen).

Can anyone help me out?
Thanks!
 
Jony130 said:
You need to tell as about V+ ? , -V and Re = ?.

In my original post I said...
V+ = 3V
V- = Ground
Re = 150 ohms
And the other two resistors are 100 ohms.

EDIT: Ohh and I am using a 6.5 volt power source, if that is what you meant. Sorry!
 
Xyius,
You need to be more specific. Do you have v+ at 6.5V and v- at 0V, or do you have v+ at 0V and v- at -6.5V (or something else). Also, when you say the input is 3V where exactly are you measuring. In other words, what node are you assuming to be 0V (where are you putting the black lead of your meter when you are putting red lead on Vin and seeing 3V).
 
Sorry about the ambiguity. As you can probably tell I am new at this!
The way I have it set up is. I put the positive lead of the 6.5 volt battery (It WAS a 9V but I have been using it for awhile..) for V+ and I put the ground for V-. As for the inputs, I put the positive lead of the 3V battery on one of the inputs and the ground to the other input. When measuring V+ and V- my black lead is on the ground for that battery, and likewise for the 3V power source.
 
This is how you should set your differential amplifier.

Circuit schematic of a BJT differential amplifier with two NPN transistors T1 and T2, collector resistors RC, emitter resistor RE, supplies Vcc and Vee, and input source Vin.
You need to use two battery one for Vcc and second one for Vee.
Also kept in mind that the linear region for BJT differential amplifier is very small.
If +Vin - (-Vin) = is greater then 150mV the one of a bjt will be in cut-off and the second one will be in saturation.
 
Attachments
  • Circuit schematic of a BJT differential amplifier with two collector resistors RC, transistors T1 and T2, emitter resistor RE, and separate Vcc and Vee supply batteries, with an input labelled Vin.
    12.PNG
    2.7 KB · Views: 1,318
Xyius said:
Sorry about the ambiguity. As you can probably tell I am new at this!
The way I have it set up is. I put the positive lead of the 6.5 volt battery (It WAS a 9V but I have been using it for awhile..) for V+ and I put the ground for V-. As for the inputs, I put the positive lead of the 3V battery on one of the inputs and the ground to the other input. When measuring V+ and V- my black lead is on the ground for that battery, and likewise for the 3V power source.
If I understand your post correctly you have build this circuit

Schematic of a two-transistor circuit with NPN transistors Q1 and Q2, collector resistors R2 and R3 (100), emitter resistor R1 (150) to ground, a 3V source on Q1's base, and a 6.5V battery B1 on the collector supply rail.


If so. This circuit has nothing to do with real differential amplifier.
Q2 is in cut-off and Q1 is in active region.
 
Attachments
  • Schematic of a two-transistor circuit with NPN transistors Q1 and Q2, collector resistors R2 and R3 at 100, emitter resistor R1 at 150, a 3V source on the left and a 6.5V battery B1 on the right.
    13.PNG
    1.1 KB · Views: 974
Jony130 said:
This is how you should set your differential amplifier.

Circuit schematic of a BJT differential amplifier with transistors T1 and T2, collector resistors Rc, emitter resistor RE, supply rails Vcc and Vee, and input Vin applied to the base of T1.



You need to use two battery one for Vcc and second one for Vee.
Also kept in mind that the linear region for BJT differential amplifier is very small.
If +Vin - (-Vin) = is greater then 150mV the one of a bjt will be in cut-off and the second one will be in saturation.

Thank you very much! I will study this later and try to re-create it. I just have a few questions..
1.) What roles to the values of the resistors play? What values should I use?
2.) Same question, but for the batteries.
3.) Why is it that one BJT will cut off and one will be in saturation after a 150 mV difference? Would that mean that one BJT is doing all the work while the other is doing nothing?

Thanks again!
 
Xyius said:
I want to learn more about Op-Amps and amplification so I am making a simple differential amplifier. The circuit looks like this...
Circuit schematic of a BJT differential pair: Rc1 and Rc2 collector resistors from +V, outputs Vout taken between collectors, transistors Q1 and Q2 with emitters joined to Re tied to -V, inputs Vin+ at Q1 base and Vin- at Q2 base.

I set it up and it isn't working correctly. First I tried putting 3 volts for Vin+ and ground for Vin-, and the voltage across Vout was around half a volt. I don't understand this result. Shouldn't it be an amplification of the difference in voltage? (Which is 3 volts correct?) How can I get half a volt? I didn't know what value of resistors to use so I used 100 ohm for RC1 and RC2 and 150 ohm for Re (Completely arbitrarily chosen).

Can anyone help me out?
Thanks!

First, for a differential pair to work properly, you have to have a matched pair for Q1 and Q2. But this is not your problem. Your differential voltage is too large. You have +3 at base of Q1, and 0 at base of Q2, Q1 is totally on and Q2 is totally off. You don't have a differential pair anymore.

Differential voltage range between Q1 and Q2 can only be very small by equation:

[tex]V_{B1}-V_{B2}=V_T ln\left[ \frac{I_{C1}}{I_{C2}}\right]\;\Rightarrow\; \frac{I_{C1}}{I_{C2}}\;=\; e^{\left({\frac{V_{B1}-V_{B2}}{V_T}}\right)}\;\hbox { where }\; V_T≈\hbox { 25mV.}[/tex]

As you can see, if the input differential voltage is much larger than 25mV ( 250mV) the ratio is going to be very large and consider cocked to one side. Q2 is turn off and disappeared.

This will hold true even in the more clearly defined biasing condition in the later posts.
 
Last edited:
1.) What roles to the values of the resistors play? What values should I use?
Well the resistor sets various of the amplifier parameters. The most important one is of course the voltage gain. But also the proper DC bias point is also important.
For example if you use two 9V batteries then. It is good to have:
Rc = (0.5*Vcc)/Ic and Re = (Vee - Vbe)/ (2Ic)

So for example

Rc = 4.5V/4.5mA = 1KΩ

And

Re = (9V - 0.65V)/9mA = 920Ω ≈ 1KΩ

I use Vcc = 9V and Vee = 9V

2.) Same question, but for the batteries.
We use symmetric power supply because it is a natural way to power differential Amplifier.
Only in this case we can connect the BJT bases to gnd but we still have bout bjt to work in there linear region. So we made a true DC amplifier.


3.) Why is it that one BJT will cut off and one will be in saturation after a 150 mV difference?

http://www.engga.uwo.ca/people/adounavis/courses/ece235b/notes/ECE235b_L07_DifferentialAmps.pdf

Would that mean that one BJT is doing all the work while the other is doing nothing?
exactly
 
Last edited by a moderator:
Jony130 said:
Well the resistor sets various of the amplifier parameters. The most important one is of course the voltage gain. But also the proper DC bias point is also important.
For example if you use two 9V batteries then. It is good to have:
Rc = (0.5*Vcc)/Ic and Re = (Vee - Vbe)/ (2Ic)

So for example

Rc = 4.5V/4.5mA = 1KΩ

And

Re = (9V - 0.65V)/9mA = 920Ω ≈ 1KΩ

I use Vcc = 9V and Vee = 9V


We use symmetric power supply because it is a natural way to power differential Amplifier.
Only in this case we can connect the BJT bases to gnd but we still have bout bjt to work in there linear region. So we made a true DC amplifier.




http://www.engga.uwo.ca/people/adounavis/courses/ece235b/notes/ECE235b_L07_DifferentialAmps.pdf


exactly

Thank you very much! The link you provided is proving to be very helpful! I just have one question. Why do they use an exponential relationship for the current in section 7.3.2? How would I derive or deduce that it is an exponential relationship?
 
Last edited by a moderator:
Xyius said:
Thank you very much! The link you provided is proving to be very helpful! I just have one question. Why do they use an exponential relationship for the current in section 7.3.2? How would I derive or deduce that it is an exponential relationship?
When we star learn about BJT the told as that BJT is a current control (base current) current source.
Ic = β * Ib
But this simply model don't tell as the full story about BJT.

In reality the collector current is equal to

[tex]I_{C}≈I_{S}*\hbox e^{(\frac{V_{BE}}{V_T})}[/tex]

And this e in the equation tell as that this is a exponential relationship.


http://www.wolframalpha.com/input/?i=e^x
 
Jony130 said:
When we star learn about BJT the told as that BJT is a current control (base current) current source.
Ic = β * Ib
But this simply model don't tell as the full story about BJT.

In reality the collector current is equal to

[tex]I_{C}≈I_{S}*\hbox e^{(\frac{V_{BE}}{V_T})}[/tex]

And this e in the equation tell as that this is a exponential relationship.http://www.wolframalpha.com/input/?i=e^x

And if you use this equation for Q1 and Q2 and divide equation of Q1 by Q2, you get the equation I posted.
 
Jony130 said:
When we star learn about BJT the told as that BJT is a current control (base current) current source.
Ic = β * Ib
But this simply model don't tell as the full story about BJT.

In reality the collector current is equal to

[tex]I_{C}≈I_{S}*\hbox e^{(\frac{V_{BE}}{V_T})}[/tex]

And this e in the equation tell as that this is a exponential relationship.


http://www.wolframalpha.com/input/?i=e^x

I was asking on how would I derive the exponential relationship. (I am very well versed in mathematics, I will have a bachelors in applied physics in a year) Is there a differential equation I can solve that gives it to me?
 
OK I understand what you want. But I don't know the answer to your question.
But if you interest in this you should buy some book about semiconductor physics.
 
Here is a simulation (first attachment) of a 2N5210 differential amplifier using LT Spice (free software). Vcc = + 9 volts, and Vee = -9 volts, with the base quiescent voltages at ground. The common emitter resistor Re is 420 ohms, to set the collector currents at about 10 mA. The collector resistors are both 420 ohms. The quiescent collector voltages are about 4.9 volts and the emitters about -0.7 volts. The input pulse is a 10 mV, 200 ns long pulse with a 2 ns rise and fall time. The full differential output is about 1.1 volts, representing a full differential gain of about 110.

The second attachment from Fairchild Semiconductor http://pdf1.alldatasheet.com/datasheet-pdf/view/101319/FAIRCHILD/2N5210.html shows the 2N5210 gain-bandwidth product contours vs. collector voltage and collector current. With a collector voltage of 5.4 volts, and a collector current of 10 milliamps, the gain-bandwidth product is 175 MHz. (I don't think the simulation is accurate).

Fairchild used to publish the gain-bandwidth plot with all its fast transistors.
 
Attachments
  • LTspice screenshot: transient plot of V(vout2) in green and V(vout1) in red, 0 to 500 ns, with a schematic of a bipolar differential pair (Q1, Q2 2N5210, R1-R3 420 ohm, V1 and V2 9 V supplies, V3 input pulse).
    2N5210­simulation.jpg
    26.7 KB · Views: 563
  • Graph of contours of constant gain bandwidth product (fT) for 2N5210, plotting collector voltage in V (1 to 10, log scale) against collector current in mA (0.1 to 100, log scale), with curves labelled 75 MHz, 100 MHz, 125 MHz, 150 MHz and 175 MHz.
    2N5210_bandwidth.jpg
    41 KB · Views: 530
your diff amp will have better common-mode rejection if you can make the Re as large as possible (which will require Vee to be even more negative). what you really want is a constant current source instead of the Vee/Re combination and you can get that with a transistor (also NPN) with a very low hoe parameter.

if you do that and your transistor pair is well matched (and two Rc are well matched), you should have a very good diff amp.