ee 140/240a linear integrated circuits homework 6pister/140sp20/hw/sol6.pdf · ucb ee 140/240a,...

23
Last Updated: 2020-03-16 09:00 1 EE 140/240A Linear Integrated Circuits Spring 2020 Homework 6 1. K2-W Check out the datasheet for the K2-W tube op-amp: http://philbrickarchive.org/k2-w_operational_ amplifier_later.htm. This op-amp, released in 1952, was the first production op-amp. It runs from a ±300V supply, and has a bandwidth of 300kHz (or k-cycles/s, as they said back then—the unit Hertz not having been established yet). There’s a schematic on page 2. Pins 1, 2, and 6 on the bottom of the figure are V + , V - , and V out . V R1 and V R2 are neon bulbs that provide a low impedance level shift of roughly 100V to center the output between the rails. Identify (circle and label): (a) input differential pair (b) diff-pair load resistor (c) tail current resistor (d) Estimate the common mode gain and write it near the tail resistor (e) Common-cathode gain stage (like CS or CE) (f) Cathode-follower output stage (like source-follower or emitter follower, CD, CC) (g) Miller-multiplied compensation capacitor from the output back to the input of the gain stage (h) (BONUS) positive feedback in this amplifier, designed to increase the low frequency gain (which ended up at about 20,000) Solution: UCB EE 140/240A, Spring 2020, Homework 6 1

Upload: others

Post on 12-Jul-2020

30 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 1

EE 140/240A Linear Integrated CircuitsSpring 2020 Homework 6

1. K2-W

Check out the datasheet for the K2-W tube op-amp: http://philbrickarchive.org/k2-w_operational_amplifier_later.htm. This op-amp, released in 1952, was the first production op-amp. It runs froma ±300V supply, and has a bandwidth of 300kHz (or k-cycles/s, as they said back then—the unit Hertz nothaving been established yet). There’s a schematic on page 2. Pins 1, 2, and 6 on the bottom of the figure areV+, V−, and Vout . VR1 and VR2 are neon bulbs that provide a low impedance level shift of roughly 100V tocenter the output between the rails. Identify (circle and label):

(a) input differential pair

(b) diff-pair load resistor

(c) tail current resistor

(d) Estimate the common mode gain and write it near the tail resistor

(e) Common-cathode gain stage (like CS or CE)

(f) Cathode-follower output stage (like source-follower or emitter follower, CD, CC)

(g) Miller-multiplied compensation capacitor from the output back to the input of the gain stage

(h) (BONUS) positive feedback in this amplifier, designed to increase the low frequency gain (whichended up at about 20,000)

Solution:

UCB EE 140/240A, Spring 2020, Homework 6 1

Page 2: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 2

You can find more info on the K2-W here: https://www.electronicdesign.com/analog/whats-all-k2-w-stuff-anyhow

Rubric: (8 Points)

• +1: For each correct marking (with no extra devices)

2. More Single-Pole Amplifiers

You have an opamp with a low-frequency gain of 1000 and a single pole at 1Mrad/s. Plot the location ofthe pole as a function of the feedback factor f from f = [0,1].

Solution:

1Mrad/s

f = 0

1000.0Mrad/s

f = 1

Rubric: (3 Points)

• +1: Pole location with f = 0

• +1: Pole location with f = 1

• +1: Trajectory of pole location correct

(a) From now on, assume f = 0.1. Sketch the Bode plot of the closed-loop amplifier.Solution:

100100

ωp,CL = 100Mrad/s

Av0,CL = 10V/V

ωu,CL = 1000.0Mrad/s

ω(rad/s)

Gai

n(V

/V)

UCB EE 140/240A, Spring 2020, Homework 6 2

Page 3: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 3

100

0

−45

−90

−135

−180

ω(rad/s)

Phas

e(°)

Rubric: (2 Points)

• +1: Correct 3dB frequency• +1: Correct closed-loop gain

(b) What is the fractional gain error?Solution: Following the equation for fractional gain error:

− 1A f

−1 ·10−2

Rubric: (2 Points)

• +1: Correct equation• +1: Correct numerical answer

(c) What is the time constant of the step response? How does it compare to the open-loop time constant?Solution:

τOL =1

ωp,OLτCL =

1ωp,OLA0 f

τOL = 1µs

τCL = 1 ·10−2µs

The closed loop time constant is faster than the open-loop time constant by a factor of the loopgain A0 f

UCB EE 140/240A, Spring 2020, Homework 6 3

Page 4: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 4

Rubric: (2 Points)

• +1: Correct closed-loop time constant• +1: Correct comparison to open-loop time constant

(d) What is the unity gain frequency? How does it compare to the open-loop unity gain frequency?Solution:

The unity gain frequency stays constant

ωu = 1000.0Mrad

s

Rubric: (2 Points)

• +1: Correct ωu

• +1: Correct comparison between closed-loop and open-loop unity gain frequency

3. Now With Three Poles!

You have an opamp with a low-frequency gain of 1000 and three poles at 1Mrad/s.

(a) Plot the location of the three poles as a function of the feedback factor f .Solution: First, define ωp as the open loop pole frequency.

The open-loop transfer function:

AOL(s) =A0ω3

p

(s+ωp)3

And plug this into the closed loop transfer function equation:

ACL(s) =AOL(s)

1+AOL(s) f=

A0ω3p

(s+ωp)3 +A0 f ω3p

The poles of the characteristic equation can be found by setting the denominator to 0:

(s+ωp)3 +A0 f ω

3p = 0

s+ωp =3√

A0 f ωp · exp( jφi) ,φi = 180±60°

s =−ωp

(1+ 3√

A0 f e± j π

3

)where the portion of the expression above with the complex exponential gives the angle and magnitudeof the vector which progresses from the initial pole location.

UCB EE 140/240A, Spring 2020, Homework 6 4

Page 5: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 5

Rubric: (9 Points)

• +1: Calculated correct pole location in terms of f (×3)• +1: Correct starting point when f = 0 (×3)• +1: Correct angle of trajectory for each pole as f changes (×3)

(b) At the point where the poles cross the jω axis, annotate the plot with the value of f that gives this polelocation.Solution:Using our answer to the previous part and with some triangle geometry, at the jω axis, the real part is0, so

2ωp =3√

A0 f ωp

f =8

A0

= 0.008

See the plot above for the annotation.Rubric: (2 Points)

• +1: Set real portion to 0 in expression for poles in previous part (don’t double-penalize yourself—even if your expression for the pole location earlier was incorrect, you should still give yourselfcredit if you went through the correct process here)

• +1: Correctly calculated f given the expression from the previous part

(c) Using this value for f , draw a Bode plot of the loop gain A fSolution:

AOL f =8(

1+ sωp

)3

UCB EE 140/240A, Spring 2020, Homework 6 5

Page 6: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 6

100100

AOL f = 8AOL f = 8

ω(rad/s)

Gai

n(V

/V)

100

0

−45

−90

−135

−180

−225

−270

ω(rad/s)

Phas

e(°)

Rubric: (3 Points)

• +1: Correct DC A f• +1: Correct pole location and −60dB/decade slope• +1: ωu of A f < 107 rad

s

4. Compensating for Something

A two-stage CMOS op-amp running at a particular bias point has the following parameters:

• Gm1 = 1mS• Ro1 = 1MΩ

• C1 = 0.1pF• CC = 0pF

• Gm2 = 1mS

• Ro2 = 100kΩ

• C2 = 10pF

(a) Plot the magnitude and phase of the overall gain of this uncompensated amplifier.Solution:

UCB EE 140/240A, Spring 2020, Homework 6 6

Page 7: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 7

ωp1 =1

Ro1C1

= 107 rads

ωp2 =1

Ro2C2

= 106 rads

Av0 = Gm1Ro1Gm2Ro1

= 105 VV

106 107 109

105

104

102

ω(rad/s)

Gai

n(V

/V)

106 107 108 109

0

−45

−90

−135

−180

ω(rad/s)

Phas

e(°)

Rubric: (6 Points)

• +1: Correct pole frequency (2×)• +1: Correct DC gain• +1: Correct phase relationship about pole frequencies (2×)• +1: Correct unity gain frequency

(b) Where are the poles of the uncompensated amplifier? Is it unity-gain stable?Solution: See the plot in part (a)

UCB EE 140/240A, Spring 2020, Homework 6 7

Page 8: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 8

ωp,1 = 107 rads,ωp,2 = 106 rad

s

No, the amplifier is not unity gain stable.

Rubric: (1 Points)

• +1: Correct answer of if the amplifier is unity gain stable

5. Continuing... For the same amplifier above, we now add CC = 1pF. You may ignore the RHP zero thatthis introduces. On the figures provided below,

(a) Plot the magnitude of the second stage gain vs. frequency.Rubric: (3 Points)

• +1: Correct DC gain• +1: Correct pole frequency• +1: 20dB/decade drop-off

(b) Plot the magnitude of the input capacitance of the second stage (including Cc) vs. frequency.Rubric: (4 Points)

• +1: Correct DC capacitance (if you didn’t include C1 that’s fine)• +1: Correct high-frequency capacitance (fine if you didn’t include C1)• +1: Correct pole location for gain dropping the capacitance• +1: Correct ωu2 location where CC no longer Millerizes

(c) Plot the magnitude of the input impedance of the second stage vs. frequency. Add a line for the outputimpedance of the first stage.Rubric: (4 Points)

• +1: Correct low frequency Ro1

• +1: Correct impedance line for Millerized CC

• +1: Correct zero location in the impedance when Miller effect begins to decrease• +1: Correct impedance line for non-Millerized CC

(d) Now plot the magnitude of the gain of the first stage on the top plot, and the magnitude of the overallgain of the amplifier.Rubric: (9 Points)

• +1: Correct DC gain of first stage• +1: Correct pole and zero locations of the first stage gain (3×)• +1: Correct DC gain of combined stages• +1: Correct pole locations and slope of combined stages (4×)

(e) What are the compensated poles of the amplifier? If Cc were 0pF, where would the poles of theamplifier be?Solution:

UCB EE 140/240A, Spring 2020, Homework 6 8

Page 9: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 9

ωp1 ωp2(rad/s) (rad/s)

Uncompensated 107 106

Compensated 104 108

Rubric: (4 Points)

• +1: Correct compensated poles of the amplifier (2×)• +1: Correct uncompensated poles of the amplifier (2×)

UCB EE 140/240A, Spring 2020, Homework 6 9

Page 10: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 10

UCB EE 140/240A, Spring 2020, Homework 6 10

Page 11: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 11

Solution:

6. Biasing

For our standard 2-stage NMOS-input CMOS op-amp (e.g. lecture notes W6L1P4LL) once the device sizesare picked the resistor sets the overdrive voltage in all of the transistors. If

• µnCox = 200 µAV2

• µpCox = 100 µAV2

• λ = 0.1V−1

• Vtn =−Vt p = 0.5V

• VDD = 2V

• (W/L)1 = 100

UCB EE 140/240A, Spring 2020, Homework 6 11

Page 12: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 12

• (W/L)2 = 200• (W/L)4 = 400

• (W/L)3,5,6 = 200

1A 1B

2A 2B

3

4

556

R

IREF

Rz (0Ω)

CCV− V+ Vout

VDD

Figure 1: Our standard 2-stage NMOS-input CMOS op amp, duplicated here for convenience

(a) What is the reference current IREF necessary for each of the following biasing conditions? You mayassume λ = 0 to make these calculations easier.Rubric: (6 Points)

• +2: Per correct answer (×3)

i. Vov = 100mVSolution:Note that all the PMOS devices relative to their corresponding NMOS devices in the same branchare twice as large to have the same overdrive (since they’re half as strong per W/L).

ID6 = IREF =12

µnCoxWL

V 2ov

= 0.2mA

IREF = 0.2mA

ii. Vov = 500mVSolution:Note that all the PMOS devices relative to their corresponding NMOS devices in the same branchare twice as large to have the same overdrive (since they’re half as strong per W/L).

ID6 = IREF =12

µnCoxWL

V 2ov

= 5mA

UCB EE 140/240A, Spring 2020, Homework 6 12

Page 13: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 13

IREF = 5mA

iii. Vov = −80mV (assuming that subthreshold and inversion currents are equal when Vov = 10mV,and n = 1.5)Solution:Setting subthreshold and inversion currents equal:

12

µnCoxWL(10mV)2 = 2µA

From here, we know we need 90mV/decade of current in subthreshold, so when Vov = −80mV,that’s 1 decade(s) of current less than the previous value.

0.2µA

(b) What are the bias resistor values needed to produce the bias conditions above?Solution:We’ve already found the current through the resistors from above, so

R =VDD−VGS6

IREF

=VDD− (Vtn +Vov6)

IREF

Going in order,

7kΩ

200Ω

79MΩ

Rubric: (6 Points)

• +3: Correct method• +1: Per correct numerical value (×3)

(c) Looking back at HW3 Problem 3, on a single plot sketch the gain and bandwidth of this amplifier vs.bias resistor value.Solution:This is an n-input common source amplifier with the same process parameters as above.For the gain

|Av|= gmn(rop||ron)

=2ID

Vov· 1

2λ ID

=1

λVov

UCB EE 140/240A, Spring 2020, Homework 6 13

Page 14: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 14

For the bandwidth

ω3dB =1

RoCL

=1

(rop||ron)CL

=2λ ID

CL

Remember thatVDD− (Vt +Vov)

R=

12

µnCoxV 2ov

so solving for Vov in terms of R isn’t trivial. However, we can go the other direction and plot overdrivevs. resistance:

And from there we can calculate the gain and bandwidth using the equations we described above:

UCB EE 140/240A, Spring 2020, Homework 6 14

Page 15: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 15

Rubric: (4 Points)

• +1: Correct equation for gain• +1: Correct equation for bandwidth• +2: Reasonable attempt at plotting

7. Output Range

You have three op-amp topologies: single stage active load (our standard 5 transistor opamp), the two stageversion of that, and the current mirror op-amp. Each topology can either have NMOS or PMOS inputs, forsix different op-amps. Sketch the output swing vs. common mode input range for the PMOS versions.

Rubric: (12 Points)

• +2: Per correct amplifier (6×)

Solution:

5 transistor opamp with pmos input:

two-stage opamp with pmos input

UCB EE 140/240A, Spring 2020, Homework 6 15

Page 16: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 16

current mirror opamp with pmos input

8. Razavi’s equations

Figure 6.15 in Razavi is a model of a two-stage amplifier. [For ee247A students: Fig 9.18 in GHLM, andequations 9.27 and 9.33 for parts b and c]

(a) Re-draw it using our terminology from class: Gm1, Gm2, Ro1, Ro2, C1, C2, Cc.Solution:

Rubric: (2 Points)

• +2: Correct

(b) Equation 6.30 is the transfer function of the amplifier. Re-write that with our terminology.Solution: [2 pts]

Rubric: (2 Points)

UCB EE 140/240A, Spring 2020, Homework 6 16

Page 17: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 17

• +2: Correct rewrite

(c) Equation 6.39 is the simplified expression for the 2nd pole location, assuming the first pole is given byMiller-multiplied Cc.

i. Re-write that with our terminologySolution: [1 pts]

ωp2 =1

ωp11

Ro1Ro2(C1C2+C1Cc+C2Cc)

= Ro1[(1+Gm2Ro2)Cc+C1]+Ro2(Cc+C2)Ro1Ro2(C1C2+C1Cc+C2Cc)

ii. Assuming that the 2nd stage gain is much larger than 1, the Miller capacitance is all that mattersin the compensated first stage pole wp1,c, write the expression for the compensated second stagepole wp2,c in terms of only capacitors and the transconductance of the second stage.Solution: [1 pts]

ωp2 ≈ Gm2C2

iii. With those same assumptions, and ignoring any other poles and zeros, what is the constraint ontransconductance and capacitance that insures a unity gain phase margin of at least 45?Solution: [1 pts]To make PM ≥ 45°, ωu ≤ ωp2. Then,

Gm2CcGm1C2

≥ 1Rubric: (3 Points)

• +1: Per correct subpart

9. [Not Graded] Virtual Ground Doesn’t FlyEstimate the output resistance of a CMOS differential amplifier with current mirror load.

M1A M1B

M2A M2B

Mtail

V+ V−

VDD

Vo

VBIAS

You may assume that gmro 1 for all combinations of gm and ro. The following steps may help:

(a) Estimate the impedance seen looking into the source of M1ASolution:

Ra =

1gm2a

+ ro

1+gm1aro

≈ ro

gm1aro

UCB EE 140/240A, Spring 2020, Homework 6 17

Page 18: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 18

Ra ≈1

gm1a

Rubric: (1 Points)

• +1: Correct impedance estimate

(b) Estimate the impedance seen looking down from the source of M1BSolution:

Rb =1

gm1a||ro3

≈ 1gm1a

Rb ≈1

gm1a

Rubric: (1 Points)

• +1: Correct impedance estimate

(c) Estimate the impedance seen looking into the drain of M1BSolution:

Rc = Rb + ro(1+gmRb)

≈ ro(1+gmRb)

≈ 2ro

Rc ≈ 2ro

Rubric: (1 Points)

• +1: Correct impedance estimate

(d) For the Ro calculation, estimate id1B as a function of vo.Solution:

id1B =vo

Rout

=vo

2ro1B

id1B =vo

2ro1B

Rubric: (1 Points)

UCB EE 140/240A, Spring 2020, Homework 6 18

Page 19: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 19

• +1: Correct relationship between id1B and vo

(e) The current id2B is due to both the output resistance and the mirrored current. Estimate both parts.Solution:

id2B = (mirrored current)+(current due to output resistance)

≈ id1B +vo

ro2B

=3vo

2ro

id2B =3vo

2ro,ro = ro1B = ro2B

Rubric: (2 Points)

• +1: Correct mirrored current• +1: Correct current due to output resistance

(f) Estimate the total output current io = id1B + id2B.Solution:

io = id1B + id2B

≈ vo

2ro1B+

vo

2ro1B+

vo

ro2B

= vo

(1

ro1B + ro2B

)

io ≈ vo

(1

ro1B + ro2B

)

Rubric: (1 Points)

• +1: Correct total output current given previous answers (don’t double-penalize)

(g) Show that Ro ≈ ro1B||ro2B. Magic!Solution:

Ro =vo

io

≈ 1(1

ro1B+ 1

ro2B

)= ro1B||ro2B

Ro ≈ ro1B||ro2B

Rubric: (1 Points)

UCB EE 140/240A, Spring 2020, Homework 6 19

Page 20: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 20

• +1: Correct final calculation

10. [Not Graded] More Poles

A single-stage op-amp has a low frequency gain of 200 and a dominant pole at 10Mrad/s.

(a) Draw the s-plane with the real axis from −107 to 0, and the imaginary axis from 0 to 107. Mark thepole location and draw a dot at 107 j.Solution: See the solution for part (c)Rubric: (2 Points)

• +1: Correct imaginary and real axes• +1: Correct pole location

(b) Draw the vector from the pole to 107 j. Calculate the magnitude and phase of this vector.Solution:

magnitude =√

2 ·107phase =−arctan

(107

−107

)= 45°

See the solution for part (c) for the plot.

magnitude =√

2 ·107

phase = 45°

Rubric: (3 Points)

• +1: Drew vector• +1: Correct magnitude• +1: Correct phase

(c) Draw a dot at 106 j. Draw the vector from the pole to 106 j. Calculate the magnitude and phase of thisvector.Solution:

magnitude =√

(107)2 +(106)2

≈ 107

phase =−arctan(

106

107

)≈ 0.1rad←− small angle approximation

≈ 5.73°

UCB EE 140/240A, Spring 2020, Homework 6 20

Page 21: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 21

magnitude≈ 107

phase≈ 5.73°

Rubric: (3 Points)

• +1: Drew vector and dot• +1: Correct magnitude• +1: Correct phase

(d) Repeat parts (a) and (b), but with the imaginary axis from 0 to 108 and the dot at 108 j. Keep the polein the same location.Solution:

magnitude =√

(107)2 +(108)2

≈ 108

phase =−arctan(

108

107

)≈ 1.47rad

≈ 84.3°

magnitude≈ 108

phase≈ 84.3°

UCB EE 140/240A, Spring 2020, Homework 6 21

Page 22: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 22

Rubric: (3 Points)• +1: Drew vector• +1: Correct magnitude• +1: Correct phase

(e) Draw a Bode plot of the gain of your amplifier, with frequency running from 105 to 109rad/s. Use thestraight-line approximations for the Bode plot, and then add dots showing the results of parts (b), (c),and (d).Solution:

Rubric: (4 Points)

UCB EE 140/240A, Spring 2020, Homework 6 22

Page 23: EE 140/240A Linear Integrated Circuits Homework 6pister/140sp20/hw/sol6.pdf · UCB EE 140/240A, Spring 2020, Homework 6 2. Last Updated: 2020-03-16 09:00 3 100 0 45 90 135 180 w(rad=s)

Last Updated: 2020-03-16 09:00 23

• +1: Correct DC magnitude• +1: Correct pole frequency• +1: Correct magnitude slope• +1: Correct phase start and end values

11. [Not Graded] Virtual Ground Is A Lie

For a standard 5 transistor CMOS differential amplifier show that the gain from a differential input to the(so called virtual ground!) tail voltage is 1

4 . You can assume that gmro 1 for all combinations of gm andro. You can win bets with experienced IC designers with this knowledge!

Solution:

Estimating Gm:

vmirr ≈−vi

2

vd ≈ gmvi

(ro

2

)io ≈−

vx

ro− vd

ro

≈ vi

2ro− gm

2vi

Gm ≈−gm

2

Estimating Ro

Ro ≈ ro||ro +

1gm

1+gmro|| ro + ro

1+gmro

≈ ro||1

gm|| 2

gm

≈ 23gm

≈ 12gm

if you ignore the additional ro on the non-diode connected branch

Rubric: (4 Points)

• +1: Correct Gm estimate with correct sign

• +1: Correct Ro estimate (using 23gm

is acceptable)

• +2: Correct gain with correct sign

UCB EE 140/240A, Spring 2020, Homework 6 23