8 Basic internal circuits for opamps

8.1 Introduction

Chapters 6-10 analyzed, synthesized and showed a lot of circuits that use operational amplifiers (opamps). In those chapters, a lot of attention was paid to the external behaviour (bandwidth, amplification, output impedance, etc) of an opamp, but little to none went into their internal structure. In this chapter, the internal circuits of opamps are discussed.

As seen before, there are many requirements for an opamp, including:

With a circuit containing only a single transistor, as discussed in chapter 5, usually one cannot satisfy a set of requirements on gain, bandwidth and impedances at the same time. In the context of this chapter, a major issue for these basic amplifier circuits is the lack of a differential input stage for small signals, and combining that with high gain and with a sufficiently low output impedance.

Like in chapter 5, conflicting requirements can be circumvented by using multiple amplification stages56 . Some stages that can be used in opamps are identical to circuits in chapter 5, while others are specifically catered to their specific task in the opamp. The general construction of an opamp is shown in Figure 8.1: an input circuit that satisfies all the input requirements, an output stage that does the same for the output and something in between that completes the total behaviour.

pict
Figure 8.1: General setup of an operational amplifier

First of all, the input stage will be discussed in §8.2. This circuit is unlike any other that has been dealt with in this book so far. Input stages operate on a differential input voltage and usually have a differential output current, that is often converted to a single-ended current to be processed further. This (possible) conversion is dealt with in §8.3.

The output current of the input stage is amplified and converted into a voltage in an intermediate stage; these stages are discussed in §8.4. To correctly operate an external load, dedicated output stages are often needed; these are discussed in §8.5. Finally, bandwidth limitations are dealt with in §8.6.1.

8.2 The input stage

The input stage of an opamp must meet a number of requirements, which follow from the practical applications of an opamp. The input stage:

From the first requirement, it follows that the circuits in chapter 5 cannot be used as input stages for an opamp: they do operate on small signal variations, but these small variation must be about a (non-zero) bias voltage. The left hand side circuit in Figure 8.2 illustrates this problem: here the differential input voltage is directly applied to the NPN’s base and emitter terminals which results in extremely poor biasing and hence in extremely poor transconducatance for very small vDIFF , see also §3.1. Using an MOS transistor or an PNPs instead of the NPN does not solve the issue.

pict
Figure 8.2: Attempts to realize a differential stage with a single transistor circuit.

The problem sketched above can be solved using decoupling capacitors as was done in chapters 4 and 5: in that case, the input voltage does not need to be close to the bias level. For example, we might bias and drive the transistor using the circuit on the right hand side in Figure 8.2. Here the biasing circuitry is shown in grey. However, these types of circuits have a low gain for low frequencies — actually zero for DC — which is not acceptable for opamps.

8.2.1 Symmetry requirement

As shown before, a single transistor circuit cannot implement a stage that processes arbitrary differential signals — from DC to high frequencies — symmetrically. From the definitions of “differential” and “common”:

vDIFF = v+ v vCOMMON = v+ + v 2

it can be seen that the differential input signal to amplify, is symmetrical around the common part of the input signal. To properly (symmetrically) operate on something that is symmetrical, one usually needs something that is also symmetrical. A single transistor circuit, sadly, is not.

There are multiple ways to create a symmetrical circuit, that can operate on small differential input voltages, and that outputs a symmetrical output current as a (symmetrical) function of the input voltage. This book will deal with a few relatively simple circuits; more complex circuits are typically variations on these basic circuits.

8.2.2 First implementation and its issues

Assuming the use of asymmetrical components (like MOS transistors, BJTs or any other electrically amplifying component), it is possible to realize symmetric functionality with 2 of those components. From the requirements for symmetry and the use of transistors, it follows immediately that (in the case of a BJT):

A possible implementation of this is given in Figure 8.3, shown with NPNs and PNPs.

pict
Figure 8.3: First implementation of a differential stage with BJTs (for MOS: replace BJT with MOS).

The transfer function from differential input voltage to differential output current for the NPN version is

iOUT = iCl iCr iCl = IC0 eqvBEl kT iCr = IC0 eqvBEr kT iOUT = IC0 (eqvBEl kT eqvBEr kT ) = IC0 eqvCOMMON kT (eqvDIFF 2kT eqvDIFF 2kT ) (8.1)

Figure 8.4 shows the relation in (8.1) for four levels of vCOMMON. The vCOMMON is increased with — each time — 60 mV going from curve (a) to (b) to (c) and to (d). Note that the transfer function heavily depends on the vCOMMON.

pict
Figure 8.4: First implementation of a differential stage with BJTs (for MOS: replace BJT with MOS).

This circuit does have a some (related) problematic properties. Firstly, the supply current in the circuit is strongly dependent on vCOMMON, which is obvious from (8.1) if we set vDIFF = 0:

iTOT = iCl + iCr = IC0 (eqvBEl kT + eqvBEr kT ) = 2IC0 eqvCOMMON kT

This strong dependency of the current iTOT on vCOMMON is also the cause for the second problem of this circuit: the — small signal and large signal — transfer function iOUT (vDIFF ) depends strongly (exponentially) on vCOMMON:

H = idiff vdiff = iOUT vDIFF = gm = q kT IC0 eqV COMMON kT

It can be concluded that the circuit in Figure 8.3 actually is a differential stage: it outputs a differential current that is a reasonably nice function of the differential input voltage. However, it does have a number of issues that follow from its strong dependency on the common mode level of the input voltage.

The MOS equivalents of the circuits in Figure 8.3 have pretty much the same behaviour as the BJT versions that are discussed: these, too, have a strong dependency on the common input signal. Interestingly, assuming square law operation for the MOS transistors, the MOS versions have an output current that is exactly proportional to the differential input voltage.

8.2.3 Second (widely used) implementation

The circuit shown in Figure 8.3 would suffice as an input stage, if we make sure that the (bias) currents through both transistors are independent on vCOMMON. The usual way to make a current independent on a voltage is to use a current source. This results in the following input stages (which are obviously all equivalent) that are essentially the ones in Figure 8.3 biased from a so-called tail current source at their source or emitter nodes

pict
Figure 8.5: Input stages that react to differential (input) signals: differential stages vCOMMON abbrev’d to vCM

In this book, the large signal transfer function is pretty much never used. A few relevant properties of this transfer function, like slope around vDIFF = 0 and maximum output current, are presumed to be easily calculated.

The large signal transfer function of the differential pair of BJTs may be calculated as follows (for ideal NPNs, for PNPs the derivation is almost the same):

iOUT = iCl iCr iCl = IC0 eqvBEl kT iCr = ITAIL iCl vBl = vCOMMON + 1 2vDIFF vEl = vCOMMON 1 2vDIFF kT q ln ( iCr IC0 ) iCl = IC0 eqvDIFF kT ITAIL iCl IC0 = ITAIL eqvDIFF kT 1 + eqvDIFF kT iCr = ITAIL 1 1 + eqvDIFF kT iOUT = ITAIL eqvDIFF kT 1 eqvDIFF kT + 1 = ITAIL tanh (q vDIFF 2kT ) (8.2)

This shows that the large signal transfer function is both symmetrical and independent of vCOMMON. By taking the derivative of this transfer function the transconductance of the input stage (here around vDIFF = 0) can be calculated: gm = q kT IC. Of course, you may also calculate that much more easily by using a small signal equivalent circuit.

Calculating the large signal transfer function of an input stage with MOS transistors requires a bit more effort than for the bipolar variants, because quadratic relations are harder than exponential ones. Assuming that the MOS transistors are in saturation:

iOUT = iDl iDr iDl = 1 2K (vGSl V T) 2 iDr = ITAIL iDl vGl = vCOMMON + 1 2vDIFF vSl = vCOMMON 1 2vDIFF V T 2iDr K iDl = 1 2K (vDIFF + 2(ITAIL iDl ) K )2 = 1 2KvDIFF2 + Kv DIFF2(ITAIL iDl ) K + ITAIL iDl

This is a slightly dodgy equation, which can be simplified into a 2nd order equation in iDl. We could solve it using (for example) the abc formula, leading to e.g.

iDl 1 4KvDIFF2 ITAIL 2 = KvDIFF 2 2(ITAIL iDl ) K iDl2 i Dl ITAIL + (1 4KvDIFF2 + ITAIL 2 ) 2 = KvDIFF2 2 ITAIL iDl2 i Dl ITAIL + ( 1 16K2v DIFF4 KvDIFF2 4 ITAIL + ITAIL2 4 ) = 0 iD1 = ITAIL 2 ±1 2KvDIFF 2 ITAIL 1 4K2vDIFF4(1 solution suffices) = ITAIL 2 + KvDIFF 4 4ITAIL K vDIFF2 iOUT = KvDIFF 2 4ITAIL K vDIFF2 (|vdiff < 2ITAIL K ) (8.3)

This is a true abomination, which even has a certain validity region, due to the square root in it... Luckily, you usually only need to know the extreme values and you only need to be able to calculate the small signal transfer.

For the 4 circuits given in Figure 8.5, the large signal transfer functions are ugly, complex and also not very relevant (which latter point is nice). When using these input stages in an opamp, only two situations usually occur57 :

Because the input stage is designed to operate on small (differential) signals, this type of circuit is usually called differential stage (or, in the case where 2 transistors are used: differential pair). Being symmetrical, their behaviour around the point of symmetry (vDIFF = 0) is symmetrical. With small input signals, this translates into reasonably linear behaviour.

With large voltage differences vDIFF , one of the transistors will conduct almost no current, and the other conducts almost all tail current. In other words: with large input signals, the differential output current will be ± ITAIL.

pict
Figure 8.6: Large signal transfer function of a BJT differential pair (left) and a MOS differential pair (right). For both versions, the currents through the transistors are given as well (the top 2 curves); for the MOS version the region of validity for (8.3) is indicated by the dotted vertical lines around vDIFF = ±140 mV.

In Figure 8.6, the (large signal) transfer functions of a BJT differential pair and of a MOS differential pair are given. Both are S-shaped curves, which have ± ITAIL as maximum and minimum. However, there are also differences between the large signal behaviour of BJT and the MOS versions:

The curves in Figure 8.6, also show that the currents through the individual transistors are scaled and shifted (by ITAIL2) versions of the total output current. Note that this is a result of the symmetry in the circuit.

8.2.4 Small signal behaviour

Differential pairs are used as input stages for opamps. For opamps that are used in linear (non-switching) applications, the input signal is usually very small, and the small signal behaviour of differential pairs is important. For two N-type differential pairs, both the circuit schematic and its small signal equivalent are given in Figure 8.7. These SSECs will be used to derive small signal properties of differential pairs.

pict
Figure 8.7: differential pairs (in this case: N-type) and their small signal equivalent circuits.

Note that the MOS version of the small signal equivalent circuit has an apparent floating voltage node: only two voltage controlled current sources are connected to it. At first instance this configuration may seem strange, but the voltage dependency of the current sources make derivations surprisingly simple59 .

8.2.5 BJT differential pair: transconductance

The most important property of a differential pair is its transconductance about V DIFF = 0. In the case of the small signal equivalent circuit for the BJT differential pair in Figure 8.7, a derivation for vDIFF 0 that explicitly leverages symmetry can be:

gm,diffpair = idiff vdiff idiff = gm vbel gm vber = gm (vbel vber) (vbel vber) = vdiff gm,diffpair = gm

A different derivation — without explicitly using symmetry — can be:

gm = idiff vdiff idiff = gm vbel gm vber vbel = ibl αfe gm vber = ibr αfe gm ibl = αfeibl αfeibr ibr ibl = ibr vbel = vber = 1 2vdiff gm,diffpair = gm (8.4)

When put into words, bottom line, the transconductance of a BJT differential pair is equal to the transconductance of the individual transistors in the pair. It can be derived that this has to be the case in these kinds of symmetric circuits. As direct consequence it follows that icl = icr: the small signal collector currents do not flow through the (small-signal) base-emitter resistances due to symmetry.

8.2.6 BJT differential pair: input impedance

The input impedance of a differential pair with input voltages around vDIFF 0V, can be derived in a way similar to the one discussed above:

rin = vdiff iin iin = vbel gm αfe = vber gm αfe vbel = vdiff + vber iin = vdiff gm 2αfe rin = 2αfe gm (8.5)

Due to symmetry in the differential pair, the small signal base current have the same (absolute) values but opposing signs: ibl = ibr. Effectively this means that the input impedance equals the two base resistances in series.

8.2.7 MOS differential pair: transconductance

For small signal transfer functions, a MOS transistor behaves identically to a BJT with an infinite current gain factor αfe. Then, the transconductance of a MOS differential pair follows directly from (8.4) by letting αfe : gm,pair = gmtransistor.

8.2.8 MOS differential pair: input impedance

From (8.5) and substituting αfe , it follows that rin . Note that the input impedance — if the MOS transistors’ cGS is not neglected — is zin = 2cGS.

8.2.9 Small signal behaviour with a non-ideal current source

In the previous subsections, the (ideal) small signal behaviour of differential pairs was derived. These differential pairs assume an ideal current source that is usually called a tail current source. In actual circuits, a (tail) current source is made using, for example, a MOS transistor with a constant V GS (see §??), or a resistor. In the figure below, an NMOS differential pair with a non-ideal tail current source is shown, together with the corresponding small signal equivalent circuit. Resistor Rtail models the output resistance of the current source implemented by the right hand side NMOS in the current mirror in the figure.

pict
An NMOS differential pair with a non-ideal tail current source and
the small signal equivalent circuit.

The transconductance of the differential pair is easily calculated from the small signal equivalent circuit. The resulting expression is (again):

gm,diffpair = gm

where the transconductance of transistors depends on the bias current of the transistors, and therefore dependent on the total tail current. In contrast to when using an ideal tail current source, now the tail current is dependent on the common input signal, due to the presence of a finite rtail.

The effect of rtail and the common input signal on the output current is easily calculated for vDIFF = 0V. On grounds of symmetry in the circuit and in the input signals, the drain currents of the transistors in the differential pair are identical. The output current iout = idl idr is therefore equal to 0. If the circuit is asymmetrical for any reason, for example due to unequal transistors in the pair or because vDIFF0, there is also an output current component resulting from vCOMMON.

8.3 From input stage to intermediate stage

In §8.2, input stages were discussed, and these input stages are usually differential pairs as shown in Figure 8.5, or variations on them. For these kinds of differential stages, the transfer functions were calculated in multiple ways, always assuming that the output signal is id1 id2: a differential output current.

These differential output currents are then (in an arbitrary order) amplified and converted to a voltage. Because the differential output current consists of 2 currents, and usually the output signal of the opamp is 1 voltage, somewhere there has to be a transition from differential to “single-ended”. This is the subject of this subsection, assuming a MOS differential pair as an vehicle. Figure 8.8 shows an NMOS differential pair with several forms of conversion from differential current to single current.

pict
Figure 8.8: An NMOS differential pair, and 4 ways to go from differential output current to single-ended output current. The drain current for the left hand side and right hand side transistors in the differential pair are denoted iDl respectively iDr. Furthermore, it is assumed that IX = ITAIL2.

To easily recognize the various parts of the circuits, the NMOS differential pairs are drawn over a grey background. The four example circuit implementations are briefly discussed below.

8.3.1 Throwing away half the current

The simplest way to make a single-ended current from a differential current, is to simply throw away one of the differential current components. This has been done in the simplest possible way in Figure 8.8a. For an ideal differential pair, the output current (note the direction of the output current) for small input volages is

iOUT = iDr = ITAIL2 + vdiff gm 2

where gm is the transconductance of the transistors in the differential pair. The small signal transconductance of the total circuit in Figure 8.8a is hence

gm,diffpair iOUT v+ v = gm 2

8.3.2 Throwing away one half: part 2

A possible disadvantage of the circuit in Figure 8.8a, is that the output signal contains a fairly large DC current component — ITAIL2 — which may lead to problems in subsequent intermediate stages. A solution for that is given in Figure 8.8c: throwing away half of the differential signal, and then compensating for the ITAIL2 by adding that same value from another DC current source IX = ITAIL2. That leads to the following output signal:

iOUT = vdiff gm 2
(8.6)

8.3.3 Subtracting currents

To use the differential output current of a differential pair, the two drain currents iDl and iDr can be subtracted from each other. In this case, the common part in the currents — ITAIL2 — cancel and the differential currents add.

Adding currents is easy, as is reversing a current’s direction (using the current mirror in §??). Consequently, subtracting currents is also easy: first invert one component with a current mirror, and then add both currents. A corresponding circuit is shown in Figure 8.8b. The output current is (assuming an ideal differential pair and an ideal current mirror):

iOUT = iDl iDr = ITAIL 2 + vdiff gm 2 (ITAIL 2 vdiff gm 2 ) = vdiff gm (8.7)

Note that for proper operation, all transistors in the circuit schematic must operate as intended. Usually this implies that all transistors should operate in (strong inversion) saturation. Similar to the case with single-transistor amplifiers, this limits the

8.4 Intermediate stages

The input stage of an amplifier is usually a differential pair, which has a voltage input and a current as an output. The output signal of an opamp is in the voltage domain while the overall voltage gain of an opamp should be a large as possible. Therefore another amplification stage, which converts the current to a voltage and that preferably has a large transresistance (voutiin) is needed. This is the function of the intermediate stage, which is dealt with below. Often (but not always), an output stage is required after the intermediate stage, in order to reduce the opamp’s output impedance. Those kinds of output stages are dealt with in §8.5.

pict
Figure 8.9: An NPN differential pair, current mirror and intermediate stage.

The most important requirements for the intermediate stage are:

Like for the other stages, there are many possibilities for the intermediate stage. A few examples, increasing in complexity, will be discussed here. Assuming these basic configurations, variations on them are easier to understand and design.

8.4.1 Intermediate stage (not) using a resistor

The most simple implementation of a voltage to current converter is a resistor. If a resistor is used as an “intermediate stage”, the resulting opamp, using an input stage with an NMOS differential pair and a PMOS current mirror, is shown in Figure 8.10.

pict
Figure 8.10: Differential stage with current mirror, both drawn on greyed backgrounds.

The DC voltage source with value V BIAS is needed to keep M2 and M4 in saturation for small vDIFF . The small signal output voltage of this circuit is

vout = (id1 id2) Rload id1 id2 = gm vdiff vout = gm vdiff Rload (8.8)

The resistance Rload can be applied explicitly, or can consist of the (non ideal) finite output resistances of the MOS transistors. If only the output resistances of the transistors in the mirror are present, the small signal equivalent circuit of the schematic in Figure 8.10 is shown in Figure 8.11. The small signal output voltage, assuming a symmetric differential pair and current mirror, is then

vout = 1 gom (gm,diff.pair vgs2 gm,m vgsm) vgsm = ( 1 gm,m 1 gom ) gm,diff.pair vgs1 vgs1 = vgs2 = 1 2vdiff vgsm = 1 2vdiff ( 1 sm 1 gom ) gm,diff.pair vout = vdiff 2 gom gm,diff.pair 2gm,m + gom gm,m + gom H = vout vdiff gm,diff.pair gom (8.9)

If the output resistances of the transistors in the differential pair are also included, the result is similar. This is also reflected in the very similar (8.8) and (8.9).

pict
Figure 8.11: Small signal equivalent circuit of the circuit in Figure 8.10, including MOS transistors’ output resistances (only those in the mirror are drawn). The differential stage and the current mirror are drawn on greyed backgrounds.

8.4.2 Intermediate stage using a CEC or CSC

A somewhat more complex intermediate stage could consist of an active element as a load and extra gain stage. In this way, for example the circuit n Figure 8.12 may result. In this circuit, the current flowing from the combination of differential pair and current mirror is used to drive a PNP in a CEC configuration. Note that compared to Figure 8.10 the positive input and negative input swapped, due to the negative voltage gain of the CEC stage.

pict
Figure 8.12: Opamp consisting of an input stage consisting of a differential pair and a current mirror, and a PNP CEC stage.

Performing calculations on this circuit can be done in several ways:

Below, the second option is assumed. As simplification, it is assumed that output conductances of all transistors can be neglected, and that the differential pair and mirror are symmetric. Then — without redrawing small signal equivalent circuits for the various parts of the circuit in Figure 8.12 — for the circuit bits in the three grey areas

Combining the transfer function of the three parts, and noting that (for simplicity reasons) the output impedances of the differential pair and of the current mirror are infinite, the overall small signal transfer function is

H = vout vdiff = gm,diffpair αfe rout

The various small signal parameters (of course) depend on the large signal bias conditions. Obviously, there are many more interesting things to derive from this circuit, like rin, rout. These are all useful, and it is also useful to derive these yourself.

8.4.3 Intermediate stage (more complex)

Opamp circuits with more complex intermediate stages are also quite easy to examine, as long as the circuit is first subdivided in easy-to-analyze subcircuits. Figure 8.13 is an example of a slightly more complicated intermediate stage (together with a differential pair and current source). There are many ways to calculate the transfer function of this intermediate stage:

Note that in the first case, every stage (in the intermediate stage) is regarded as a voltage amplifier, while in the second case they are regarded as current amplifiers. This choice is arbitrary; when including the relations for input and output resistances, they yield identical results.

pict
Figure 8.13: An opamp with a more complex intermediate stage.

Assuming that the output resistance of all transistors is infinite, and assuming a load resistor RLOAD, the small signal voltage gain of this circuit is

H = vout vin = gm,diff.pair 2 (1 + αfe,mirror αfe,mirror + 2 ) αfe,T1 αfe,T2 RLOAD = gm,diff.pair αfe,mirror + 1 αfe,mirror + 2 αfeT1 αfeT2 RLOAD

The first two terms of this expression are due to the non-unity (current) transfer of a bipolar current mirror. For large αfe,mirror you the second term on the right hand side tends to 1 and may be ignored.

8.5 Output stages

For the opamp circuits discussed so far, the output impedance is quite high. For the circuits in section 8.3, the output signal is in the current domain: therefore, the output impedance is high. The same thing basically holds for the intermediate stages discussed in §8.4.

For a lot of applications, the output impedance of opamp circuits should be (relative to the load) low. Leveraging negative feedback, the output impedance can be reduced by a factor (1 + ) compared to that in the open loop configuration, but even then the output impedance may be too high to properly drive a low ohmic load.

As solution, usually an extra (last) gain stage is used to lower the output impedance. Such output stages — having a high input impedance and a low output impedance and typically having a low voltage gain — is of course not a new concept: in section 5.2 this has been dealt with extensively.

8.5.1 Requirements for the output stage

The most important requirements for an output stage are:

In section 8.5.2, the first two requirements are dealt with. Afterwards, in section 8.5.6, some attention is paid to efficiency aspects of various types of output stages.

8.5.2 Basic output stages

In section 5.1.5, various aspects of the 3 basic configurations using BJTs have been summarized. The summary for corresponding MOS variants is given in section 5.1.5. From the summaries, it is clear that especially the CCC — a.k.a. the emitter follower — and the CDC — a.k.a. the source follower — are good candidates for output stages: these circuits have a high input impedance and have a low output impedance. These circuits will first be examined for use as an output stage in opamp circuits.

8.5.3 CDC output stage

One of the most simple output stages for opamps is the source follower with tail current source; a schematic of such an opamp circuit is given in Figure 8.14. Note that in order to examine the entire opamp circuit, it has been subdivided into 4 parts: a differential pair, a current mirror, an intermediate stage and the CDC output stage. It is assumed that the output impedance of the pnp is rce,out and that there is not extrnal load attached to this opamp.

pict
Figure 8.14: An opamp with a CDC output stage.

The small signal gain of this opamp can be calculated by e.g. determining and multiplying the small signal transfer functions of each subcircuit. Note that the effects of input and output impedances should be properly included! The result, for the circuit in Figure 8.14, is:

H = vout vdiff vout = vg,nmos vg,nmos = αfe,pnp (iDr iDl) rout,pnp (iDr iDl) = gm,diff.pair vdiff H = gm,diff.pair αfe,pnp rout,pnp

The small signal output resistance of the opamp circuit in Figure 8.14 can be calculated in multiple ways. For the derivation below, a small signal voltage source drives the output port; the output impedance is then calculated as zout = voutiout. Note that for this approach, the only independent source is the one driving the output port; all other independent sources have to be set to 0.

Inspection of the circuit in Figure 8.14 shows that the small signal iDl iDr = 0. Consequently the small signal collector current of the pnp is also 0. Therefore, the small signal circuit equivalent circuit — to calculate zout assuming driving the output node — is the one on the right hand side in Figure 8.15.

pict
Figure 8.15: Circuit from Figure 8.14 and its small signal equivalent to derive zout assuming a (small signal) voltage source driving the output port. In the original circuit on the left, the parts that do not see not yield small signal currents are greyed out.

It can be derived that for finite rout,pnp, the output resistance of the opamp circuit in Figure 8.15 is

rout = 1gmrout,pnp

while for rout,pnp

rout .

Quite similar results follow when using a PMOS CDC or if a NPN or PNP CCC is assumed as output stage. Be aware that the output impedance is purely a small signal output impedance. At significant (relative to the bias current) output current fluctuation, the (then locally defined) small signal output impedance may change significantly.

Non-small signal excitation example
The output impedance as derived above is only valid for small signal excursions where the current in the NMOS transistor does not varies significantly. Furthermore, it is the output resistance of the opamp itself, not that of a circuit including the opamp in a feedback configuration. Because the output stage op the opamp is meant to drive relatively low-ohmic loads at significant voltage excursions, the small signal approximation may not hold.

Let’s assume that the opamp in Figure 8.15 has a high voltage gain and that it is used in unity-gain mode. In this mode, the small signal voltage gain is

H() = A() 1 + A()

which closed loop signal transfer is close to 1 as long as the gain of the opamp is high. This high gain condition depends — among other — on the gain and output impedance of the output stage of the opamp. Now, assuming

the drain current in the NMOS transistor is the sum of the bias current ID and the signal current iS = VRLOAD sin (ωt). The output resistance of the CDC — and that of the opamp — across the excursion is then

rout(vout) 1 gm(vout) gm(vout) = 2 K (ID + vout RLOAD ) rout(vout) 1 2 K (ID + vout RLOAD )

The figure below shows in red the drain current in the NMOS transistor as a function of vOUT , for the aforementioned conditions. In blue is the (local) rout as a function of the output voltage. For small signals around the bias point, the drain current is close to ID = 1mA and the output impedance of the output stage is about 160Ω; this point is marked by the blue dot in the graph.

Note that for vOUT = 1, the drain current is doubled with respect to vOUT = 0, resulting in a lower output resistance of the output stage of the opamp. Towards higher output voltages, the (local) output resistance decreases.

pict
(red) ID (vOUT ) and (blue) rout(vOUT ) of the opamp in Figure 8.15 for
the conditions listed above, as a function of output voltage (excursion).

Towards negative output voltages, the drain current of the NMOS transistor decreases, and is zero at vOUT = 1V . There, the output resistance goes to infinity. The output stage does not work properly for excursions above V max = ID RLOAD = 1V .

Going to PMOS, PNP or NPN output stages with the same bias current level (and for the PMOS the same |K) yields similar rout(vOUT ) curves. Note that the BJT-versions have lower output resistances, and note that N-versions and P-versions are merely mirrored in the y-axis.

pict
The output resistance of opamps similar to that in Figure 8.15 with an
(blue) NMOS, (red) NPN, (green) PMOS, (black) PNP output stage
for the conditions listed above, as a function of output voltage (excursion).

From this, two methods arise to make sure the output resistance remains low for relatively large — positive and negative — output currents:

8.5.4 Slightly less simple output stages

As shown in §8.5.2, basic output stage that have relatively low output impedance (e.g. CDC or CCC stages) can be used as proper opamp output stage, as long as the current in the transistors in that stage remains sufficiently high for any output voltage. To be able to drive low ohmic loads this then would require sufficiently large bias currents. Noting that the output current can either increase the current in the transistor (in CCC or CDC) or decrease it, depending on its direction, a more power efficient way to make output stages can be deviced. A first implementation for this is given below, combining two complementary CDC circuits:

pict
An opamp circuit with a “symmetric” or complementary output stage.

Note that the output stage of the opamp schematic is basically an NMOS and PMOS CDC in parallel. Here, the two current sources are in series between the supply nodes. Assuming that they have the same value, these current sources only sink current and have no use whatsoever for the circuit. Consequently, these can be deleted, which allows to redraw the circuit schematic into:

pict
An opamp circuit with a “symmetric” or complementary output stage.

A graph showing the output stage’s transistors’ current as a function of the opamp output current is shown below. The red curve shows the drain current of the NMOS transistor, whereas the red curve corresponds to the output stage’s PMOS transistor drain current.

pict

This dependency of the output transistors’ drain current on the opamp output current yields the following graph for the output resistance of the opamp, as a function of the opamp output current. For this circuit configuration, either the NMOS transistor or the PMOS transistor is “on” and hence determines the output resistance.

pict

At (close) to zero output current the output resistance of the opamp is high. Note again that when using the opamp in a feedback configuration, the output resistance of that total circuit configuration is typically that of the opamp, lowered by (1+) the loop gain.

Similar to the situation with single transistor amplifiers in e.g. chapter 5.1, an lower output resistance lower than some value rout,max for any output current level can be insured by making sure that the current in the output stage transistors is always higher than some specific value(s). Some examples are given in the next subsection, that all aim at making sure that at least one of the output stage transistors sees a suficiently large drain current.

8.5.5 Implementation examples

In actual circuits, the DC voltage source is implemented with electronic components. Because the current through the output stage is quite dependent on the value of V DC and of (temperature dependent) properties of the transistor, the DC source V DC is often realized with transistors that behave similarly to the output stage transistors. Below, a few output stages, with different realizations for V DC, are shown.

The realizations in b) and c) in the figure below are straightforward implementations of the DC source using compensation for temperature and production offsets. Because the exponential behaviour of an NPN and of a PNP are virtually identical, the circuit in c) can also be implemented as in d). A nice implementation, where V DC = n V BE with n 1 can be realized with a BJT, is shown in e). If, for simplicity, we disregard the base current through Q”, it is easily derived that V DC V CE = 1β V BE, with β = R2(R1 + R2).

pict
Output stages with implementations for V DC;
an intermediate stage is included for clarity.

The large signal signal transfer and large-signal-dependent small signal output impedances can be derived for the presented output stages. As these are large signal derivations, they need to include the non-linear characteristics of the transistors which is harder than getting small signal behavior about a bias setting. Full derivations are outside the scope of this book, and usually not required. Deriving the small signal transfer and impedances in three situations is usually sufficient; these situations are for zero output current, maximum negative and maximum positive output current.

8.5.6 Power efficiency aspects of output stages

Output stages of opamps60 are used on relatively low impedance loads. To do this correctly, relatively high output currents are needed, see for example §8.5.4, which can cause high power consumption in the output stage. In this subsection, the power efficiency of various output stages will be discussed.

8.5.7 Simple output stages: class A

The simplest output stages of opamps are usually emitter follower or source follower circuits, see §8.5.2. An example of such a circuit is given in Figure 8.14; the (large signal) output current for these types of circuits is:

iOUT = iD IX

If we assume that the output current is symmetrical, the highest possible harmonic output current61 is:

iOUTmax = IX sin(ωt)

The output power and the power delivered by the supply are:

POUT = 1 T0T (I X sin(ωt))2R loaddt = 1 2IX2 R load = V out2 2 Rload Psupply = V SUPPLY IX

The maximum value of the output voltage is determined by the supply voltage: if the output signal only just fits into the supply voltage, it holds that V out = 1 2 V SUPPLY . The maximum power efficiency of these kinds of output stages, therefore, is:

ηoutputstage POUT Psupply = V out2 2 Rload Rload V SUPPLY V out 1 4 (8.10)

From (8.10), it follows that the maximum power efficiency of these kinds of circuits is only 25%. Note that this efficiency number can only be reached if the output signal perfectly fits into the supply voltage; for lower signal magnitudes the efficiency is lower. This low efficiency occurs in all amplifiers where the output signal is made, as described before, with only a single transistor. These types of amplifiers are the oldest and simplest in existence, and are denoted as class A. Strictly speaking, class A stands for an amplifier where the output transistor(s) drive the load for the entire duration of the signal.

8.5.8 Slightly less simple output stages: class B

In §8.5.4, a few less simple output stages were discussed, which can deliver reasonably large output currents using a bias current lower than the maximum output current. This was accomplished by using two transistors, each mainly responsible for a different part of the output signal. A number of implementations for this are shown in §8.5.4.

If, for simplicity, it is assumed that both transistors make up exactly half of the output sine, the output power and the supply power are again easily calculated:

POUT = 2 T0T2 (V out sin(ωt))2 Rload dt = V out2 2 Rload Psupply = V SUPPLY 1 T 0T2V out sin(ωt) Rload dt = V SUPPLY V out π Rload

Again, maximum power efficiency is reached at the maximum voltage magnitude:

ηoutputstage POUT Psupply = V out2 2 Rload π Rload V SUPPLY V out π 4 (8.11)

Whereas with class A amplifiers, the maximum efficiency is 25%, that number for these amplifiers is π4 78.5 % which number is reached at maximum signal excusions. Amplifiers where one of two (quasi) symmetrical parts are driving for exactly 50% of the output signal are called class B amplifiers.

8.5.9 Slightly less simple output stages: class AB

In class B output stages, the two parts of the output stage drive exactly 50% of the output signal. This means that transistors in the other part of the output stage are “off” for 50% of the signal. In §8.5.4, a number of disadvantages of pure class B output stages are listed: among others the output resistance can be high at specific operating conditions. Another disadvantage (outside the scope of this reader) is that transistors are very slow at low current levels. Solving the issues that come with having transistors “off” is simple: ensuring an overlapping “on” range of both parts of the output stage. The resulting output stage is not class A, and not class B, but something in between: a class AB output stage. The maximum power efficiency of class AB, therefore, is:

1 4 ηoutputstage π 4 (8.12)

8.5.10 Other output stages: class D

A different type of output stage is the class D stage. Where class A, AB and B work pretty “neatly”, a class D amplifier does not. In a class D amplifier the output switches between two discrete values, where the actual output signal is the resulting quasi-DC component which is something like the short-term average of the switched signal, where all higher components are filtered out.

pict
Figure 8.16: Principal schematic of a class D implementation..

If, for the basic schematic in Figure 8.16 the switching frequency (frequency of the triangle) is much higher than the signal frequency, the signal can be regarded as quasi-DC. In the system in Figure 8.16 the “on” times of switches S1 and S2 are linearly dependent on the input signal level, as is then the quasi-DC component of vX. After filtering out the switching frequency and its harmonics, vOUT is an amplified version of the input signal vIN.

The very nice property of this type of amplifier is that the switches are either “on” with a voltage drop of (ideally) 0V, or “off” with (ideally) no current in the switch. Consequently the power efficiency of an ideal class D amplifier is 100%. Dissipation in the control circuitry and switching losses, as well as non-ideal filtering reduces the power efficiency to typically around 90%.

8.5.11 Other output stages: class C, E, F, G, H, ...

There are many more types of output stages than those discussed just now; a large part of the alphabet has been reserved for them. The class C amplifier is essentially a class A or class B amplifier, where only a part of the input signal is actually amplified. It yields distorted output signals, similar to those in Figure 3.1, at a high power efficiency. Class E and class F amplifiers are resonant amplifiers meant to efficiency amplify narrow band signals such as radio frequency (RF) signals in power amplifiers in transmitters. Class G and H are variations on the ones mentioned before, but using a variable supply voltage.

8.6 Frequency dependencies

The combination of resistances and capacitances usually leads to bandwidth limitations. In actual transistors, many capacitances are present. In bipolar transistors these are mainly the (parasitic, unwanted) junction capacitances across the base-emitter and base-collector junctions. In MOS transistors some capacitances are fundamental while others are just parasitic, usually both are unwanted and also assumed to be parasitic. In previous chapters, parasitic capacitances were all neglected which may be acceptable at low signal frequencies. At higher frequencies they however cannot be neglected. In §8.6.1, the effect of parasitic capacitances will be analyzed and “solved” for small signals. Then, in §8.6.2, the effect of limited bandwidth on large signal behaviour will be discussed.

8.6.1 Bandwidth limitations: small signal

If the parasitic components of transistors are explicitly included in an opamp circuit, you may get something like Figure 8.17. That circuit comprises 6 transistors and 3 current sources (that may again be composed of transistors). This yields already a circuit with 16 capacitors, which makes analyses quite complex.

pict
Figure 8.17: An opamp with explicitly displayed parasitic capacitances.

To analyze the behavior of this circuit, circuit can be rewritten into a much more easy-to-read form. For this, many capacitances can be replaced by single capacitances. Because this circuit has 3 internal nodes and one (not low-ohmically driven) output node there is only a low number of capacitances required that are equivalent to the 16 shown in the figure. As next step to reduce the complexity of analysis it is useful to realize that usually one frequency limitation is the worst (dominant) and that others then are not that relevant. It can be argued that:

In the given circuit — and generally, when dealing with parasitic capacitances — parasitic capacitances usually dominantly introduce low-pass characteristics62 . For a low pass behavior due to the impedance at a node, the associated cut off frequency is ω3dB,node = 1 cnodernode from which it follows that (almost) all parasitic capacitances that are between 2 low ohmic nodes, are not very relevant. The schematic of Figure 8.17 can then be reduced to that in Figure 8.18 allowing (relatively) easy calculation of small signal properties.

pict
Figure 8.18: An opamp with explicit parasitic capacitances: irrelevant ones are left out, some are merged.

8.6.2 Bandwidth limitations: large signal

Bandwidth limitations have different effects on a large or small signal level. For small signals, it just shows as some kind of low pass or high pass filtering effects, which are linear effects. For large signals, however, it can cause nonlinear effects. A description is in this paragraph, using a (generally valid) example.

Assuming, for simplicity, an amplifier with dominant first order behaviour, the open loop transfer function can be given by the following relation. In this, linear behavior is assumed which allows using the frequency-domain relation.

A() = A0 1 + τ1

If this amplifier is used in a configuration with negative feedback — as is often true for opamps in linear applications — the input signal of the opamp is ideally

vIN,opamp = vIN 1 + A()β (8.13)

Equation (8.13) still assumes linear behaviour of the amplifier. Having e.g. an differential pair as input circuit for an opamp, the gain A() is both frequency and input voltage magnitude dependent. Whereas for small signals the input voltage dependency may be neglected, for large signals this is certainly not the case. For relatively large input voltages the output current of a differential pair is limited to the value of its tail current source; in that situation the small signal gain dioutdvin has dropped to 0 and effectively loop gain also dropped to zero. Modelling (assuming) this as the actual limit of linear-ish behavior in a feedback system, then for an opamp similar to the one in Fig. 8.18:

Iout,inputstage ITAIL

leading to a maximum rate at which voltage vB at node B can change:

|vB ∂t | ITAIL CB

In this equation CB is the total capacitance at node B. This CB is composed of the capacitance across the base-emitter of T2 and of the capacitance at node B due to the so-called Miller capacitor across base-collector. Assuming a small signal voltage gain of T2 equal to AT2 then the total capacitance at node B equals CB = CBE + (1 + AT2) CCE. The maximum rate at which the output voltage of the opamp can change is

|vOUT ∂t | = AT2 ITAIL CB

This maximum slope of the output voltage is called the slew rate (SR). An amplifier running into these kinds of slew rate limitations is usually said to be “slewing”.

Let’s assume that a sinusoidal signal must be amplified, using an amplifier with a limited slew rate. Then the signal frequency in combination with signal magnitude determine the maximum rate at which the signal changes in time, ω V signal. Assuming an amplifier with a single sidedly limited (too low) slew rate,

For an output sine vOUT = V out sin(ωt), the required slew rate for a neat amplification is SRrequired ω V out. If the required SR is higher than the actual slew rate of the amplifier, a part of the sine wave will see distortion, see the figure below.

pict
The effect of a too small slew rate for the signal to be processed: slewing.