ECE2262 Electric Circuits Chapter 4: Operational Amplifier...

Preview:

Citation preview

1

ECE2262 Electric Circuits

Chapter 4: Operational Amplifier (OP-AMP) Circuits

2

4.1 Operational Amplifiers

3

4. Voltages and currents in electrical circuits may represent signals and circuits can perform mathematical operations on these signals such as:

scaling (amplification) !

signal follower (buffer) !

inverting ! addition and subtraction !

differentiation and integration Op- Amps provide solutions to all these problems

4

An operational amplifier ("op-amp") is a DC-coupled high-gain electronic voltage amplifier with a differential input and, usually, a single-ended output. In this configuration, an op-amp produces an output potential (relative to circuit ground) that is typically hundreds of thousands of times larger than the potential difference between its input terminals.

5

4.2 Op-Amp Terminals

!i+

i"

=VCC

= "VCC

Terminals of Op Amp

• inverting input (! )• noninverting input (+ )• output • positive power supply (V + =VCC )• negative power supply (V ! = !VCC )

6

v+v!

i+

i!v0

Terminal Voltage Variables Terminal Current Variables

7

i+i!

v!v+

v0v+v!

The op amp with power supply terminals removed When the amplifier is operating within its linear region, the dc voltages ±VCC do not enter into the circuit equations

8

4.3 Op-Amp Characteristic and Circuit Models

The voltage transfer characteristic of an op amp

v+ ! v!

v0

v0 =

!VCC if A v+ ! v!( ) < !VCC

A v+ ! v!( ) if !VCC!A v+ ! v!( ) "VCCVCC if VCC < A v+ ! v!( )

#

$%%

&%%

9

v+ ! v!

v0

• typical values for VCC ! 20 V

• the gain A is no less than 10, 000 ! • in the linear region: v+ ! v! " 20 /104 = 2mV

10

v+ ! v!

v0

• in the linear region: v+ ! v! " 20 /104 = 2mV

• node voltages in the circuits we study are much larger than 2mV

• thus, if an op amp is constrained to its linear operation region we can assume that

v+ = v!

11

• An analysis of the op amp integrated circuit reveals that the equivalent resistance (Ri ) seen by the input terminals of the op amp is at least 1 M!

This implies that

i+ = i! = 0

12

The model of ideal op amp

i+ = 0

i! = 0

v!v+ = v!v+

v0

v+ = v! i+ = i! = 0

!10 < 6 <10

13

Example (a) Find v0 if va = 1 V, vb = 2 V. Assume ideal op amp

v+v!

i+i!

v0

• v+ = vb = 2V, since v+ = v! ! v! = vb = 2V

• i25 =va ! v!25k

= 1! 225k

= ! 125mA • i100 =

v0! v!100k

= v0! 2100

mA

• KCL at • : i25 + i100 ! i! = 0 ! i100 = !i25 ! v0! 2100

= 125

! v0 = 6V

!10 < 6 <10

14

(b) For va=1.5 specify the range of vb that avoids op amp saturation

v+

v!

i+i!

v0

Since i100 = !i25 !

v0! vb100k

= ! va ! vb25k

va=1.5

vb =15v0+ 6( )

The op amp is in the linear region if !10 " v0 "10 ! !0.8V " vb " 3.2V

15

The linear (more realistic) circuit model of the op amp

i+

i!

v+

v!

A v+! v!( )

v0

In the linear region of operation this model represents a more realistic approximation of an op amp. It includes: (1) a finite input resistance Ri , (2) a finite open-loop gain A , (3) a nonzero output resistance R0

16

v0 =VS

17

4.4 Voltage Follower and Noninverting Amplifier

A. Voltage Follower : Use the ideal op amp approximation

v+v!

i!

i+

!VS + i+RS + v+ = 0 ! v+ =VS ! v! =Vs ! negative feedback

! v0 = v! ! v0 =VS

v0 =VS

18

• Negative Feedback

The portion of the output voltage is applied to the inverting input. The closed loop feedback greatly reduces the gain of the circuit, i.e., when negative feedback is used, the circuit overall gain is determined mostly by the feedback network, rather than by the op-amp characteristic.

v0 =VS

19

•Ordinary circuits connection

RLV0 =

RLRS + RL

VS

Such a connection changes the behavior of the circuits, e.g., the voltage

V0 =RL

RS + RL

VS is reduced

20

• Connection of circuits through a voltage follower

RLV0 !VS

RL >> R0 /A

The voltage follower prevents “loading down” the source voltage, i.e., the entire source voltage VS appears across the load resistance RL . Hence, RL does not draw current from the source network (the current is supplied by the op-amp).Generally, the connection of one circuit to another through a voltage follower allows both circuits to continue to operate as designed.

21

B. The Noninverting Amplifier : Use the ideal op amp approximation

i!i+

v+v!

v0Rg

• Since i+ = 0 ! v+ = vg ! v! = vg

• VD: v! =Rs

Rs + Rf

v0 ! vg =Rs

Rs + Rf

v0 ! v0 =Rs + Rf

Rsvg

v0 = 1+Rf

Rs

!"#

$%&vg

22

v0 = 1+Rf

Rs

!"#

$%&vg

Operation in the linear region requires that

v0 !VCC ! 1+Rf

Rs! VCC

vg

A noninverting amplifier multiplies the input voltage vg by a gain 1+Rf

Rs

that is independent of the source resistance Rg . Hence, the gain remains unchanged when the circuits are terminated by an external load.

23

Example Find the output voltage when Rx = 60k!

v!

i!i+

v+v!

• KCL at •: ! v+Rx

! i+ +VS ! v+15k

= 0 ! v+115k

+ 1Rx

!"#

$%&= VS15k

! v+ = 320mV

• VD: v! =4.5k

63k + 4.5kv0 v! = v+( ) ! v0 =

67.5k4.5k

v+ = 4.8V

v0 = !Rf

Rsvs

24

4.5 Inverting Amplifier : assume an ideal op amp

i!

v! v+

• KCL at •: is + i f ! i! = 0

• v+ = 0 ! v! = v+ = 0 ! is =vsRs

and i f =v0 ! v!Rf

= v0Rf

• Since i! = 0 ! i f = !is ! v0 = !

Rf

Rsvs

v0 = !Rf

Rsvs

25

Inverting-amplifier equation

The upper limit on the gain Rf

Rs is determined by the power supply voltage VCC

and the value of the signal voltage vs :

v0 !VCC ! Rf

Rsvs !VCC !

Rf

Rs! VCC

vs

v0 = !Rf

Rsvs

26

If Rf is removed, the negative feedback path is opened and the amplifier is operating in open loop.

v!

Opening the feedback path drastically changes the behavior of the circuit. It can be shown (use the realistic model of op-amp) that the output voltage is v0 = !Av!

Hence, we can call A the open-loop gain of the op amp.

27

4.6 The Summing and Difference-Amplifier Circuits

A. The Summing-Amplifier Circuit

v!

i!•

• KCL at the inverting terminal: v! ! vaRa

+ v! ! vbRb

+ v! ! vcRc

+ v! ! v0Rf

+ i! = 0

• Since v+ = 0 ! v! = 0 and i! = 0 ! solving the above w.r.t. v0 we obtain

28

v0 = !

Rf

Rava +

Rf

Rbvb +

Rf

Rcvc

"#$

%&'

Inverting-summing amplifier equation

• If Ra = Rb = Rc = Rs ! v0 = !Rf

Rsva + vb + vc( )

• The scaling factors in summing-amplifier circuits are entirely determined by the external resistors: Rf ,Ra , Rb ,……,Rn .

29

Example (a) Find v0 if va = 0.1 V, vb = 0.25 V.

v+

v!•

• KCL at v! : v! ! va5k

+ v! ! vb25k

+ v! ! v0250k

= 0 (i! = 0, v! = 0)

• v0 = ! 50va +10vb{ } = -7.5 V

30

(b) If vb = 0.25 V, how large can va be before the op-amp saturates ?

v+

v!•

• From the previous in (a) solution we have v0 = ! 50va +10vb{ }

• v0 = ! 50va + 2.5{ } ! !10 " v0 "15 is satisfied if

!0.35V " va " 0.15V

31

B. The Difference -Amplifier Circuit

v!

v+

i!•

• KCL at v! : va ! v!Ra

+ v0 ! v!Rb

! i! = 0 ! va ! v!Ra

+ v0 ! v!Rb

= 0

• KCL at v+ : vb ! v+Rc

! v+Rd

! i+ = 0 ! vb ! v+Rc

! v+Rd

= 0 ! vb ! v!Rc

! v!Rd

= 0

32

va ! v!Ra

+ v0 ! v!Rb

= 0

vb ! v!Rc

! v!Rd

= 0

"

#$$

%$$

v0 =

RbRa

1+RaRb

!"#

$%&

RdRc + Rd

vb 'RbRava

33

If Rd = Rb and Rc = Ra !

v0 =RbRa

1+ RaRb

!"#

$%&

RdRc + Rd

vb 'RbRava = Rb

Ra1+ Ra

Rb

!"#

$%&

RbRa + Rb

vb 'RbRava

v!

v+

i!•

Rb

Ra v0 =RbRa

vb ! va( )

34

v!

v+

i!•

Rb

Ra v0 =RbRa

vb ! va( )

The scaling is controlled by the external resistors. The relationship between the output voltage and the input voltage is not affected by connecting a nonzero load resistance across the output of the amplifier.

35

Example

200 ! R

Since v! = v+ and i! = i+ = 0 then VD yields

v1 =R

6k + Rv0 ! Gain = v0

v1= 6k + R

R = 31 if R = 200 !

36

Example

v! = v+ =Vin , VD: Vin =R1

R1 + R2V0 ! V0 =

R1 + R2R1

Vin

! Gain = V0Vin

= 1+ R2R1

= 1+ 20k3.3k

= 7.06

V0 =Gain!Vin = 14.12 V ! I0 =V023.3k

= 14.1223.3k

= 606µA i! = 0

37

Example

VV

• KCL at v+ : v2 !VR2

! VRI

! i+ = 0 ! v2 !VR2

= VRI

! V =RI

RI + R2v2

38

• KCL at v! : v1 !VR1

+ v0 !VRF

! i! = 0 ! v1 !VR1

= V ! v0RF

!

! v0 = ! RFR1v1 + 1+ RF

R1

"#$

%&'V V =

RI

RI + R2v2

v0 = !RFR1v1 + 1+

RFR1

"#$

%&'

RI

RI + R2v2

Note: If RFR1

= RI

R2=! ! v0 =! v2 " v1( )

39

Summary: Signal Processing Circuits

40

41

42

43

If R1Rf

= R2Rg

then Vout =Rf

R1V2 !V1( )

44

4.7 Problems ! Set 5

Recommended