ee101: op amp circuits (part 1) - department of …sequel/ee101/ee101_opamp_1.pdfee101: op amp...

84
EE101: Op Amp circuits (Part 1) M. B. Patil [email protected] www.ee.iitb.ac.in/~sequel Department of Electrical Engineering Indian Institute of Technology Bombay M. B. Patil, IIT Bombay

Upload: vuongque

Post on 29-Mar-2018

231 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

EE101: Op Amp circuits (Part 1)

M. B. [email protected]

www.ee.iitb.ac.in/~sequel

Department of Electrical EngineeringIndian Institute of Technology Bombay

M. B. Patil, IIT Bombay

Page 2: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amps: introduction

* The Operational Amplifier (Op Amp) is a versatile building block that can beused for realizing several electronic circuits.

* The use of Op Amps frees the user from cumbersome details such as transistorbiasing and coupling capacitors.

* The characteristics of an Op Amp are nearly ideal → Op Amp circuits can beexpected to perform as per theoretical design in most cases.

* Amplifiers built with Op Amps work with DC input voltages as well → useful insensor applications (e.g., temperature, pressure)

* The user can generally carry out circuit design without a thorough knowledge ofthe intricate details (next slide) of an Op Amp. This makes the design processsimple.

* However, as Einstein has said, we should “make everything as simple as possible,but not simpler.” → need to know where the ideal world ends, and the real onebegins.

M. B. Patil, IIT Bombay

Page 3: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amps: introduction

* The Operational Amplifier (Op Amp) is a versatile building block that can beused for realizing several electronic circuits.

* The use of Op Amps frees the user from cumbersome details such as transistorbiasing and coupling capacitors.

* The characteristics of an Op Amp are nearly ideal → Op Amp circuits can beexpected to perform as per theoretical design in most cases.

* Amplifiers built with Op Amps work with DC input voltages as well → useful insensor applications (e.g., temperature, pressure)

* The user can generally carry out circuit design without a thorough knowledge ofthe intricate details (next slide) of an Op Amp. This makes the design processsimple.

* However, as Einstein has said, we should “make everything as simple as possible,but not simpler.” → need to know where the ideal world ends, and the real onebegins.

M. B. Patil, IIT Bombay

Page 4: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amps: introduction

* The Operational Amplifier (Op Amp) is a versatile building block that can beused for realizing several electronic circuits.

* The use of Op Amps frees the user from cumbersome details such as transistorbiasing and coupling capacitors.

* The characteristics of an Op Amp are nearly ideal → Op Amp circuits can beexpected to perform as per theoretical design in most cases.

* Amplifiers built with Op Amps work with DC input voltages as well → useful insensor applications (e.g., temperature, pressure)

* The user can generally carry out circuit design without a thorough knowledge ofthe intricate details (next slide) of an Op Amp. This makes the design processsimple.

* However, as Einstein has said, we should “make everything as simple as possible,but not simpler.” → need to know where the ideal world ends, and the real onebegins.

M. B. Patil, IIT Bombay

Page 5: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amps: introduction

* The Operational Amplifier (Op Amp) is a versatile building block that can beused for realizing several electronic circuits.

* The use of Op Amps frees the user from cumbersome details such as transistorbiasing and coupling capacitors.

* The characteristics of an Op Amp are nearly ideal → Op Amp circuits can beexpected to perform as per theoretical design in most cases.

* Amplifiers built with Op Amps work with DC input voltages as well → useful insensor applications (e.g., temperature, pressure)

* The user can generally carry out circuit design without a thorough knowledge ofthe intricate details (next slide) of an Op Amp. This makes the design processsimple.

* However, as Einstein has said, we should “make everything as simple as possible,but not simpler.” → need to know where the ideal world ends, and the real onebegins.

M. B. Patil, IIT Bombay

Page 6: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amps: introduction

* The Operational Amplifier (Op Amp) is a versatile building block that can beused for realizing several electronic circuits.

* The use of Op Amps frees the user from cumbersome details such as transistorbiasing and coupling capacitors.

* The characteristics of an Op Amp are nearly ideal → Op Amp circuits can beexpected to perform as per theoretical design in most cases.

* Amplifiers built with Op Amps work with DC input voltages as well → useful insensor applications (e.g., temperature, pressure)

* The user can generally carry out circuit design without a thorough knowledge ofthe intricate details (next slide) of an Op Amp. This makes the design processsimple.

* However, as Einstein has said, we should “make everything as simple as possible,but not simpler.” → need to know where the ideal world ends, and the real onebegins.

M. B. Patil, IIT Bombay

Page 7: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amps: introduction

* The Operational Amplifier (Op Amp) is a versatile building block that can beused for realizing several electronic circuits.

* The use of Op Amps frees the user from cumbersome details such as transistorbiasing and coupling capacitors.

* The characteristics of an Op Amp are nearly ideal → Op Amp circuits can beexpected to perform as per theoretical design in most cases.

* Amplifiers built with Op Amps work with DC input voltages as well → useful insensor applications (e.g., temperature, pressure)

* The user can generally carry out circuit design without a thorough knowledge ofthe intricate details (next slide) of an Op Amp. This makes the design processsimple.

* However, as Einstein has said, we should “make everything as simple as possible,but not simpler.” → need to know where the ideal world ends, and the real onebegins.

M. B. Patil, IIT Bombay

Page 8: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp 741

offset adjust

Q2Q1

Q3 Q4

Q5 Q6

Q7

Q8

Q9

Q10

Q11

Q12

Q13 Q14

Q15

Q16

Q17

Q18

Q19

Q20

Q21

Q23

Q22

Q24R1 R2R3R4

R6

R7

R8R9

R10

R5

OUT

CC

Actual circuit

OUT

Symbol

VCC

−VEE

−VEE

VCC

+ −

M. B. Patil, IIT Bombay

Page 9: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUTVo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

* The external resistances (∼ a few kΩ) are generally much larger than Ro andmuch smaller than Ri → we can assume Ri →∞, Ro → 0 without significantlyaffecting the analysis.

* VCC and −VEE (∼ ±5 V to ±15 V ) must be supplied; an Op Amp will not workwithout them!

In Op Amp circuits, the supply voltages are often not shown explicitly.

*

Parameter Ideal Op Amp 741

AV ∞ 105 (100 dB)

Ri ∞ 2 MΩ

Ro 0 75 Ω

M. B. Patil, IIT Bombay

Page 10: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUTVo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

* The external resistances (∼ a few kΩ) are generally much larger than Ro andmuch smaller than Ri → we can assume Ri →∞, Ro → 0 without significantlyaffecting the analysis.

* VCC and −VEE (∼ ±5 V to ±15 V ) must be supplied; an Op Amp will not workwithout them!

In Op Amp circuits, the supply voltages are often not shown explicitly.

*

Parameter Ideal Op Amp 741

AV ∞ 105 (100 dB)

Ri ∞ 2 MΩ

Ro 0 75 Ω

M. B. Patil, IIT Bombay

Page 11: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUTVo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

* The external resistances (∼ a few kΩ) are generally much larger than Ro andmuch smaller than Ri → we can assume Ri →∞, Ro → 0 without significantlyaffecting the analysis.

* VCC and −VEE (∼ ±5 V to ±15 V ) must be supplied; an Op Amp will not workwithout them!

In Op Amp circuits, the supply voltages are often not shown explicitly.

*

Parameter Ideal Op Amp 741

AV ∞ 105 (100 dB)

Ri ∞ 2 MΩ

Ro 0 75 Ω

M. B. Patil, IIT Bombay

Page 12: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUTVo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

* The external resistances (∼ a few kΩ) are generally much larger than Ro andmuch smaller than Ri → we can assume Ri →∞, Ro → 0 without significantlyaffecting the analysis.

* VCC and −VEE (∼ ±5 V to ±15 V ) must be supplied; an Op Amp will not workwithout them!

In Op Amp circuits, the supply voltages are often not shown explicitly.

*

Parameter Ideal Op Amp 741

AV ∞ 105 (100 dB)

Ri ∞ 2 MΩ

Ro 0 75 Ω

M. B. Patil, IIT Bombay

Page 13: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUTVo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

* The external resistances (∼ a few kΩ) are generally much larger than Ro andmuch smaller than Ri → we can assume Ri →∞, Ro → 0 without significantlyaffecting the analysis.

* VCC and −VEE (∼ ±5 V to ±15 V ) must be supplied; an Op Amp will not workwithout them!

In Op Amp circuits, the supply voltages are often not shown explicitly.

*

Parameter Ideal Op Amp 741

AV ∞ 105 (100 dB)

Ri ∞ 2 MΩ

Ro 0 75 Ω

M. B. Patil, IIT Bombay

Page 14: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUT

linearsaturation saturation

10

5

0

−5

−10 −10

0

5

−5

10

saturation

linear

saturation

0−5 5

−0.2 −0.1 0 0.1 0.2

Vo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

−Vsat

Vsat

slope = AV

Vi (V)

Vo(V

)

Vo(V

)

Vi (mV)

* The output voltage Vo is limited to ±Vsat, where Vsat ∼ 1.5 V less than VCC .

* For −Vsat < Vo < Vsat, Vi = V+ − V− = Vo/AV , which is very small→ V+ and V− are virtually the same.

M. B. Patil, IIT Bombay

Page 15: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUT

linearsaturation saturation

10

5

0

−5

−10 −10

0

5

−5

10

saturation

linear

saturation

0−5 5

−0.2 −0.1 0 0.1 0.2

Vo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

−Vsat

Vsat

slope = AV

Vi (V)

Vo(V

)

Vo(V

)

Vi (mV)

* The output voltage Vo is limited to ±Vsat, where Vsat ∼ 1.5 V less than VCC .

* For −Vsat < Vo < Vsat, Vi = V+ − V− = Vo/AV , which is very small→ V+ and V− are virtually the same.

M. B. Patil, IIT Bombay

Page 16: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp: equivalent circuit

OUT

linearsaturation saturation

10

5

0

−5

−10 −10

0

5

−5

10

saturation

linear

saturation

0−5 5

−0.2 −0.1 0 0.1 0.2

Vo VoVi Vi

AV Vi AV Vi

Ro

−VEE

VCC

Ri

−Vsat

Vsat

slope = AV

Vi (V)

Vo(V

)

Vo(V

)

Vi (mV)

* The output voltage Vo is limited to ±Vsat, where Vsat ∼ 1.5 V less than VCC .

* For −Vsat < Vo < Vsat, Vi = V+ − V− = Vo/AV , which is very small→ V+ and V− are virtually the same.

M. B. Patil, IIT Bombay

Page 17: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits

10

−10

−5

5

OUT

saturation

linear

saturation

0

0−5 5

VoVi

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

* Broadly, Op Amp circuits can be divided into two categories:

- Op Amp operating in the linear region

- Op Amp operating in the saturation region

* Whether an Op Amp in a given circuit will operate in linear or saturation region

depends on

- input voltage magnitude

- type of feedback (negative or positive)

(We will take a qualitative look at feedback later.)

M. B. Patil, IIT Bombay

Page 18: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits

10

−10

−5

5

OUT

saturation

linear

saturation

0

0−5 5

VoVi

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

* Broadly, Op Amp circuits can be divided into two categories:

- Op Amp operating in the linear region

- Op Amp operating in the saturation region

* Whether an Op Amp in a given circuit will operate in linear or saturation region

depends on

- input voltage magnitude

- type of feedback (negative or positive)

(We will take a qualitative look at feedback later.)

M. B. Patil, IIT Bombay

Page 19: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits

10

−10

−5

5

OUT

saturation

linear

saturation

0

0−5 5

VoVi

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

* Broadly, Op Amp circuits can be divided into two categories:

- Op Amp operating in the linear region

- Op Amp operating in the saturation region

* Whether an Op Amp in a given circuit will operate in linear or saturation region

depends on

- input voltage magnitude

- type of feedback (negative or positive)

(We will take a qualitative look at feedback later.)

M. B. Patil, IIT Bombay

Page 20: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits

10

−10

−5

5

OUT

saturation

linear

saturation

0

0−5 5

VoVi

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

* Broadly, Op Amp circuits can be divided into two categories:

- Op Amp operating in the linear region

- Op Amp operating in the saturation region

* Whether an Op Amp in a given circuit will operate in linear or saturation region

depends on

- input voltage magnitude

- type of feedback (negative or positive)

(We will take a qualitative look at feedback later.)

M. B. Patil, IIT Bombay

Page 21: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits

10

−10

−5

5

OUT

saturation

linear

saturation

0

0−5 5

VoVi

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

* Broadly, Op Amp circuits can be divided into two categories:

- Op Amp operating in the linear region

- Op Amp operating in the saturation region

* Whether an Op Amp in a given circuit will operate in linear or saturation region

depends on

- input voltage magnitude

- type of feedback (negative or positive)

(We will take a qualitative look at feedback later.)

M. B. Patil, IIT Bombay

Page 22: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits

10

−10

−5

5

OUT

saturation

linear

saturation

0

0−5 5

VoVi

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

* Broadly, Op Amp circuits can be divided into two categories:

- Op Amp operating in the linear region

- Op Amp operating in the saturation region

* Whether an Op Amp in a given circuit will operate in linear or saturation region

depends on

- input voltage magnitude

- type of feedback (negative or positive)

(We will take a qualitative look at feedback later.)

M. B. Patil, IIT Bombay

Page 23: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits

10

−10

−5

5

OUT

saturation

linear

saturation

0

0−5 5

VoVi

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

* Broadly, Op Amp circuits can be divided into two categories:

- Op Amp operating in the linear region

- Op Amp operating in the saturation region

* Whether an Op Amp in a given circuit will operate in linear or saturation region

depends on

- input voltage magnitude

- type of feedback (negative or positive)

(We will take a qualitative look at feedback later.)

M. B. Patil, IIT Bombay

Page 24: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

10

−10

−5

5saturation

linear

saturation

0OUT

0−5 5

VoVi

iin

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

In the linear region,

* V+ − V− = Vo/AV , which is very small

→ V+ ≈ V−

* Since Ri is typically much larger than other resistances in the circuit,we can assume Ri →∞ .

→ iin ≈ 0

These two “golden rules” enable us to understand several Op Amp circuits.

M. B. Patil, IIT Bombay

Page 25: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

10

−10

−5

5saturation

linear

saturation

0OUT

0−5 5

VoVi

iin

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

In the linear region,

* V+ − V− = Vo/AV , which is very small

→ V+ ≈ V−

* Since Ri is typically much larger than other resistances in the circuit,we can assume Ri →∞ .

→ iin ≈ 0

These two “golden rules” enable us to understand several Op Amp circuits.

M. B. Patil, IIT Bombay

Page 26: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

10

−10

−5

5saturation

linear

saturation

0OUT

0−5 5

VoVi

iin

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

In the linear region,

* V+ − V− = Vo/AV , which is very small

→ V+ ≈ V−

* Since Ri is typically much larger than other resistances in the circuit,we can assume Ri →∞ .

→ iin ≈ 0

These two “golden rules” enable us to understand several Op Amp circuits.

M. B. Patil, IIT Bombay

Page 27: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

10

−10

−5

5saturation

linear

saturation

0OUT

0−5 5

VoVi

iin

AV Vi

Ro

−VEE

VCC

Ri

Vsat

−Vsat

Vi (V)

Vo(V

)

In the linear region,

* V+ − V− = Vo/AV , which is very small

→ V+ ≈ V−

* Since Ri is typically much larger than other resistances in the circuit,we can assume Ri →∞ .

→ iin ≈ 0

These two “golden rules” enable us to understand several Op Amp circuits.

M. B. Patil, IIT Bombay

Page 28: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 29: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 30: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 31: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 32: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 33: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 34: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 35: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

ii

RL

R2

R1Vi

Vo

i1

ii

RL

R2

R1

i1

Vi

Vo

Since V+ ≈ V−, V− ≈ 0 V → i1 = (Vi − 0)/R = Vi/R .

(The non-inverting input is at real ground here, and the inverting input is atvirtual ground.)

Since ii (current entering the Op Amp) is zero, i1 goes through R2 .

→ Vo = V− − i1 R2 = 0−„

Vi

R1

«R2 = −

„R2

R1

«Vi .

The circuit is called an “inverting amplifier.”

Where does the current go?

M. B. Patil, IIT Bombay

Page 36: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k5

0

−5

0t (msec)

0.5 1 1.5 2

RL

R2

R1

Vm = 0.5 V

f = 1 kHz

Vi

Vo Vi

Vo

Vi,V

o(V

olts

)

* The gain of the inverting amplifier is −R2/R1. It is called the “closed-loop gain”(to distinguish it from the “open-loop gain” of the Op Amp which is ∼ 105).

* The gain can be adjusted simply by changing R1 or R2 !

* For the common-emitter amplifier, on the other hand, the gain −gm (RC ‖ RL)depends on how the BJT is biased (since gm depends on IC ).

(SEQUEL file: ee101 inv amp 1.sqproj)

M. B. Patil, IIT Bombay

Page 37: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k5

0

−5

0t (msec)

0.5 1 1.5 2

RL

R2

R1

Vm = 0.5 V

f = 1 kHz

Vi

Vo Vi

Vo

Vi,V

o(V

olts

)

* The gain of the inverting amplifier is −R2/R1. It is called the “closed-loop gain”(to distinguish it from the “open-loop gain” of the Op Amp which is ∼ 105).

* The gain can be adjusted simply by changing R1 or R2 !

* For the common-emitter amplifier, on the other hand, the gain −gm (RC ‖ RL)depends on how the BJT is biased (since gm depends on IC ).

(SEQUEL file: ee101 inv amp 1.sqproj)

M. B. Patil, IIT Bombay

Page 38: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k5

0

−5

0t (msec)

0.5 1 1.5 2

RL

R2

R1

Vm = 0.5 V

f = 1 kHz

Vi

Vo Vi

Vo

Vi,V

o(V

olts

)

* The gain of the inverting amplifier is −R2/R1. It is called the “closed-loop gain”(to distinguish it from the “open-loop gain” of the Op Amp which is ∼ 105).

* The gain can be adjusted simply by changing R1 or R2 !

* For the common-emitter amplifier, on the other hand, the gain −gm (RC ‖ RL)depends on how the BJT is biased (since gm depends on IC ).

(SEQUEL file: ee101 inv amp 1.sqproj)

M. B. Patil, IIT Bombay

Page 39: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k5

0

−5

0t (msec)

0.5 1 1.5 2

RL

R2

R1

Vm = 0.5 V

f = 1 kHz

Vi

Vo Vi

Vo

Vi,V

o(V

olts

)

* The gain of the inverting amplifier is −R2/R1. It is called the “closed-loop gain”(to distinguish it from the “open-loop gain” of the Op Amp which is ∼ 105).

* The gain can be adjusted simply by changing R1 or R2 !

* For the common-emitter amplifier, on the other hand, the gain −gm (RC ‖ RL)depends on how the BJT is biased (since gm depends on IC ).

(SEQUEL file: ee101 inv amp 1.sqproj)

M. B. Patil, IIT Bombay

Page 40: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k5

0

−5

0t (msec)

0.5 1 1.5 2

RL

R2

R1

Vm = 0.5 V

f = 1 kHz

Vi

Vo Vi

Vo

Vi,V

o(V

olts

)

* The gain of the inverting amplifier is −R2/R1. It is called the “closed-loop gain”(to distinguish it from the “open-loop gain” of the Op Amp which is ∼ 105).

* The gain can be adjusted simply by changing R1 or R2 !

* For the common-emitter amplifier, on the other hand, the gain −gm (RC ‖ RL)depends on how the BJT is biased (since gm depends on IC ).

(SEQUEL file: ee101 inv amp 1.sqproj)

M. B. Patil, IIT Bombay

Page 41: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k15

0

−15

0t (msec)

0.5 1 1.5 2

RL

R2

R1Vi

Vm = 2V

f = 1 kHz

Vo

Vo

Vi

Vi,V

o(V

olts

)

* The output voltage is limited to ±Vsat.

* Vsat is ∼ 1.5 V less than the supply voltage VCC .

M. B. Patil, IIT Bombay

Page 42: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k15

0

−15

0t (msec)

0.5 1 1.5 2

RL

R2

R1Vi

Vm = 2V

f = 1 kHz

Vo

Vo

Vi

Vi,V

o(V

olts

)

* The output voltage is limited to ±Vsat.

* Vsat is ∼ 1.5 V less than the supply voltage VCC .

M. B. Patil, IIT Bombay

Page 43: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

1 k

10 k15

0

−15

0t (msec)

0.5 1 1.5 2

RL

R2

R1Vi

Vm = 2V

f = 1 kHz

Vo

Vo

Vi

Vi,V

o(V

olts

)

* The output voltage is limited to ±Vsat.

* Vsat is ∼ 1.5 V less than the supply voltage VCC .

M. B. Patil, IIT Bombay

Page 44: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

10

0

10 k

1 k

20 40 60 80

0

−10

RL

R2

R1Vi

Vm = 1V

f = 25 kHz

VoVi

Vo

Vo (expected)

Vi,V

o(V

olts

)

t (µsec)

* If the signal frequency is too high, a practical Op Amp cannot keep up with theinput due to its “slew rate” limitation.

* The slew rate of an Op Amp is the maximum rate at which the Op Amp outputcan rise (or fall).

* For the 741, the slew rate is 0.5 V /µsec.

(SEQUEL file: ee101 inv amp 2.sqproj)

M. B. Patil, IIT Bombay

Page 45: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

10

0

10 k

1 k

20 40 60 80

0

−10

RL

R2

R1Vi

Vm = 1V

f = 25 kHz

VoVi

Vo

Vo (expected)

Vi,V

o(V

olts

)

t (µsec)

* If the signal frequency is too high, a practical Op Amp cannot keep up with theinput due to its “slew rate” limitation.

* The slew rate of an Op Amp is the maximum rate at which the Op Amp outputcan rise (or fall).

* For the 741, the slew rate is 0.5 V /µsec.

(SEQUEL file: ee101 inv amp 2.sqproj)

M. B. Patil, IIT Bombay

Page 46: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

10

0

10 k

1 k

20 40 60 80

0

−10

RL

R2

R1Vi

Vm = 1V

f = 25 kHz

VoVi

Vo

Vo (expected)

Vi,V

o(V

olts

)

t (µsec)

* If the signal frequency is too high, a practical Op Amp cannot keep up with theinput due to its “slew rate” limitation.

* The slew rate of an Op Amp is the maximum rate at which the Op Amp outputcan rise (or fall).

* For the 741, the slew rate is 0.5 V /µsec.

(SEQUEL file: ee101 inv amp 2.sqproj)

M. B. Patil, IIT Bombay

Page 47: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

10

0

10 k

1 k

20 40 60 80

0

−10

RL

R2

R1Vi

Vm = 1V

f = 25 kHz

VoVi

Vo

Vo (expected)

Vi,V

o(V

olts

)

t (µsec)

* If the signal frequency is too high, a practical Op Amp cannot keep up with theinput due to its “slew rate” limitation.

* The slew rate of an Op Amp is the maximum rate at which the Op Amp outputcan rise (or fall).

* For the 741, the slew rate is 0.5 V /µsec.

(SEQUEL file: ee101 inv amp 2.sqproj)

M. B. Patil, IIT Bombay

Page 48: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

10

0

10 k

1 k

20 40 60 80

0

−10

RL

R2

R1Vi

Vm = 1V

f = 25 kHz

VoVi

Vo

Vo (expected)

Vi,V

o(V

olts

)

t (µsec)

* If the signal frequency is too high, a practical Op Amp cannot keep up with theinput due to its “slew rate” limitation.

* The slew rate of an Op Amp is the maximum rate at which the Op Amp outputcan rise (or fall).

* For the 741, the slew rate is 0.5 V /µsec.

(SEQUEL file: ee101 inv amp 2.sqproj)

M. B. Patil, IIT Bombay

Page 49: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

Circuit 1 Circuit 2

RL RL

R2R2

R1R1 ViVi

VoVo

What if the + (non-inverting) and − (inverting) inputs of the Op Amp areinterchanged?

Our previous analysis would once again give us Vo = −R2

R1Vi .

However, from Circuit 1 to Circuit 2, the nature of the feedback changes fromnegative to positive.

→ Our assumption that the Op Amp is working in the linear region does not hold for

Circuit 2, and Vo = −R2

R1Vi does not apply any more.

(Circuit 2 is also useful, and we will discuss it later.)

M. B. Patil, IIT Bombay

Page 50: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

Circuit 1 Circuit 2

RL RL

R2R2

R1R1 ViVi

VoVo

What if the + (non-inverting) and − (inverting) inputs of the Op Amp areinterchanged?

Our previous analysis would once again give us Vo = −R2

R1Vi .

However, from Circuit 1 to Circuit 2, the nature of the feedback changes fromnegative to positive.

→ Our assumption that the Op Amp is working in the linear region does not hold for

Circuit 2, and Vo = −R2

R1Vi does not apply any more.

(Circuit 2 is also useful, and we will discuss it later.)

M. B. Patil, IIT Bombay

Page 51: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

Circuit 1 Circuit 2

RL RL

R2R2

R1R1 ViVi

VoVo

What if the + (non-inverting) and − (inverting) inputs of the Op Amp areinterchanged?

Our previous analysis would once again give us Vo = −R2

R1Vi .

However, from Circuit 1 to Circuit 2, the nature of the feedback changes fromnegative to positive.

→ Our assumption that the Op Amp is working in the linear region does not hold for

Circuit 2, and Vo = −R2

R1Vi does not apply any more.

(Circuit 2 is also useful, and we will discuss it later.)

M. B. Patil, IIT Bombay

Page 52: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits: inverting amplifier

Circuit 1 Circuit 2

RL RL

R2R2

R1R1 ViVi

VoVo

What if the + (non-inverting) and − (inverting) inputs of the Op Amp areinterchanged?

Our previous analysis would once again give us Vo = −R2

R1Vi .

However, from Circuit 1 to Circuit 2, the nature of the feedback changes fromnegative to positive.

→ Our assumption that the Op Amp is working in the linear region does not hold for

Circuit 2, and Vo = −R2

R1Vi does not apply any more.

(Circuit 2 is also useful, and we will discuss it later.)

M. B. Patil, IIT Bombay

Page 53: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

RL

R2

R1

i1

ViVo

* V+ ≈ V− = Vi

→ i1 = (0− Vi )/R1 = −Vi/R1 .

* Vo = V+ − i1 R2 = Vi −„−Vi

R1

«R2 = Vi

„1 +

R2

R1

«.

* This circuit is known as the “non-inverting amplifier.”

* Again, interchanging + and − changes the nature of the feedback from negativeto positive, and the circuit operation becomes completely different.

M. B. Patil, IIT Bombay

Page 54: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

RL

R2

R1

i1

ViVo

* V+ ≈ V− = Vi

→ i1 = (0− Vi )/R1 = −Vi/R1 .

* Vo = V+ − i1 R2 = Vi −„−Vi

R1

«R2 = Vi

„1 +

R2

R1

«.

* This circuit is known as the “non-inverting amplifier.”

* Again, interchanging + and − changes the nature of the feedback from negativeto positive, and the circuit operation becomes completely different.

M. B. Patil, IIT Bombay

Page 55: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

RL

R2

R1

i1

ViVo

* V+ ≈ V− = Vi

→ i1 = (0− Vi )/R1 = −Vi/R1 .

* Vo = V+ − i1 R2 = Vi −„−Vi

R1

«R2 = Vi

„1 +

R2

R1

«.

* This circuit is known as the “non-inverting amplifier.”

* Again, interchanging + and − changes the nature of the feedback from negativeto positive, and the circuit operation becomes completely different.

M. B. Patil, IIT Bombay

Page 56: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

RL

R2

R1

i1

ViVo

* V+ ≈ V− = Vi

→ i1 = (0− Vi )/R1 = −Vi/R1 .

* Vo = V+ − i1 R2 = Vi −„−Vi

R1

«R2 = Vi

„1 +

R2

R1

«.

* This circuit is known as the “non-inverting amplifier.”

* Again, interchanging + and − changes the nature of the feedback from negativeto positive, and the circuit operation becomes completely different.

M. B. Patil, IIT Bombay

Page 57: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

RL

R2

R1

i1

ViVo

* V+ ≈ V− = Vi

→ i1 = (0− Vi )/R1 = −Vi/R1 .

* Vo = V+ − i1 R2 = Vi −„−Vi

R1

«R2 = Vi

„1 +

R2

R1

«.

* This circuit is known as the “non-inverting amplifier.”

* Again, interchanging + and − changes the nature of the feedback from negativeto positive, and the circuit operation becomes completely different.

M. B. Patil, IIT Bombay

Page 58: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Inverting or non-inverting?

Inverting amplifier

Non−inverting amplifier

RL

RL

R2

R2

R1

R1

Vs

Vs

RL

RL

Vs

Vs

R1

R2i1

R1

R2

Vo

Vo

Vi

Vi

AV Vi

AV Vi

Ro

Ro

Ri

Ri

Vo = −R2

R1Vs

Vo =

(1 +

R2

R1

)Vs

* If the sign of the output voltage is not a concern, which configuration should bepreferred?

* For the inverting amplifier, since V− ≈ 0 V , i1 = Vs/R1 → Rin = Vs/i1 = R1 .

* For the non-inverting amplifier, Rin ∼ Ri of the Op Amp, which is a few MΩ.

→ Non-inverting amplifier is better if a large Rin is required.

M. B. Patil, IIT Bombay

Page 59: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Inverting or non-inverting?

Inverting amplifier

Non−inverting amplifier

RL

RL

R2

R2

R1

R1

Vs

Vs

RL

RL

Vs

Vs

R1

R2i1

R1

R2

Vo

Vo

Vi

Vi

AV Vi

AV Vi

Ro

Ro

Ri

Ri

Vo = −R2

R1Vs

Vo =

(1 +

R2

R1

)Vs

* If the sign of the output voltage is not a concern, which configuration should bepreferred?

* For the inverting amplifier, since V− ≈ 0 V , i1 = Vs/R1 → Rin = Vs/i1 = R1 .

* For the non-inverting amplifier, Rin ∼ Ri of the Op Amp, which is a few MΩ.

→ Non-inverting amplifier is better if a large Rin is required.

M. B. Patil, IIT Bombay

Page 60: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Inverting or non-inverting?

Inverting amplifier

Non−inverting amplifier

RL

RL

R2

R2

R1

R1

Vs

Vs

RL

RL

Vs

Vs

R1

R2i1

R1

R2

Vo

Vo

Vi

Vi

AV Vi

AV Vi

Ro

Ro

Ri

Ri

Vo = −R2

R1Vs

Vo =

(1 +

R2

R1

)Vs

* If the sign of the output voltage is not a concern, which configuration should bepreferred?

* For the inverting amplifier, since V− ≈ 0 V , i1 = Vs/R1 → Rin = Vs/i1 = R1 .

* For the non-inverting amplifier, Rin ∼ Ri of the Op Amp, which is a few MΩ.

→ Non-inverting amplifier is better if a large Rin is required.

M. B. Patil, IIT Bombay

Page 61: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Non-inverting amplifier

RL RL

R2

R1

Vi

Vo

Vi

Vo

Consider R1 →∞ , R2 → 0 .

Vo

Vi→ 1 +

R2

R1→ 1 , i.e., Vo = Vi .

This circuit is known as unity-gain amplifier/voltage follower/buffer.

What has been achieved?

M. B. Patil, IIT Bombay

Page 62: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Non-inverting amplifier

RL RL

R2

R1

Vi

Vo

Vi

Vo

Consider R1 →∞ , R2 → 0 .

Vo

Vi→ 1 +

R2

R1→ 1 , i.e., Vo = Vi .

This circuit is known as unity-gain amplifier/voltage follower/buffer.

What has been achieved?

M. B. Patil, IIT Bombay

Page 63: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Non-inverting amplifier

RL RL

R2

R1

Vi

Vo

Vi

Vo

Consider R1 →∞ , R2 → 0 .

Vo

Vi→ 1 +

R2

R1→ 1 , i.e., Vo = Vi .

This circuit is known as unity-gain amplifier/voltage follower/buffer.

What has been achieved?

M. B. Patil, IIT Bombay

Page 64: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Non-inverting amplifier

RL RL

R2

R1

Vi

Vo

Vi

Vo

Consider R1 →∞ , R2 → 0 .

Vo

Vi→ 1 +

R2

R1→ 1 , i.e., Vo = Vi .

This circuit is known as unity-gain amplifier/voltage follower/buffer.

What has been achieved?

M. B. Patil, IIT Bombay

Page 65: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Loading effects

Vs RL

Rs

VoVi

AV Vi

Ro

Ri

Consider an amplifier of gain AV . We would like to have Vo = AV Vs .

However, the actual output voltage is,

Vo =RL

Ro + RL× AV Vi = AV ×

RL

Ro + RL× Ri

Ri + RsVs .

To obtain the desired Vo , we need Ri →∞ and Ro → 0 .

The buffer (voltage follower) provides this feature (next slide).

M. B. Patil, IIT Bombay

Page 66: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Loading effects

Vs RL

Rs

VoVi

AV Vi

Ro

Ri

Consider an amplifier of gain AV . We would like to have Vo = AV Vs .

However, the actual output voltage is,

Vo =RL

Ro + RL× AV Vi = AV ×

RL

Ro + RL× Ri

Ri + RsVs .

To obtain the desired Vo , we need Ri →∞ and Ro → 0 .

The buffer (voltage follower) provides this feature (next slide).

M. B. Patil, IIT Bombay

Page 67: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Loading effects

Vs RL

Rs

VoVi

AV Vi

Ro

Ri

Consider an amplifier of gain AV . We would like to have Vo = AV Vs .

However, the actual output voltage is,

Vo =RL

Ro + RL× AV Vi = AV ×

RL

Ro + RL× Ri

Ri + RsVs .

To obtain the desired Vo , we need Ri →∞ and Ro → 0 .

The buffer (voltage follower) provides this feature (next slide).

M. B. Patil, IIT Bombay

Page 68: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Loading effects

Vs RL

Rs

VoVi

AV Vi

Ro

Ri

Consider an amplifier of gain AV . We would like to have Vo = AV Vs .

However, the actual output voltage is,

Vo =RL

Ro + RL× AV Vi = AV ×

RL

Ro + RL× Ri

Ri + RsVs .

To obtain the desired Vo , we need Ri →∞ and Ro → 0 .

The buffer (voltage follower) provides this feature (next slide).

M. B. Patil, IIT Bombay

Page 69: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp buffer

A

B

Op Amp

RL

Vs

RL

Vs

VoVi

AV Vi

R′

Ro

RiVo

* The current drawn from the source (Vs) is small (since Ri of the Op Amp islarge) → the buffer has a large input resistance.

* As we have seen earlier, AV is large → Vi ≈ 0 V → VA = VB = Vs .

* The resistance seen by RL is R′ ≈ Ro , which is small → the buffer has a smalloutput resistance. (To find R′, deactivate the input voltage source (Vs)→ AV Vi = 0 V .)

M. B. Patil, IIT Bombay

Page 70: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp buffer

A

B

Op Amp

RL

Vs

RL

Vs

VoVi

AV Vi

R′

Ro

RiVo

* The current drawn from the source (Vs) is small (since Ri of the Op Amp islarge) → the buffer has a large input resistance.

* As we have seen earlier, AV is large → Vi ≈ 0 V → VA = VB = Vs .

* The resistance seen by RL is R′ ≈ Ro , which is small → the buffer has a smalloutput resistance. (To find R′, deactivate the input voltage source (Vs)→ AV Vi = 0 V .)

M. B. Patil, IIT Bombay

Page 71: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp buffer

A

B

Op Amp

RL

Vs

RL

Vs

VoVi

AV Vi

R′

Ro

RiVo

* The current drawn from the source (Vs) is small (since Ri of the Op Amp islarge) → the buffer has a large input resistance.

* As we have seen earlier, AV is large → Vi ≈ 0 V → VA = VB = Vs .

* The resistance seen by RL is R′ ≈ Ro , which is small → the buffer has a smalloutput resistance. (To find R′, deactivate the input voltage source (Vs)→ AV Vi = 0 V .)

M. B. Patil, IIT Bombay

Page 72: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp buffer

bufferbuffer

source

amplifier

load

RL

Rs

Vs

Vi

AV Vi

Ro

Ri

i2

Vo1

i1

VoVo2

Since the buffer has a large input resistance, i1 ≈ 0 A,

and V+ (on the source side) = Vs → Vo1 = Vs .

Similarly, i2 ≈ 0 A, and Vo2 = AV Vs .

Finally, Vo = Vo2 = AV Vs , as desired, irresepective of RS and RL.

M. B. Patil, IIT Bombay

Page 73: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp buffer

bufferbuffer

source

amplifier

load

RL

Rs

Vs

Vi

AV Vi

Ro

Ri

i2

Vo1

i1

VoVo2

Since the buffer has a large input resistance, i1 ≈ 0 A,

and V+ (on the source side) = Vs → Vo1 = Vs .

Similarly, i2 ≈ 0 A, and Vo2 = AV Vs .

Finally, Vo = Vo2 = AV Vs , as desired, irresepective of RS and RL.

M. B. Patil, IIT Bombay

Page 74: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp buffer

bufferbuffer

source

amplifier

load

RL

Rs

Vs

Vi

AV Vi

Ro

Ri

i2

Vo1

i1

VoVo2

Since the buffer has a large input resistance, i1 ≈ 0 A,

and V+ (on the source side) = Vs → Vo1 = Vs .

Similarly, i2 ≈ 0 A, and Vo2 = AV Vs .

Finally, Vo = Vo2 = AV Vs , as desired, irresepective of RS and RL.

M. B. Patil, IIT Bombay

Page 75: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp buffer

bufferbuffer

source

amplifier

load

RL

Rs

Vs

Vi

AV Vi

Ro

Ri

i2

Vo1

i1

VoVo2

Since the buffer has a large input resistance, i1 ≈ 0 A,

and V+ (on the source side) = Vs → Vo1 = Vs .

Similarly, i2 ≈ 0 A, and Vo2 = AV Vs .

Finally, Vo = Vo2 = AV Vs , as desired, irresepective of RS and RL.

M. B. Patil, IIT Bombay

Page 76: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

V− ≈ V+ = 0 V → i1 = Vi1/R1, i1 = Vi2/R2, i1 = Vi3/R3 .

i = i1 + i2 + i3 =

„Vi1

R1+

Vi2

R2+

Vi3

R3

«.

Because of the large input resistance of the Op Amp, ii ≈ 0→ if = i , which gives,

Vo = V− − if Rf = 0−„

Vi1

R1+

Vi2

R2+

Vi3

R3

«Rf = −

„Rf

R1Vi1 +

Rf

R2Vi2 +

Rf

R3Vi3

«,

i.e., Vo is a weighted sum of Vi1, Vi2, Vi3.

If R1 = R2 = R3 = R , the circuit acts as a summer, giving

Vo = −K (Vi1 + Vi2 + Vi3) with K = Rf /R .

M. B. Patil, IIT Bombay

Page 77: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

V− ≈ V+ = 0 V → i1 = Vi1/R1, i1 = Vi2/R2, i1 = Vi3/R3 .

i = i1 + i2 + i3 =

„Vi1

R1+

Vi2

R2+

Vi3

R3

«.

Because of the large input resistance of the Op Amp, ii ≈ 0→ if = i , which gives,

Vo = V− − if Rf = 0−„

Vi1

R1+

Vi2

R2+

Vi3

R3

«Rf = −

„Rf

R1Vi1 +

Rf

R2Vi2 +

Rf

R3Vi3

«,

i.e., Vo is a weighted sum of Vi1, Vi2, Vi3.

If R1 = R2 = R3 = R , the circuit acts as a summer, giving

Vo = −K (Vi1 + Vi2 + Vi3) with K = Rf /R .

M. B. Patil, IIT Bombay

Page 78: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

V− ≈ V+ = 0 V → i1 = Vi1/R1, i1 = Vi2/R2, i1 = Vi3/R3 .

i = i1 + i2 + i3 =

„Vi1

R1+

Vi2

R2+

Vi3

R3

«.

Because of the large input resistance of the Op Amp, ii ≈ 0→ if = i , which gives,

Vo = V− − if Rf = 0−„

Vi1

R1+

Vi2

R2+

Vi3

R3

«Rf = −

„Rf

R1Vi1 +

Rf

R2Vi2 +

Rf

R3Vi3

«,

i.e., Vo is a weighted sum of Vi1, Vi2, Vi3.

If R1 = R2 = R3 = R , the circuit acts as a summer, giving

Vo = −K (Vi1 + Vi2 + Vi3) with K = Rf /R .

M. B. Patil, IIT Bombay

Page 79: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

V− ≈ V+ = 0 V → i1 = Vi1/R1, i1 = Vi2/R2, i1 = Vi3/R3 .

i = i1 + i2 + i3 =

„Vi1

R1+

Vi2

R2+

Vi3

R3

«.

Because of the large input resistance of the Op Amp, ii ≈ 0→ if = i , which gives,

Vo = V− − if Rf = 0−„

Vi1

R1+

Vi2

R2+

Vi3

R3

«Rf = −

„Rf

R1Vi1 +

Rf

R2Vi2 +

Rf

R3Vi3

«,

i.e., Vo is a weighted sum of Vi1, Vi2, Vi3.

If R1 = R2 = R3 = R , the circuit acts as a summer, giving

Vo = −K (Vi1 + Vi2 + Vi3) with K = Rf /R .

M. B. Patil, IIT Bombay

Page 80: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

V− ≈ V+ = 0 V → i1 = Vi1/R1, i1 = Vi2/R2, i1 = Vi3/R3 .

i = i1 + i2 + i3 =

„Vi1

R1+

Vi2

R2+

Vi3

R3

«.

Because of the large input resistance of the Op Amp, ii ≈ 0→ if = i , which gives,

Vo = V− − if Rf = 0−„

Vi1

R1+

Vi2

R2+

Vi3

R3

«Rf = −

„Rf

R1Vi1 +

Rf

R2Vi2 +

Rf

R3Vi3

«,

i.e., Vo is a weighted sum of Vi1, Vi2, Vi3.

If R1 = R2 = R3 = R , the circuit acts as a summer, giving

Vo = −K (Vi1 + Vi2 + Vi3) with K = Rf /R .

M. B. Patil, IIT Bombay

Page 81: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Op Amp circuits (linear region)

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

V− ≈ V+ = 0 V → i1 = Vi1/R1, i1 = Vi2/R2, i1 = Vi3/R3 .

i = i1 + i2 + i3 =

„Vi1

R1+

Vi2

R2+

Vi3

R3

«.

Because of the large input resistance of the Op Amp, ii ≈ 0→ if = i , which gives,

Vo = V− − if Rf = 0−„

Vi1

R1+

Vi2

R2+

Vi3

R3

«Rf = −

„Rf

R1Vi1 +

Rf

R2Vi2 +

Rf

R3Vi3

«,

i.e., Vo is a weighted sum of Vi1, Vi2, Vi3.

If R1 = R2 = R3 = R , the circuit acts as a summer, giving

Vo = −K (Vi1 + Vi2 + Vi3) with K = Rf /R .

M. B. Patil, IIT Bombay

Page 82: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Summer example

SEQUEL file: ee101_summer.sqproj

1.2

0.6

0

−0.6

−1

−2

−3

t (msec) 0 1 2 3 4

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

R1 = R2 = R3 = 1 kΩ

Rf = 2 kΩ

→ Vo = −2 (Vi1 + Vi2 + Vi3)

Vi2

Vi1

Vi3

Vo

* Note that the summer also works with DC inputs. This is true about theinverting and non-inverting amplifiers as well.

* Op Amps make life simpler! Think of adding voltages in any other way.

M. B. Patil, IIT Bombay

Page 83: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Summer example

SEQUEL file: ee101_summer.sqproj

1.2

0.6

0

−0.6

−1

−2

−3

t (msec) 0 1 2 3 4

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

R1 = R2 = R3 = 1 kΩ

Rf = 2 kΩ

→ Vo = −2 (Vi1 + Vi2 + Vi3)

Vi2

Vi1

Vi3

Vo

* Note that the summer also works with DC inputs. This is true about theinverting and non-inverting amplifiers as well.

* Op Amps make life simpler! Think of adding voltages in any other way.

M. B. Patil, IIT Bombay

Page 84: EE101: Op Amp circuits (Part 1) - Department of …sequel/ee101/ee101_opamp_1.pdfEE101: Op Amp circuits (Part 1) M. B. Patil mbpatil@ee.iitb.ac.in sequel Department of Electrical Engineering

Summer example

SEQUEL file: ee101_summer.sqproj

1.2

0.6

0

−0.6

−1

−2

−3

t (msec) 0 1 2 3 4

Vi3

Vi2

Vi1

Vo

if

iii

RL

Rf

R3i3

R2i2

R1i1

R1 = R2 = R3 = 1 kΩ

Rf = 2 kΩ

→ Vo = −2 (Vi1 + Vi2 + Vi3)

Vi2

Vi1

Vi3

Vo

* Note that the summer also works with DC inputs. This is true about theinverting and non-inverting amplifiers as well.

* Op Amps make life simpler! Think of adding voltages in any other way.

M. B. Patil, IIT Bombay