All About Circuits
Volume 
Designing Analog Chips
Chapter
Operational Amplifiers
PDF Version

Bipolar Op Amps



Op amp design is a specialty, peopled by a small group of engineers forever dedicated to the quest of finding the universal building block. None has ever been found (hence the large number of different op amps), yet still, they toil. Year after year, they come up with small improvements, and each new design has one imperative requirement: it must work in any application without creating smoke or—heaven forbid—oscillation.

When designing an op-amp for an ASIC, the precise application is known, so the circuit doesn’t need to be universal, and the task is easier. Not exactly a cinch, but nothing compared to what a designer of commercial op amps has to face.

 

The Stages of an Op Amp

The majority of op amps have three stages:

  1. The first stage converts the differential signal into a single-ended one.
  2. The second stage provides the bulk of the gain.
  3. The third stage provides the required output power.

There’s no law that says it has to be this way. It just turned out to be an approach that works well. Figure 10-1 shows a simple three-stage op amp.

 

Circuit schematic of a simple three-stage bipolar op amp.

Figure 10-1. A simple three-stage bipolar op amp.

 

For the first stage of this circuit, Q1 and Q2 form the differential pair. Q3 is a split-collector lateral PNP transistor connected as a current mirror or active load. At the collectors of Q2 and Q3, we have a high impedance, limited only by the base current of Q4 and the Early effects in Q2 and Q3.

The second stage, Q4, has as a load the current sink Q8 and the base current of Q5. Thus, its gain is also limited only by those two.

The output (third) stage is a simple emitter follower with a pull-down current sink.

The operating currents for all three stages are derived from I1 through a multiple-current mirror. Q9, with two emitters, delivers two times I1. This is an arbitrary choice—more emitters could be used if more current is required at the output for negative-going signals.

Q7 and Q8 are identical, which is no arbitrary choice. By making the collector currents of Q4 and Q3 (both halves) equal, Q3 takes as much base current from Q1 as Q4 does from Q2. Thus, there is no designed-in base current error, and the offset at the input is zero (for ideal matching).

 

Defining Common-Mode Range and Rejection

Before we discuss some limitations of the simple three-stage op amp, let’s define a couple of important terms:

Common Mode Range: The minimum to maximum DC level at which the two inputs are functional. Rail-to-rail operation from the negative supply to the positive one is desirable. However, many op amps only work with inputs that are:

  • 1-2 V above the negative supply (–V in Figure 10-1 or ground for a single supply).
  • Some voltage below the positive supply (+V).

Common-Mode Rejection: If you connect both inputs together, bias them at a functional DC level, and superimpose on the bias a small AC voltage, no signal should ideally appear at the output. In reality, a small signal leaks through. The common-mode rejection measure describes how much smaller this signal is (in dB) compared to the input.

 

Limitations of the Simple Three-Stage Op Amp

The common-mode range in this design has limitations. The two inputs need a DC level of at least one VBE (for Q1, Q2) plus a saturation voltage (for Q7) above the negative supply (–V). If they move below this level, the input pair gets no operating current.

Additionally, the inputs need to be about 200 mV below the positive supply (+V). Otherwise, Q1 or Q2 saturate, and Q3 or Q4 are without current. At the output, Q5 can pull the output only to within a VBE of +V.

Furthermore, because they’re the bases of bipolar transistors, the inputs need a current. With a minimum hFE of 100 and 50 μA flowing per transistor, this amounts to a base current of 0.5 μA worst-case. With a 100 kΩ input resistance for one input and zero for the other, this could amount to as much as a 50 mV error at the output.

 

Frequency Compensation and Stability

Frequency compensation of the op amp of Figure 10-1 is achieved with a single capacitor. C1 is connected from the output (OUT) to the high-impedance node at the output of the first stage. It could have been placed from the collector to the base of Q4, but the simulation shows a small advantage for connecting to the output node.

 

Open Loop Gain and Phase Simulation

Let's double-check this frequency compensation. As shown in Figure 10-2, we will do this by placing a very large inductor in the feedback loop and feeding an AC signal into the input through a very large, 1 F capacitor (C1). Similarly, the large, 1 MH inductor provides the DC bias to the input but blocks the AC signal. Compensation is explained in more detail in the Frequency Compensation chapter.

 

Circuit schematic for simulating op amp loop gain and phase

Figure 10-2. Simulating op amp loop gain and phase.

 

Neither 1 MH nor 1 F are practical values, but they don't need to be. Instead, the goal is to choose an inductor and capacitor large enough that they have no effect on the simulation at even the lowest frequency of interest for the circuit.

And here’s what we get: the open-loop gain is about 85 dB, as shown in Figure 10-3. The dominant pole, given by the compensation capacitor, is at about 2 kHz. The gain then decreases steadily and reaches unity (0 dB) at about 12 MHz. At that point, the phase is still about 50 degrees—marginal but probably adequate. For stable operation, the gain of a loop must reach 0 dB before the phase reaches 0 degrees.

 

Gain and phase versus frequency for an open loop bipolar op amp

Figure 10-3. Open loop gain and phase simulation of the bipolar op amp. [click to enlarge]

 

However, as pointed out in our earlier discussion of frequency compensation, a phase-margin analysis is not the real test of stability. Even if it says the signal is 1 V, AC analysis uses infinitely small signals and does not disturb the operating currents and voltages. To be certain, we would have to repeat this analysis for the DC conditions over the entire large-signal range of the circuit—a tedious task at best.

 

Pulse Simulation of Op Amp Stability

We get a more immediate picture by observing the effect of a large-signal pulse at the input. To do this, we eliminate the inductor and capacitor in the feedback path and connect the signal to the input, as in Figure 10-4.

 

Circuit schematic for simulating op amp configured as a unity-gain
buffer

Figure 10-4. Op amp connected as a unity-gain buffer.

 

Without resistors in the feedback path, this is a buffer connection with a closed-loop gain of one. With the entire open-loop gain (85 dB) being judged, this is the most severe test for stability. Figure 10-5 shows the input and output waveforms for the buffer connection.

 

Input pulse and output response for bipolar op amp simulated with asvoltage follower

Figure 10-5. Input (green) and output (orange) waveforms for the op amp buffer connection. [click to enlarge]

 

The output waveform shows the amplifier to be very stable. There’s no ringing, just a small overshoot.

But the output curve shows something else: rise and fall times are substantial and almost straight lines. This is the slew rate—the time it takes to charge and discharge the 10 pF capacitor (C1 in Figure 10-1) over a 2 V span with the operating current. You can speed it up by increasing the operating current but at the cost of increased power consumption.

 

The Effect of Gain and Feedback on Distortion

An op amp is basically a nonlinear circuit. The input stage, for example, can accommodate only a small differential voltage before it’s limited by the input transistors, whether bipolar or CMOS. This limitation can result in distortion of the input signal that is being amplifed. Changing the gain and feedback are two ways to reduce the distortion: 

  1. If you increase the open-loop gain by a factor of 10 (20 dB), distortion drops by a factor of 10—assuming that increasing the gain hasn’t added more distortion.
  2. Feedback reduces the distortion caused by these limitations. Increasing the amount of feedback increases the linearity.
     

Compensation of Special Purpose Op Amps

In doing the previous pulse test, we assumed that the op amp needed to be operated as a buffer. This is the worst-case requirement for a general-purpose op amp.

What if, in a specific application, the closed-loop gain is never lower than 40 dB? In such a case, we only have an excess open-loop gain of about 45 dB, which makes compensation considerably easier.

Let's examine this. In Figure 10-6, we have the same circuit as in the loop gain analysis above, except that the feedback resistors are also in the loop.

 

Circuit schematic for simulating op amp loop gain and phase with a
closed-loop gain of 100

Figure 10-6. Circuit for simulating the loop gain and phase with a closed-loop gain of 100.

 

The gain is now a maximum of 45 dB instead of 85 dB. It thus drops to 0 dB at a lower frequency. We can now reduce the value of the compensation capacitor from 10 pF to 2 pF and still have a phase margin of over 60 degrees (Figure 10-7).

 

Gain and phase versus frequency for a bipolar op amp with fixed loopgain

​​​​Figure 10-7. With the lower gain, the loop shows a greater phase margin, even though the compensation capacitor (C1 in Figure 10-1) is reduced to 2 pF. [click to enlarge]

 

When we check the stability with a pulse—with only the resistors in the feedback loop and the signal connected to the positive input—we see that the amplifier is just stable enough. This is illustrated in Figure 10-8. It has fewer than four peaks in the damped oscillation. Because the compensation capacitor is smaller, the slew rate is also substantially higher.

 

 Pulse output response for bipolar op amp simulated with 40 dB of loopgain

Figure 10-8. Pulse response with 40 dB loop gain and a 2 pF compensation capacitor. [click to enlarge]

 

Noise Performance

No consideration has been given so far to noise, and it turns out that the noise performance of this design is not that great. The majority of the noise is created in the input stage—in subsequent stages, the signal is larger, and the influence of noise is correspondingly reduced. To lower the noise in Q1 and Q2, the devices need to be larger and their operating current higher.

Figure 10-9 shows the noise performance of this amplifier in the buffer configuration. Note that since the gain is one, output noise and input noise are equal. For the orange curve, the bias current, I1, is 100 μA. Reducing the bias current to 10 μA results in the noise curve shown in green.

 

Noise versus frequency for a bipolar op amp with two differentcurrents

Figure 10-9. Noise of the bipolar amplifier in the buffer connection. Green: I1 = 10 μA. Orange: I1 = 100 μA. [click to enlarge]

 

As you can see, lowering the operating current increases noise—an unpleasant fact of life.