2.1 the inverting configuration - ku ittcjstiles/412/handouts/2.2 the...ar v v rr ar ⎛⎞−...

47
2/13/2011 section 2_2 The inverting configuration 1/2 Jim Stiles The Univ. of Kansas Dept. of EECS 2.1 The Inverting Configuration Reading Assignment: pp. 68-76 One use of op-amps is to make amplifiers! This seems rather obvious, but remember—an op-amp by itself has too much gain to be practical! Thus, the op-amp is but one element in our amplifier design. The resulting amplifier will be very different from the op-amp itself—do not confuse the op-amp with the amplifier! In this section, we will consider the inverting amplifier—an amplifier constructed with 2 resistors and one op-amp. HO: ANALYSIS OF THE INVERTING AMPLIFIER The inverting amplifier uses feedback—we close a loop! HO: CLOSED-LOOP AND OPEN-LOOP GAIN The result of this feedback is the virtual short. HO: THE VIRTUAL SHORT Let’s determine the input and output resistances of the inverting amp!

Upload: others

Post on 13-Aug-2020

6 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 section 2_2 The inverting configuration 1/2

Jim Stiles The Univ. of Kansas Dept. of EECS

2.1 The Inverting Configuration

Reading Assignment: pp. 68-76

One use of op-amps is to make amplifiers! This seems rather obvious, but remember—an op-amp by itself has too much gain to be practical! Thus, the op-amp is but one element in our amplifier design. The resulting amplifier will be very different from the op-amp itself—do not confuse the op-amp with the amplifier! In this section, we will consider the inverting amplifier—an amplifier constructed with 2 resistors and one op-amp.

HO: ANALYSIS OF THE INVERTING AMPLIFIER The inverting amplifier uses feedback—we close a loop!

HO: CLOSED-LOOP AND OPEN-LOOP GAIN The result of this feedback is the virtual short.

HO: THE VIRTUAL SHORT Let’s determine the input and output resistances of the inverting amp!

Page 2: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 section 2_2 The inverting configuration 2/2

Jim Stiles The Univ. of Kansas Dept. of EECS

HO: RIN AND ROUT OF THE INVERTING AMP Make sure that your feedback is negative!

HO: FEEDBACK STABILITY Another important application of the inverting configuration is the weighted summer.

HO: THE WEIGHTED SUMMER

Page 3: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 1/12

Jim Stiles The Univ. of Kansas Dept. of EECS

Analysis of the Inverting Amplifier

Consider an inverting amplifier: Note that we use here the new notation 2v v+ = and 1v v− = .

i- =0

+

- vin ocoutv ideal

R2

R1 v-

v+

i1 id

i2

2v+ −

1v+ −

Page 4: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 2/12

Jim Stiles The Univ. of Kansas Dept. of EECS

Pay attention to your TA! Now what is the open-circuit voltage gain of this inverting amplifier? Let’s start the analysis by writing down all that we know. First, the op-amp equation:

( )ocout opv A v v+ −= −

Since the non-inverting terminal is grounded (i.e., v+ =0):

ocout opv A v−= −

i- =0

+

- vin ocoutv ideal

R2

R1 v-

v+

i1

i2

2v+ −

1v+ −

Page 5: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 3/12

Jim Stiles The Univ. of Kansas Dept. of EECS

First some KCL… Now let’s apply our circuit knowledge to the remainder of the amplifier circuit. For example, we can use KCL to determine that:

1 2i i i−= +

However, we know that the input current i- of an ideal op-amp is zero, as the input resistance is infinitely large. Thus, we reach the conclusion that: 1 2i i=

i- =0

+

- vin ocoutv ideal

R2

R1 v-

v+

i1

i2

2v+ −

1v+ −

Page 6: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 4/12

Jim Stiles The Univ. of Kansas Dept. of EECS

And then some Ohm’s law… Likewise, we know from Ohm’s Law:

11

1

viR

=

and also that: 2

22

viR

=

And so combining: 1 2

1 2

v vR R

=

i- =0

+

- vin ocoutv ideal

R2

R1 v-

v+

i1

i2

2v+ −

1v+ −

Page 7: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 5/12

Jim Stiles The Univ. of Kansas Dept. of EECS

Followed by KVL… Finally, from KCL we can conclude:

1 1in inv v v v v v− −− = ⇒ = − In other “words”, we start at a potential of inv volts (with respect to ground), we drop a potential of 1v volts, and now we are at a potential of v− volts (with respect to ground).

i- =0 vin

ocoutv ideal

R2

R1 v-

v+

i1

i2

2v+ −

1v+ −

+

-

Page 8: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 6/12

Jim Stiles The Univ. of Kansas Dept. of EECS

And yet another KVL… Likewise, we start at a potential of of v− volts (with respect to ground), we drop a potential of 2v volts, and now we are at a potential of oc

outv volts (with respect to ground).

2 2oc ocout outv v v v v v− −− = ⇒ = −

i- =0 vin

ocoutv ideal

R2

R1 v-

v+

i1

i2

2v+ −

1v+ −

+

-

Page 9: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 7/12

Jim Stiles The Univ. of Kansas Dept. of EECS

The feed-back equation Combining these last three equations, we find:

1 2

ocin outv v v v

R R− −− −=

Now rearranging, we get what is known as the feed-back equation:

2 1

1 2

ocin outR v R vvR R−

+=

+

Note the feed-back equation relates v− in terms of output oc

outv .

i- =0

+

- vin ocoutv ideal

R2

R1 v-

v+

i1

i2

2v+ −

1v+ −

Page 10: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 8/12

Jim Stiles The Univ. of Kansas Dept. of EECS

The feed-forward equation We can combine this feed-back equation with the op-amp equation:

ocout opv v A−= −

This op-amp equation is likewise referred to as the feed-forward equation. Note this equation relates the output oc

outv in terms of v− . We can combine the feed-back and feed-forward equations to determine an expression involving only input voltage vin and output voltage oc

outv :

2 1

1 2

oc ocin out out

op

R v R v vR R A+

= −+

Page 11: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 9/12

Jim Stiles The Univ. of Kansas Dept. of EECS

…and the open-circuit voltage gain appears! Rearranging this expression, we can determine the output voltage oc

outv in terms of input voltage vin :

( )2

1 2 1

opocout in

op

A Rv v

R R A R⎛ ⎞−

= ⎜ ⎟⎜ ⎟+ +⎝ ⎠

and thus the open-circuit voltage gain of the inverting amplifier is:

( )2

1 2 1

ocopout

voin op

A RvAv R R A R

⎛ ⎞−= = ⎜ ⎟⎜ ⎟+ +⎝ ⎠

Recall that the voltage gain A of an ideal op-amp is very large—approaching infinity. Thus the open-circuit voltage gain of the inverting amplifier is:

( )2

1 2 1

2

1

limop

opvo A op

A RA

R R A RRR

→∞

⎛ ⎞−= ⎜ ⎟⎜ ⎟+ +⎝ ⎠−

=

Page 12: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 10/12

Jim Stiles The Univ. of Kansas Dept. of EECS

Summarizing Summarizing, we find that for the inverting amplifier:

2

1

2

1

vo

ocout in

RAR

Rv vR

−=

⎛ ⎞−= ⎜ ⎟⎝ ⎠

i- =0

+

- vin ocoutv ideal

R2

R1 v-

v+

i1

i2

2v+ −

1v+ −

Page 13: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 11/12

Jim Stiles The Univ. of Kansas Dept. of EECS

The non-inverting terminal is at ground potential

One last thing. Let’s use this final result to determine the value of v-, the voltage at the inverting terminal of the op-amp. Recall:

2 1

1 2

ocin outR v R vvR R−

+=

+

Inserting the equation: 2

1

ocout in

Rv vR

⎛ ⎞−= ⎜ ⎟⎝ ⎠

we find: 2

2 11

1 2

2 2

1 2

0

i in

in in

RR v R vRvR R

R v R vR R

−⎛ ⎞+ ⎜ ⎟⎝ ⎠=+

−=

+=

The voltage at the inverting terminal of the op-amp is zero!

Page 14: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Analysis of the Inverting Amplifier lecture 12/12

Jim Stiles The Univ. of Kansas Dept. of EECS

The logic behind the virtual short Thus, since the non-inverting terminal is grounded (v2 = 0), we find that:

and 0v v v v− + + −= ∴ − =

Recall that this should not surprise us. We know that if op-amp gain Aop is infinitely large, its output oc

outv will also be infinitely large (can you say saturation?), unless v+ - v- is infinitely small. We find that the actual value of v+ - v- to be:

2

1

ocout

inop op

v Rv v vA A R+ −

−− = =

a number which approaches zero as opA →∞ !

Page 15: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Closed and Open Loop Gain lecture 1/5

Jim Stiles The Univ. of Kansas Dept. of EECS

Closed-Loop and Open-Loop Gain

Consider the inverting amplifier—a feedback amplifier constructed with an op-amp: The open-circuit voltage gain of this amplifier:

2

1vo

RAR−

=

is also referred to by engineers the closed loop gain of the feedback amplifier.

+

- vin ocoutv ideal

R2

R1 v-

v+

Page 16: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Closed and Open Loop Gain lecture 2/5

Jim Stiles The Univ. of Kansas Dept. of EECS

A closed loop

Q: Closed loop? What does that mean? A: The term “closed loop” refers to loop formed by the feed-forward path and the feed-back (i.e., feedback) path of the amplifier.

In this case, the feed-forward path is formed by the op-amp, while the feed-back path is formed by the feedback resistor R2.

+

- vin ocoutv ideal

R2

R1 v-

v+

Feed-back Path

Feed-forward Path

Closed-Loop

Page 17: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Closed and Open Loop Gain lecture 3/5

Jim Stiles The Univ. of Kansas Dept. of EECS

An open loop If the loop is broken, then we say the loop is “open”. The gain ( o iv v ) for the open loop case is referred to as the open-loop gain.

i1

i2

+

- vin ocoutv ideal

R2

R1 v-

v+

Open-Loop

Page 18: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Closed and Open Loop Gain lecture 4/5

Jim Stiles The Univ. of Kansas Dept. of EECS

Open and closed loop gains For example, in the circuit we know that:

( )1 2

1 1

0

00

ocout op

in

vv A v vi iv v i R

+

+ −

=

= −

= == − =

Combining, we find the open-loop gain of this amplifier to be:

ocout

open opin

vA Av

= = −

Once we “close” the loop, we have an amplifier with a closed-loop gain:

2

1

ocout

closedin

v RAv R

= = −

which of course is the open-circuit voltage gain of this inverting amplifier.

i1

i2

+

- vin ocoutv ideal

R2

R1 v-

v+

Page 19: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Closed and Open Loop Gain lecture 5/5

Jim Stiles The Univ. of Kansas Dept. of EECS

Feedback is a wonderful thing Note that the closed-loop gain ( 2 1R R− ) does not explicitly involve the op-amp gain Aop.

* The closed-loop gain is determined by two resistor values, which typically are selected to provide significant gain ( 1voA > ), albeit not so large that the amplifier is easily saturated. * Conversely, the open-loop gain (-Aop) obviously does involve the op-amp gain. Moreover, as in this case, the open-loop gain of a feedback amplifier often only involves the op-amp gain! * As a result, the op-amp gain is often alternatively referred to as the open-loop gain.

Note that closing the feedback loop turns a generally useless amplifier (the gain is too high!) into a very useful one (the gain is just right)!

Page 20: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 The Virtual Short lecture 1/6

Jim Stiles The Univ. of Kansas Dept. of EECS

The Virtual Short For feedback amplifiers constructed with op-amps, we have found (and will continue to find) that the two op-amp terminals will always be approximately equal (v v− +≈ ). Of course, this must be true in order to avoid saturation, as the gain of an op-amp is ideally infinitely large. Since v v− +≈ for feedback applications, it appears that the two op-amp terminals are shorted together!

+

-

vo

v-

v+

“Virtual Short”

i−

i+

Page 21: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 The Virtual Short lecture 2/6

Jim Stiles The Univ. of Kansas Dept. of EECS

There is no short inside the op-amp! The condition in op-amp feedback amplifiers where 1 2v v= is known as the “virtual short”. Remember, although the two input terminal appear to be shorted together, they are most certainly not! If a true short were present, then current could flow from one terminal to the other (i.e., i i− += − ). However, we know that the input resistance of an op-amp is ideally infinite, and thus we know that the input current into an op-amp is zero. Therefore, it is not the op-amp that enforces the condition 1 2v v= , it is the feedback that makes this so!

v-

v+ +

-

vo open circuit

0i− =

0i+ =

Page 22: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 The Virtual Short lecture 3/6

Jim Stiles The Univ. of Kansas Dept. of EECS

The virtual short: your new BFF Applying the concept of a virtual short can greatly simplify the analysis of an op-amp feedback amplifier. For example, consider again the inverting amplifier:

0i− =

+

- vin ocoutv ideal

R2

R1 v-

v+ i1

i2

Page 23: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 The Virtual Short lecture 4/6

Jim Stiles The Univ. of Kansas Dept. of EECS

The virtual ground This time, we begin the analysis by applying the virtual short condition:

v v− +≅

Since the non-inverting terminal is grounded (v+ = 0), the virtual short means that the non-inverting terminal is likewise at zero potential (v- = 0)! We refer to this condition as a virtual ground.

+

- vin ocoutv ideal

R2

R1 0v− =

i1

i2

0v+ =

Page 24: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 The Virtual Short lecture 5/6

Jim Stiles The Univ. of Kansas Dept. of EECS

Isn’t this simpler? Analyzing the remainder of the circuit, we find:

1 2 2

11 1

22 2

0

in in

oc ocout out

i

i i i i

v v viR R

v v viR R

=

= + =

−= =

− −= =

Combining, we find:

1 2

ocin outv v

R R−

=

Rearranging, we again find the open-circuit, closed-loop voltage gain:

2

1

ocout

voin

v RAv R

−= =

+

- vin ocoutv ideal

R2

R1 0v− =

i1

i2

0v+ =

Page 25: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 The Virtual Short lecture 6/6

Jim Stiles The Univ. of Kansas Dept. of EECS

Your TA is even smarter than this guy!

Note this is exactly the result we found before, yet in this case we never considered the op-amp equation:

( )ocout opv A v v+ −= −

The virtual short equation (v v+ −= ) replaced the op-amp equation in our analysis of this feedback amplifier. Eeffectively, the two equations say the same thing (provided Aop is infinitely large, and we have negative feedback in the circuit).

Page 26: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 1/11

Jim Stiles The Univ. of Kansas Dept. of EECS

Rin and Rout of the Inverting Amplifier

Recall that the input resistance of an amplifier is:

inin

in

vRi

=

For the inverting amplifier, it is evident that the input current iin is equal to i1 :

+

- vin ocoutv

R2

R1 v-

v+ 1ini i=

i2

Page 27: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 2/11

Jim Stiles The Univ. of Kansas Dept. of EECS

Its input resistance From Ohm’s Law, we know that this current is:

11

1

inin

v vi iR−

= =

The non-inverting terminal is “connected” to virtual ground:

0v− =

and thus the input current is:

11

inin

vi iR

= =

We now can determine the input resistance:

11

inin in

in in

v RR v Ri v

⎛ ⎞= = =⎜ ⎟

⎝ ⎠

The input resistance of this inverting amplifier is therefore 1inR R= !

+

- vin ocoutv

R2

R1 v-

v+ 1ini i=

i2

Page 28: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 3/11

Jim Stiles The Univ. of Kansas Dept. of EECS

Output resistance is harder Now, let’s attempt to determine the output resistance Rout. Recall that we need to determine two values: the short-circuit output current ( )sc

outi and the open-circuit output voltage( )ocoutv .

To accomplish this, we must replace the op-amp in the circuit with its linear circuit model:

( )opA v v+ −− +

- vin

R2

R1 v-

v+

1ii i=

i2

+ -

scouti

opoutR

opouti

0outv =

Page 29: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 4/11

Jim Stiles The Univ. of Kansas Dept. of EECS

First, the short circuit output current From KCL, we find that:

2opsc

out outi i i= + where:

ocop out opop

out op opo o

A v v A vi

R R− −− − −

= =

and:

22 2

ocoutv v vi

R R− −−

= =

Therefore, the short-circuit output current is:

2

2 2

opop out op opsc

out op op opout out out

A v R R A Avi v vR R R R R

−−− −

⎛ ⎞−= − = ≅ −⎜ ⎟⎜ ⎟

⎝ ⎠

( )opA v v+ −− +

- vin

R2

R1 v-

v+

1ii i=

i2

+ -

scouti

opoutR

opouti

0outv =

Page 30: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 5/11

Jim Stiles The Univ. of Kansas Dept. of EECS

Now, the open circuit output voltage The open-circuit output voltage can likewise be determined in terms of Aop and v- . Here, it is evident that since iout = 0:

2op

outi i= − where we find from Ohm’s Law:

22 2

( ) 1op opop op

out out

v A v Ai v

R R R R− −

− − +⎛ ⎞= = ⎜ ⎟+ +⎝ ⎠

iout =0

( )opA v v+ −− +

- vin

R2

R1 v-

v+

1ii i=

i2

+ -

+ ocoutv

-

opoutR

opouti

Page 31: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 6/11

Jim Stiles The Univ. of Kansas Dept. of EECS

The open-circuit output voltage Now from KVL:

2 2ocoutv v R i−= −

Inserting the expression for 2i :

( )2

2

22

2 2

2

2

2

2

1

1

opocout op

out

opopout

op opout out

opo op

opout

opop

out

Av v R v

R RR AR R v

R R R R

R R Av

R RR A

vR R

− −

+⎛ ⎞= − ⎜ ⎟+⎝ ⎠⎛ ⎞++⎜ ⎟= −⎜ ⎟+ +⎝ ⎠⎛ ⎞−

= ⎜ ⎟⎜ ⎟+⎝ ⎠

≅ −+

iout =0

( )opA v v+ −− +

- vin

R2

R1 v-

v+

1ii i=

i2

+ -

+ ocoutv

-

opoutR

opouti

Page 32: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 7/11

Jim Stiles The Univ. of Kansas Dept. of EECS

Now we find the output resistance Now, we can find the output resistance of this amplifier:

12

2

2

2

2

ocout

out scout

op opop op

o oop

oop

oop

o

vRi

R A AR R RR R

R RR R

=

− −⎛ ⎞⎛ ⎞= ⎜ ⎟⎜ ⎟+⎝ ⎠ ⎝ ⎠

=+

=

In other words, the inverting amplifier output resistance is simply equal to the value of the feedback resistor R2 in parallel with op-amp output resistance op

outR .

Page 33: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 8/11

Jim Stiles The Univ. of Kansas Dept. of EECS

This is zero if the op-amp is ideal Ideally, of course, the op-amp output resistance is zero, so that the output resistance of the inverting amplifier is likewise zero:

2

2 00

opout outR R R

R=

==

Note for this case—where the output resistance is zero—the output voltage will be the same, regardless of what load is attached at the output (e.g., regardless of outi )!

( )opA v v+ −− +

- vin

R2

R1 v-

v+

1ii i=

i2

+ -

+ 2

1

Rout inRv v= −

-

opouti

0outi ≠

Page 34: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 9/11

Jim Stiles The Univ. of Kansas Dept. of EECS

For real op-amps the output resistance is small

Thus, if 0outR = , then the output voltage is equal to the open-circuit output voltage—even when the output is not open circuited:

2

1out in

Rv vR

= − for all outi !!

Recall that it is this property that made 0outR = an “ideal” amplifier characteristic. We will find that real (i.e., non-ideal!) op-amps typically have an output resistance that is very small ( 2

opoutR R ), so that the inverting amplifier output

resistance is approximately equal to the op-amp output resistance:

2op

out outop

out

R R RR

=

Page 35: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 10/11

Jim Stiles The Univ. of Kansas Dept. of EECS

A summary Summarizing, we have found that for the inverting amplifier:

1

(ideally zero)

in

opout out

R R

R R

=

Thus, this inverting amplifier…

( )outv t+

R2

R1 ( )ini t

( )outi t

+

-

( )inv t+

Page 36: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/13/2011 Ri and Ro of the Inverting Amplifier lecture 11/11

Jim Stiles The Univ. of Kansas Dept. of EECS

The inverting amp equivalent circuit …has the equivalent circuit: Note the input resistance and open-circuit voltage gain of the inverting amplifier is VERY different from that of the op-amp itself!

1R

( )inv t+

( )ini t

( ) ( )2

1

RinR v t−

opoutR

( )out tv+

( )outi t

+

Page 37: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 1/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Feedback Stability Recall that for the inverting amp: we have the feed-forward equation:

ocout opv A v−= −

and the feed-back equation:

2 1

1 2

ocin outR v R vvR R−

+=

+

+

- vin ocoutv ideal

R2

R1 v-

v+ i1

i2

Page 38: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 2/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Nothing more fun than calculus! Taking derivatives of these equations, we find that:

( )ocopout

op

A vv Av v

− −

∂ −∂= = −

∂ ∂

and:

2 1 1

1 2 1 2

ocin out

oc ocout out

v R v R v Rv v R R R R

− ⎛ ⎞∂ +∂= =⎜ ⎟∂ ∂ + +⎝ ⎠

These derivatives are very important in determining the stability of the feedback amplifier.

Page 39: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 3/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Feed-forward To see this, consider what happens when, for some reason, v- changes some small value v−Δ from its nominal value of v- =0. The output voltage will then likewise change by a value oc

outvΔ :

1

ococ outout op

vv v A vv −−

⎛ ⎞∂Δ ≈ Δ = − Δ⎜ ⎟∂⎝ ⎠

Note if v−Δ is positive, then oc

outvΔ will be negative—an increase in v- leads to a decrease in oc

outv . This describes the feed-forward portion of the “loop.”

Page 40: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 4/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Feed-back The feed-back equation states that a small change in the output voltage (i.e.,

ocoutvΔ ), will likewise result in a small change in v- :

1

1 2

oc ocout outoc

out

v Rv v vv R R

−−

⎛ ⎞ ⎛ ⎞∂Δ ≈ Δ = Δ⎜ ⎟ ⎜ ⎟∂ +⎝ ⎠⎝ ⎠

Note in this case, a decreasing output voltage will result in a decreasing inverting terminal voltage v-. Thus, if the inverting terminal voltage tries to increase from its correct value of v1 =0, the control loop will react by decreasing the voltage v1 —essentially counteracting the initial change!

Page 41: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 5/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Negative feedback-in this case it’s a good thing!

Note that the loop product:

1

1 2

ocout

opocout

v v RAv v R R

⎛ ⎞∂ ∂= − ⎜ ⎟∂ ∂ +⎝ ⎠

is a negative value; we refer to this case as negative feedback. Negative feedback keeps the inverting voltage in place (i.e., v- =0)—it “enforces” the concept of the virtual ground!

Page 42: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 6/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Let’s try some positive feedback Contrast this behavior with that of the following circuit: Q: Isn’t this precisely the same circuit as before?

A: NO! Note that the feedback resistor is now connected to the non-inverting terminal, and the inverting terminal is now grounded.

-

+ vin ocoutv ideal

R2

R1 v+

v- i1

i2

Page 43: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 7/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Positive derivatives! The feed-forward equations for this circuit are thus:

ocout opv A v+=

And so: ( )oc

opoutop

A vv Av v

+

+ +

∂∂= =

∂ ∂

while the feed-back equations are:

2 1

1 2

ocin outR v R vvR R+

+=

+

and:

2 1 1

1 2 1 2

ocin out

oc ocout out

v R v R v Rv v R R R R

+ ⎛ ⎞∂ +∂= =⎜ ⎟∂ ∂ + +⎝ ⎠

Note in this case, both derivatives are positive.

-

+ vin ocoutv ideal

R2

R1 v+

v- i1

i2

Page 44: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

3/10/2011 Feedback Stability lecture.doc 8/8

Jim Stiles The Univ. of Kansas Dept. of EECS

Positive feedback-in this case it’s a bad thing!

This means that an increase in v+ will lead to an increase in oc

outv . The problem is that the feedback will react by increasing v+ even more—the error is not corrected, it is instead reinforced!

The result is that the output voltage will be sent to oc

outv = ∞ or ocoutv = −∞ (i.e.,

the amplifier will saturate). Note that the loop product for this case is positive:

1

1 2

ocout

opocout

v v RAv v R R

+

+

⎛ ⎞∂ ∂= ⎜ ⎟∂ ∂ +⎝ ⎠

Thus, we refer to this case as positive feedback.

Positive feedback typically leads to amplifier instability! As a result, we find that the feed-back portion of an op-amp circuit almost always is connected to its inverting (-) terminal!

Page 45: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/16/2011 The Weighted Summer lecture 1/3

Jim Stiles The Univ. of Kansas Dept. of EECS

The Weighted Summer Consider an inverting amplifier with multiple inputs! From KCL, we can conclude that the currents are related as:

1 2 3i i i i= + + and because of virtual ground ( 0i i− += = ), we can conclude from Ohm’s Law:

1 11

1 1

v v viR R

−−= = 2 2

22 2

v v viR R

−−= = 3 3

33 3

v v viR R

−−= =

+

-

v3

vout ideal

Rf R1 v1

v2

i1

i2

i3

R2

R3

i

Page 46: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/16/2011 The Weighted Summer lecture 2/3

Jim Stiles The Univ. of Kansas Dept. of EECS

The output voltage Likewise:

out out

f f

v v viR R

− − −= =

Inserting these results into the initial KCL expression:

31 2

1 2 3

out

f

v vv vR R R R−

= + +

Now, we sprinkle on some algebraic pixie dust, and find the output voltage:

1 2 31 2 3

f f fout

R R Rv v v vR R R

= − − −

The output is thus a weighted summation of each of the input signals! We therefore refer to this circuit as the weighted summer.

+

-

v3

vout ideal

Rf R1 v1

v2

i1

i2

i3

R2

R3

i

Page 47: 2.1 The Inverting Configuration - KU ITTCjstiles/412/handouts/2.2 The...AR v v RR AR ⎛⎞− =⎜⎟ ⎜⎟++ ⎝⎠ and thus the open-circuit voltage gain of the inverting amplifier

2/16/2011 The Weighted Summer lecture 3/3

Jim Stiles The Univ. of Kansas Dept. of EECS

How to combine signals Note that if 1 2 3fR R R R= = = , the output is an unweighted summer:

( ) ( ) ( ) ( )( )1 2 3outv t v t v t v t= − + +

For example, if:

( ) ( )1 2.0cos 2v t πt π= +

( ) ( )32 1.0cos 2 πv t πt= +

( ) ( )43 1.5cos 2 πv t πt= −

then:

( ) ( ) ( ) ( )3 42.0cos 2 1.0cos 2 1.5cos 2outv t t t t= − + − + − −π ππ π π π

The summer is a method for combining several signals!