lecture 2: non-ideal amps and op-ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf ·...

22
Department of EECS University of California, Berkeley Prof. Ali M. Niknejad Lecture 2: Non-Ideal Amps and Op-Amps

Upload: others

Post on 18-Feb-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

Department of EECS University of California, Berkeley

Prof. Ali M. Niknejad

Lecture 2: Non-Ideal Amps and Op-Amps

Page 2: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

2

Practical Op-Amps

z Linear Imperfections:– Finite open-loop gain (A0 < ∞ )– Finite input resistance (Ri < ∞ )– Non-zero output resistance (Ro > 0 )– Finite bandwidth / Gain-BW Trade-Off

z Other (non-linear) imperfections:– Slew rate limitations– Finite swing– Offset voltage– Input bias and offset currents– Noise and distortion

Page 3: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

3

Simple Model of Amplifier

z Input capacitance and output capacitance are addedz Any amplifier has input capacitance due to

transistors and packaging / board parasiticsz Output capacitance is usually dominated by the

load– Driving cables or a board trace– Intrinsic capacitance of actuator

Page 4: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

4

Transfer Function

z Using the concept of impedance, it’s easy to derive the transfer function

Page 5: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

5

Operational Transconductance Amp

z Also known as an “OTA”– If we “chop off” the output stage of an op-amp, we get

an OTAz An OTA is essentially a Gm amplifier. It has a

current output, so if we want to drive a load resistor, we need an output stage (buffer)

z Many op-amps are internally constructed from an OTA + buffer

Page 6: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

6

Op-Amp Model

z The following model closely resembles the insides of an op-amp.

z The input OTA stage drives a high Z node to generate a very large voltage gain.

z The output buffer then can drive a low impedance load and preserve the high voltage gain

Page 7: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

7

Op-Amp Gain / Bandwidth

z The dominant frequency response of the op-amp is due to the time constant formed at the high-Z node

z An interesting observation is that the gain-bandwidth product depends on Gm and Cx only

Page 8: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

8

Preview: Driving Capacitive Loads

z In many situations, the load is capacitor rather than a resistor

z For such cases, we can directly use an OTA (rather than a full op-amp) and the gain / bandwidth product are now determined by the load capacitance

Page 9: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

9

OTA Power Consumption

z For a fixed load, the current consumption of the OTA is fixed by the gain/bandwidth requirement, assuming load dominates

z Gm scales with current, so driving a larger capacitance requires more power

CL ≫Cx

Page 10: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

10

Gain/Bandwidth Trade-off

Page 11: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

11

Open-Loop Frequency Response

A( jw)= A0

1+ jw /wb

A0 : dc gainwb : 3dB frequencywt = A0wb : unity-gain bandwidth(or "gain-bandwidth product")

For high frequency, w >>wb

A( jw)= wt

jw

Single pole response with a dominant pole at ωb

Page 12: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

12

Bandwidth Extension

z Suppose the core amplifier is single pole with bandwidth:

z When used feedback, the overall transfer function is given by

Page 13: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

13

Gain / Bandwidth Product in Feedback

z Even though the bandwidth expanded by (1+T), the gain drops by the same factor. So overall the gain-bandwidth (GBW) product is constant

z The GBW product depends only the the Gm of the op-amp and the Cx internal capacitance (or load in the case of an OTA)

Page 14: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

14

Unity Gain Frequency

z The GBW product is also known as the unity gain frequency.

z To see this, consider the frequency at which the gain drops to unity

Page 15: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

15

Unity Gain Feedback Amplifier

z An amplifier that has a feedback factor f=1, such as a unity gain buffer, has the full GBW product frequency range

Page 16: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

16

Closed-Loop Op Amp

Page 17: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp
Page 18: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

17

Frequency Response of Closed-Loop Inverting Amplifier Example

Same unity-gain frequency: ftR2

R1

f3dB »A0

R2 / R1

fb

Page 19: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

18

Non-Dominant Poles

z As we have seen, poles in the system tend to make an amplifier less stable. A single pole cannot do harm since it has a maximum phase shift of 90°

z A second pole in the system is not affected by feedback (prove this) and it will add phase shift as the frequency approaches this second pole

z For this reason, non-dominant poles should be at a much higher frequency than the unity-gain frequency

Page 20: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

19

Positive Feedback

z Positive Feedback is also usefulz We can create a comparator circuit with hysteresisz Also, as long as T < 1, we can get stable gain … instead

of reducing the gain (negative feedback), positive feedback enhances the gain.

z In theory we can boost the gain to any desired level simply by making T close to unity:

z ε is a very small number– In practice if the gain varies over process / temperature /

voltage, then the circuit can go stable and oscillate– Positive feedback also has a narrow-banding effect

Page 21: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

20

Back to Circuit Model

z Here’s the equivalent circuit for an amplifier with feedback

Page 22: Lecture 2: Non-Ideal Amps and Op-Ampsrfic.eecs.berkeley.edu/105/pdf/module1-3_ann_1.pdf · 2017-02-10 · Op-Amp Model zThe following model closely resembles the insides of an op-amp

EE 105 Fall 2016 Prof. A. M. Niknejad

21

Circuit Interpretation

z Here we see the action of the feedback is to lower the impedance seen by the Gm by the loop gain, which expands the bandwidth by the same factor