(1/31/99) (1/31/99)

Physics 623
The Difference Amplifier

Jan 31, 1999

1  Purpose

2  Discussion

Notation:
In general, we use the upper case symbols, such as V and I, for the static or Q-point values of the voltages and currents. Similarly, we use the lower case symbols, such as v and i, for changes in the voltages and currents. Typical symbols for difference amplifiers, coupled for amplifying the difference between two AC signals, are shown.

Read Horowitz & Hill (2nd Ed) page 98. That description is for a DC coupled difference amplifier using +15 volt and -15 Volt power supplies. Our amplifier is for AC signals, and uses only one power supply but we use the same notation.

If a linear amplifier has two receiving input voltages vi and vi¢, then its output may be a linear combination of the two inputs:

vout = X.vi +Y.vi¢

where X and Y are two constants. We can manipulate this equation to give

vout = [((X-Y))/ 2].(vi-vi¢) +(X+Y).[((vi+vi¢))/ 2].

In other words, vout can be written as the linear combination of the difference (vi-vi¢) and common mode or average [((vi+vi¢))/ 2].

The difference amplifier provides a number of advantages which make it one of the most useful circuit configurations, particularly as an input stage for high gain and DC amplifiers. By choosing matched transistors, often on the same piece of silicon of an integrated circuit, very stable and drift free operation may be obtained because of the symmetry of the amplifier. The differential input is particularly useful in cases where the desired signal is the difference between the voltages on two wires, which might be masked by a large and varying voltage, with respect to ground, that is common to both wires. Operational amplifiers often consist of a cascaded series of difference amplifiers which provide excellent stability and high gain. An ideal difference amplifier has a large gain for difference mode signals (vi = - vi¢), and zero gain for common mode signals (vi = vi¢). We may write the output voltage (taken from either collector) for a real difference amplifier as:

vout = Advd + Acvc
where Ad is the difference mode gain and vd = (vi - vi¢) is the difference mode signal; and
where Ac is the common mode gain and vc = (vi + vi¢)/2 is the common mode signal. vout is the voltage from output to ground, not the difference of vout and vout¢.

If one uses only a difference mode signal (ie  vc = 0), then Ad = v°/vd. For the common mode signal only (vd = 0), the common mode gain can be measured Ac = vo/vc.

A figure of merit for real difference amplifiers is called the Common Mode Rejection Ratio, CMRR, which is defined as:

CMRR = | Ad/Ac|

diffampfig1.gif
Figure 1: Schematic of the Difference Amplifier

For an ideal difference amplifier, CMRR would be infinite since Ac = 0, and for real amplifiers we want CMRR as large as possible. Consider the circuit shown in Figure 1. In the calculation sheet the gains and CMRR are derived and the results are:

Ad = - RC
2(RE + rtr)
Ac = - RC
2R1 + RE + rtr
and
CMRR = 2R1 + RE + rtr
2(RE + rtr)
where rtr = transresistance @ 0.025 ohm-amp/Ic +2 ohm . The symbol rtr is sometimes written as re.

[Sometimes, in technical books, this is carelessly given with inconsistent units as rtr = @ 25/Ic(mA) + 2 ohm. Please do not use this notation.]

It is apparent that CMRR will become larger as R1 becomes larger. The large R1 acts as a current source and an active current source, using an additional transistor is often used when a very large CMRR is desired. The effect of R1 may be understood by noting that, in the difference mode the currents in the two transistors are 180° out of phase, resulting in zero net AC current through R1, thus making point A an AC ground (a virtual ground). This means a large difference mode gain. In the common mode, however, twice the AC current flows through R1 than through one transistor. In this case it appears that there is a resistor of value 2R1 to ground and the common mode gain dramatically decreases. (For a true current source, the effective value of R1 ®¥, giving Ac ~ 0.)

3  Procedure

This writeup contains a worksheet which will enable you to calculate the component values for the circuit. This must be done before the lab session.

  1. Construct the circuit of Fig. 1. Check the lead assignments for the 2N3904 on the data sheets which you will find in the lab.

    1. Compare the measured values of Vb, Vc and Ve to those calculated in the handout.
    2. Is your circuit balanced (ie  Vc » Vc¢)?
    3. Are both transistors turned on?
    4. Use trimming resistors in parallel with the calculated bias resistors as necessary in order to balance - The collector currents should be the same within » 30%.

  2. Generate a source of common and difference mode signals. One way to do this is to use the supplied transformer. When the center tap is grounded, the signal at the end of the winding is balanced such that the voltage on one side is equal to, but 180° out of phase with, that on the other. The difference input thus uses vi from one side and vi¢ from the other. The common-mode input uses both from the same side.

    1. Using these signals, measure Ad, Ac and the CMRR.
    2. Compare them to the calculated values.
    3. Note the relative phases of the signals at collectors of Q1 and Q2 and at point A.

  3. The difference amplifier can be used with a one-sided input as a phase inverter.

    1. Feed an AC signal into the left input (vi = AC signal) and ground the right input (vi¢ = 0) through the coupling capacitor.
    2. Examine the outputs vout and vout¢ and the signal at point A.
    3. Explain why outputs vout and vout¢ have opposite polarity.

  4. If there is time, you might measure the bandwidth of the amplifier.

    1. Use a one-sided input vi as in 4a above without the transformer. Put a 3.3 k resistor in series with the input.
    2. Measure the bandwidth.
    3. Now put a 250 pF capacitor across the collector to the base of Q.
    4. Remeasure the bandwidth.
    5. Then put a 1 mF capacitor across Rc, examine the output at the collector of Q¢ and again remeasure the bandwidth.
    6. Discuss your observations.

4  Worksheet for the Difference Amplifier Laboratory

4.1  Calculation of the AC or Small Signal Gains

Refer to the difference amplifier circuit of Fig. 1. An AC equivalent circuit can be used to calculate the gains. To simplify the algebra we define Rf = rtr+RE. The gains and CMRR, which were derived before, can be rewritten:

Ad = - RC
2Rf
Ac = - RC
2R1 + Rf
and
CMRR = 2R1 + Rf
2Rf

Two current generators deliver currents i = bib and i¢ = bib¢ and we assume that b is large so that the base currents ib and ib¢ can be neglected and the emitter currents can regarded as equal to the collector currents ic and ic¢. Note that the inputs (the base connections) determine the voltages at the outer ends of the Rf resistors but do not supply an appreciable fraction of the current through them. (The base currents are only [1/( b)] of the collector currents.)

diffampfig2.gif
Figure 2:

We can get 4 equations by applying ohm's law to this equivalent circuit.

vi = (i + i¢)R1 + i Rf
(1)
vi¢ = (i + i¢)R1 + i¢Rf
(2)
vo = -i RC
(3)
v¢o = -i¢ RC
(4)

A little algebra can be done on the 4 equations above to get them into the form
vo = Ad(vi-vi¢) + Ac(vi+vi¢)/2. Start with equation 1 minus equation 2 :

vi-v¢i = (i-i¢) Rf
(5)
or
(i-i¢) = vi-v¢i
Rf
(6)

Equation 3 minus equation 4 :

vo-v¢o = -(i-i¢) RC
(7)

Substituting equation 6 :

vo-v¢o = - Rc
Rf
 (vi-v¢i)
(8)

Equation 1 plus equation 2 gives:

vi+ v¢i = (i+i¢) (2 R1+Rf)
(9)
(i+i¢) = vi+v¢i
2R1+Rf
(10)

Equation 3 plus equation 4 gives:

vo+ v¢o = -(i+i¢) RC
(11)

Substituting equation 10 :

vo+ v¢o = - RC
2R1+Rf
 (vi+v¢i)
(12)

Adding equations 8 and 12 :

2 vo = - RC
Rf
 (vi-v¢i) - RC
2R1+Rf
 (vi+v¢i)
(13)
or
vo = [- RC
2Rf
] (vi-v¢i) + [- RC
2R1+Rf
(vi+v¢i)
2
(14)

We can define vd = (vi-v¢i) as the ``Difference Mode'' input voltage and define vc = [((vi+v¢i))/ 2] as the ``Common Mode'' input voltage.

Then equation 14 becomes

vo = [- RC
2Rf
] (vd) + [- RC
2R1+Rf
] vc
(15)
or
vo = Ad.vd + Ac.vc
(16)

where

Ad = [(RC)/( 2Rf)] is the ``Difference mode gain'' and Ac = [(RC)/( 2R1+Rf)] is the ``Common mode gain''.

5  Calculation of the Component values

We want to meet the 5 following goals for the desired operating characteristics of the amplifier. Here we have picked a set of parameters for the design.

  1. We want to use a single supply voltage with a voltage of Vcc = +15 V
  2. We want the Output impedance to be Zout = 1k.

  3. We want the Output Swing to be ±2 V.

    (We define the ``Output Swing'' as the maximum voltage excursion which can be generated on each of the outputs without the amplifier becoming non-linear. The Output Swing of 2 V means we would like the output vo to be able to change by ± 2 V and the output vo¢ to be able to change by ± 2 V with the outputs changing in opposite directions. Each output can change from its Q Point value by +2 V to -2 V, a difference of 4 V. We say that the ``peak to peak voltage'' is vp-p = Dvc = 4 V. Thus each transistor must be able to operate in linear mode while its collector changes over a total range of 4 V.)

  4. The difference mode gain to be Ad @ 8.
  5. We want the common mode gain Ac to be as low as possible, consistant with a common mode input range of ± 2.5 V. That is, the ± 2 V output swing should be available when the inputs are both 2.5 V higher or lower than the ``Q-point''. For example, if the two inputs are as shown, a difference amplifier will amplify the difference with a large gain and the average with small gain Ac.

    diffampfig3.gif
    Figure 3:

This state of the transistor circuit in which the DC or average operating voltages have been chosen as a suitable compromise between

is called the ``Operating Point'' or ``Quiescent Point'' or ``Q Point''. The design choices to meet these goals are calculated below. You should follow this outline, make any necessary or suggested calculations and fill in the values in the next section.

  1. First assume b is large to separate the tasks of

    1. first calculating the desired static voltages on the collectors, bases and emitters
    2. then, later in item , calculating the bias resistors RH and RL for each base

  2. The output impedance assuming our Transistor Model (which assumes a current generator i.e. the impedance looking into the collector is high) is Zout = RC. To meet one of the goals, we choose RC = 1 k.
  3. Since RC = 1 k and we want a 2 V output swing, we adopt the static current (ie average or DC current or quiescent) through each collector to be IC = 2 mA. The collector current of each transistor can then swing 2 mA between 0 mA and 4 mA.

  4. Since an increase from 2 mA in one transistor will occur only when a decrease from 2 mA occurs in the other transistor, the common resistor R1 will carry a fairly constant 4 mA.
  5. We can choose Rf to get the desired Difference Mode voltage Gain Ad = 8.

    1. Ad = RC/2Rf and so Rf = [(RC)/( 2Ad)].
      Since we want Ad @ 8,
      we have Rf @ [1.0 k/ 2×8] = 62.5 ohm.

    2. Since the base-emitter junction carries an average current of 2 mA,
      rtr = (0.025 ohm-Amp/Ic + 2) ohm, and we have
      rtr = ([0.026/ 0.002] + 2) ohm = 14.5 ohm.
    3. Since Rf = rtr+RE, RE should be about (62.5 - 14.5) ohm » 47 ohm.

  6. Use the following items to calculate R1.

    1. We want the common mode gain Ac to be as low as possible consistent with other requirements:
      Ac = - RC
      2R1 + Rf
      .

      Therefore we would like to make R1 as large as practical. However, we must be careful to ensure the transistor remains in a linear mode and, for this, has vc > vtr+0.5 volt.

    2. The output swing of +2 V requires VC = 13 V at the Q point. From the symmetry of the circuit, we can see that vE remains constant for a pure differential mode input.

      Therefore to get a downward 2 V swing, vC needs to go to 11 V and vE should be no higher than 10.5 V to avoid saturation. vE follows vi, so when the input common mode voltage goes to +2.5 V, vE will be 2.5 V above the Q point.

    3. However, we also need to accommodate a ±2.5 V common-mode or average input vc = [((vi+vi¢))/ 2], while maintaining our output voltage swing limits. This means that the highest input on the base will be 5.0 V above the lowest voltage on the base.
    4. The drop across RE is only 2 mA×47 ohms » 0.1 V, so we want vA £ 8 V at the Q point. Since the Q point current in R1 is 4 mA, R1 = [8 volt/ 4 mA] » 2 k. However, our 10% resistors have standard values of 1.0, 1.2, 1.5, 1.8, 2.2. 2.7, with any multiplier, so we choose the nearest standard value of resistor on the low side which is 1.8 k.

Now calculate your values for the Q point, starting with the standard resistor values you have chosen for the base bias, and using the the standard values for RC, RE, and R1 determined above. These should be close to the desired voltages as derived in 2-6 above, but will differ because of the choice of standard resistor values.

VB = ____________  V.

VB¢ = ____________  V. VE = ____________  V.

VE¢ = ____________  V. VA = ____________  V. VC = ____________  V.

VC¢ = ____________  V. The bias network must now supply the appropriate VB. We have a voltage for VB of
VE = 4 mA× 1.8 K (about 0.1 V across RE) +0.7 V » 8 V. This gives the required ratio for RH and RL assuming that b®¥.

To allow for bmin = 75, we must limit the Thevenin impedance of the voltage divider. If we want the maximum change in the emitter Q point to be 0.2 V, then IB =2 mA/75 through the Thevenin impedance must produce a voltage drop of less than 0.2 V.

Use these values to calculate RH and RL and then choose the closest available values from the list of standard resistor values. RH = ____________  ohm

RL = ____________  ohm Calculate the expected Ac and Ad using the actual resistor values. Ac = ____________

Ad = ____________


File translated from TEX by TTH, version 1.93.
On 31 Jan 1999, 16:44.