Exercise 8.11 An opamp circuit schematic

In the opamp circuit schematic shown below, all NMOS transistors are equal and all PMOS transistors are equal. For all transistors you may assume the square law: iD = 1 2k(vGS V T )2.

pict

a)
Derive the bias currents for all transistors in this circuit schematic, for vA = vB.
b)
The op amp has a differential input stage as indicated below, where the drain current of M2 is used as output current. Give an expression for the small-signal transfer function from the differential input voltage (vA vB) to ix, as a function of IBIAS and the transistor parameters k and/or V T .

pict

c)
The output current of the differential pair is fed to a current mirror as indicated below. Give an expression for the total output current of the current mirror, i.e. the drain current of M4.

pict

d)
The output current of the current mirror flows into a resistor with value R. Derive an expression for the voltage across the resistor as a function of IBIAS and ix.
e)
Derive an expression for the small-signal voltage gain of this op amp av = vout vAvB.